diff options
author | tarek@MacZiade-2.local <tarek@MacZiade-2.local> | 2009-08-04 01:51:24 +0200 |
---|---|---|
committer | tarek@MacZiade-2.local <tarek@MacZiade-2.local> | 2009-08-04 01:51:24 +0200 |
commit | b934c406ef9371ad36a23e608dcd752b8c311946 (patch) | |
tree | bd286a65bc2f012f2709e6d956e155d2a4bcd39f /setup.py | |
parent | 8d37ba24ed17b6531c86c42e22d178e1e50a22a2 (diff) | |
download | external_python_setuptools-b934c406ef9371ad36a23e608dcd752b8c311946.tar.gz external_python_setuptools-b934c406ef9371ad36a23e608dcd752b8c311946.tar.bz2 external_python_setuptools-b934c406ef9371ad36a23e608dcd752b8c311946.zip |
added a post install function that ensures setuptools is faked even if not previously present
--HG--
branch : distribute
extra : rebase_source : 3254ab2ca1f771dd24a6d93a28ca87ca375fe65b
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -16,10 +16,10 @@ scripts = [] # if we are installing Distribute using "python setup.py install" # we need to get setuptools out of the way if 'install' in sys.argv[1:]: - from bootstrap import fake_setuptools - fake_setuptools() + from bootstrap import before_install + before_install() -setup( +dist = setup( name="distribute", version=VERSION, description="Download, build, install, upgrade, and uninstall Python " @@ -99,3 +99,8 @@ setup( Topic :: Utilities""".splitlines() if f.strip()], scripts = scripts, ) +if 'install' in sys.argv[1:]: + from bootstrap import after_install + after_install(dist) + + |