diff options
author | tarek <none@none> | 2009-08-08 21:10:11 +0200 |
---|---|---|
committer | tarek <none@none> | 2009-08-08 21:10:11 +0200 |
commit | 96f2536dcc1056dffa72f0877f1683b6633440f0 (patch) | |
tree | 19b9e79451aca738677aa72cf67a444a97be61c6 /virtual-python.py | |
parent | def1a4f577242d326a93268c2851e2b3f48c5329 (diff) | |
download | external_python_setuptools-96f2536dcc1056dffa72f0877f1683b6633440f0.tar.gz external_python_setuptools-96f2536dcc1056dffa72f0877f1683b6633440f0.tar.bz2 external_python_setuptools-96f2536dcc1056dffa72f0877f1683b6633440f0.zip |
bootstrapping.py -> distribute_setup.py
--HG--
branch : distribute
extra : rebase_source : 4e57a0bc1a8bea73bc8ed0f102d0e0907c554235
Diffstat (limited to 'virtual-python.py')
-rwxr-xr-x | virtual-python.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/virtual-python.py b/virtual-python.py index 8d705588..73ef4122 100755 --- a/virtual-python.py +++ b/virtual-python.py @@ -45,21 +45,21 @@ def main(): return parser = optparse.OptionParser() - + parser.add_option('-v', '--verbose', action='count', dest='verbose', default=0, help="Increase verbosity") - + parser.add_option('--prefix', dest="prefix", default='~', help="The base directory to install to (default ~)") - + parser.add_option('--clear', dest='clear', action='store_true', help="Clear out the non-root install and start from scratch") - + parser.add_option('--no-site-packages', dest='no_site_packages', action='store_true', help="Don't copy the contents of the global site-packages dir to the " "non-root site-packages") - + options, args = parser.parse_args() global verbose @@ -74,7 +74,7 @@ def main(): verbose = options.verbose assert not args, "No arguments allowed" - + if options.clear: rmtree(lib_dir) rmtree(inc_dir) @@ -115,9 +115,9 @@ def main(): print 'Please make sure you remove any previous custom paths from' print "your", pydistutils, "file." - print "You're now ready to download bootstrapping.py, and run" - print py_executable, "bootstrapping.py" - + print "You're now ready to download distribute_setup.py, and run" + print py_executable, "distribute_setup.py" + if __name__ == '__main__': main() |