~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to bootstrap.py

  • Committer: Gary Poster
  • Date: 2009-05-31 22:03:33 UTC
  • mto: This revision was merged to the branch mainline in revision 8489.
  • Revision ID: gary.poster@canonical.com-20090531220333-yatrvi7mxzdm5eg3
hack bootstrap to get it to not get ez_setup.py externally because we have it locally

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    import pkg_resources
35
35
except ImportError:
36
36
    ez = {}
37
 
    exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
38
 
                         ).read() in ez
 
37
    # exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
 
38
    #                      ).read() in ez
 
39
    exec open('ez_setup.py').read() in ez
39
40
    ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
40
41
 
41
42
    import pkg_resources