summaryrefslogtreecommitdiff
path: root/setuptools/command/install.py
diff options
context:
space:
mode:
authorpje <pje@571e12c6-e1fa-0310-aee7-ff1267fa46bd>2004-03-10 00:41:56 +0000
committerpje <pje@571e12c6-e1fa-0310-aee7-ff1267fa46bd>2004-03-10 00:41:56 +0000
commit4a244bf842b51afb3f94078d1d629d33089750a8 (patch)
treeb01799f0072022d2620cc7a1cf1e728e20ac962d /setuptools/command/install.py
parent097b7f1a823c7b800dbb0a624e56205fe926692e (diff)
downloadwsgiref-4a244bf842b51afb3f94078d1d629d33089750a8.tar.gz
Added skeleton 'depends' command, that will check/install dependencies.
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@240 571e12c6-e1fa-0310-aee7-ff1267fa46bd
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
+
+