aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2004-03-19 20:53:14 +0000
committerPJ Eby <distutils-sig@python.org>2004-03-19 20:53:14 +0000
commit8423e1ed14ac1691c2863c6e8cac9230cf558d7b (patch)
tree79f2d2cef146e08a9480357637cca4662307bd08 /setuptools/command/install.py
downloadexternal_python_setuptools-8423e1ed14ac1691c2863c6e8cac9230cf558d7b.tar.gz
external_python_setuptools-8423e1ed14ac1691c2863c6e8cac9230cf558d7b.tar.bz2
external_python_setuptools-8423e1ed14ac1691c2863c6e8cac9230cf558d7b.zip
Initial checkin of setuptools 0.0.1.
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040869
Diffstat (limited to 'setuptools/command/install.py')
-rw-r--r--setuptools/command/install.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/setuptools/command/install.py b/setuptools/command/install.py
new file mode 100644
index 00000000..82e7ebe8
--- /dev/null
+++ b/setuptools/command/install.py
@@ -0,0 +1,11 @@
+from distutils.command.install import install as _install
+
+class install(_install):
+ """Build dependencies before installation"""
+
+ def has_dependencies(self):
+ return self.distribution.has_dependencies()
+
+ sub_commands = [('depends',has_dependencies)] + _install.sub_commands
+
+