summaryrefslogtreecommitdiff
path: root/setuptools/command/install.py
diff options
context:
space:
mode:
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 0000000..82e7ebe
--- /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
+
+