Skip to content

Commit

Permalink
Update bootstrap.py to latest version.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Nov 2, 2014
1 parent 2168f05 commit 726e515
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
from urllib2 import urlopen

ez = {}
exec(urlopen('https://bitbucket.org/pypa/setuptools/downloads/ez_setup.py'
).read(), ez)
exec(urlopen('https://bootstrap.pypa.io/ez_setup.py').read(), ez)

if not options.allow_site_packages:
# ez_setup imports site, which adds site packages
# this will remove them from the path to ensure that incompatible versions
Expand Down Expand Up @@ -158,8 +158,7 @@ def _final_version(parsed_version):
import subprocess
if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=setuptools_path)) != 0:
raise Exception(
"Failed to execute command:\n%s",
repr(cmd)[1:-1])
"Failed to execute command:\n%s" % repr(cmd)[1:-1])

######################################################################
# Import and run buildout
Expand Down

0 comments on commit 726e515

Please sign in to comment.