Commit 726e515e authored by Hanno Schlichting's avatar Hanno Schlichting

Update bootstrap.py to latest version.

parent 2168f05d
...@@ -75,8 +75,8 @@ except ImportError: ...@@ -75,8 +75,8 @@ except ImportError:
from urllib2 import urlopen from urllib2 import urlopen
ez = {} ez = {}
exec(urlopen('https://bitbucket.org/pypa/setuptools/downloads/ez_setup.py' exec(urlopen('https://bootstrap.pypa.io/ez_setup.py').read(), ez)
).read(), ez)
if not options.allow_site_packages: if not options.allow_site_packages:
# ez_setup imports site, which adds site packages # ez_setup imports site, which adds site packages
# this will remove them from the path to ensure that incompatible versions # this will remove them from the path to ensure that incompatible versions
...@@ -158,8 +158,7 @@ cmd.append(requirement) ...@@ -158,8 +158,7 @@ cmd.append(requirement)
import subprocess import subprocess
if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=setuptools_path)) != 0: if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=setuptools_path)) != 0:
raise Exception( raise Exception(
"Failed to execute command:\n%s", "Failed to execute command:\n%s" % repr(cmd)[1:-1])
repr(cmd)[1:-1])
###################################################################### ######################################################################
# Import and run buildout # Import and run buildout
......
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