Commit 5b4efda5 authored by PJ Eby's avatar PJ Eby

Fix problems upgrading an already-installed setuptools version.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041091
parent c1112aa5
......@@ -150,7 +150,7 @@ def main(argv, version=DEFAULT_VERSION):
from setuptools.command.easy_install import main
except ImportError:
from easy_install import main
main(list(argv)+[req])
main(list(argv)+[download_setuptools()])
sys.exit(0) # try to force an exit
else:
if argv:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment