~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to bootstrap.py

  • Committer: Gary Poster
  • Date: 2009-05-31 22:17:45 UTC
  • mto: This revision was merged to the branch mainline in revision 8489.
  • Revision ID: gary.poster@canonical.com-20090531221745-226ns1d29y2k7g4c
hack bootstrap.py to take better advantage of our local copies of files; update to newer ez_setup.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
##############################################################################
14
14
 
15
15
# NOTE TO LAUNCHPAD DEVELOPERS: This is a bootstrapping file from the
16
 
# zc.buildout project.  See the docstring below.
 
16
# zc.buildout project, which we have hacked slightly.
 
17
# See the docstring below for usage.
17
18
 
18
19
"""Bootstrap a buildout-based project
19
20
 
37
38
    # exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
38
39
    #                      ).read() in ez
39
40
    exec open('ez_setup.py').read() in ez
40
 
    ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
 
41
    ez['use_setuptools'](
 
42
        to_dir=tmpeggs,
 
43
        download_base='file://%s/download-cache/dist/' % (os.getcwd(),),
 
44
        download_delay=0)
41
45
 
42
46
    import pkg_resources
43
47