summaryrefslogtreecommitdiff
path: root/ez_setup.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-06-09 17:56:34 +0000
committerPJ Eby <distutils-sig@python.org>2006-06-09 17:56:34 +0000
commit977692d0a929ef4d03b8f9181f2c29fa1fbdd57e (patch)
tree46e29bdd0ee6b03d957934db892549155e27f6a6 /ez_setup.py
parent455c461299b6527ef7cab98e6f95666118a8e22e (diff)
downloadpython-setuptools-git-977692d0a929ef4d03b8f9181f2c29fa1fbdd57e.tar.gz
Fix mysterious errors during initial setuptools install, caused by
ez_setup trying to run easy_install twice, due to a code fallthru after deleting the egg from which it's running. (merge from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4046789
Diffstat (limited to 'ez_setup.py')
-rwxr-xr-xez_setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ez_setup.py b/ez_setup.py
index 7bcf179f..b699ab0f 100755
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -14,7 +14,7 @@ the appropriate options to ``use_setuptools()``.
This file can also be run as a script to install or upgrade setuptools.
"""
import sys
-DEFAULT_VERSION = "0.6b3"
+DEFAULT_VERSION = "0.6b2"
DEFAULT_URL = "http://cheeseshop.python.org/packages/%s/s/setuptools/" % sys.version[:3]
md5_data = {
@@ -143,7 +143,7 @@ def main(argv, version=DEFAULT_VERSION):
egg = download_setuptools(version, to_dir=tmpdir, delay=0)
sys.path.insert(0,egg)
from setuptools.command.easy_install import main
- main(list(argv)+[egg])
+ return main(list(argv)+[egg]) # we're done here
finally:
shutil.rmtree(tmpdir)
else: