diff options
author | pje <pje@571e12c6-e1fa-0310-aee7-ff1267fa46bd> | 2004-03-10 00:41:56 +0000 |
---|---|---|
committer | pje <pje@571e12c6-e1fa-0310-aee7-ff1267fa46bd> | 2004-03-10 00:41:56 +0000 |
commit | 4a244bf842b51afb3f94078d1d629d33089750a8 (patch) | |
tree | b01799f0072022d2620cc7a1cf1e728e20ac962d /setuptools/command/install.py | |
parent | 097b7f1a823c7b800dbb0a624e56205fe926692e (diff) | |
download | wsgiref-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.py | 11 |
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 + + |