From 4a244bf842b51afb3f94078d1d629d33089750a8 Mon Sep 17 00:00:00 2001 From: pje Date: Wed, 10 Mar 2004 00:41:56 +0000 Subject: 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 --- setuptools/command/install.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 setuptools/command/install.py (limited to 'setuptools/command/install.py') 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 + + -- cgit v1.2.1