diff options
author | PJ Eby <distutils-sig@python.org> | 2004-03-19 20:53:14 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2004-03-19 20:53:14 +0000 |
commit | 8423e1ed14ac1691c2863c6e8cac9230cf558d7b (patch) | |
tree | 79f2d2cef146e08a9480357637cca4662307bd08 /setuptools/command/depends.py | |
download | external_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/depends.py')
-rw-r--r-- | setuptools/command/depends.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/setuptools/command/depends.py b/setuptools/command/depends.py new file mode 100644 index 00000000..e149faca --- /dev/null +++ b/setuptools/command/depends.py @@ -0,0 +1,27 @@ +from distutils.cmd import Command +import os + +class depends(Command): + """Download and install dependencies, if needed""" + + description = "download and install dependencies, if needed" + + user_options = [ + ('temp=', 't', + "directory where dependencies will be downloaded and built"), + ('ignore-extra-args', 'i', + "ignore options that won't be passed to child setup scripts"), + ] + + def initialize_options(self): + self.temp = None + self.install_purelib = self.install_platlib = None + self.install_lib = self.install_libbase = None + self.install_scripts = self.install_data = self.install_headers = None + self.compiler = self.debug = self.force = None + + def finalize_options(self): + self.set_undefined_options('build',('build_temp', 'temp')) + + def run(self): + self.announce("downloading and building here") |