~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to ez_setup.py

  • Committer: Guilherme Salgado
  • Date: 2010-04-07 18:39:30 UTC
  • mto: This revision was merged to the branch mainline in revision 10791.
  • Revision ID: salgado@canonical.com-20100407183930-s9iefcpxiq33c28t
Update the default version of setuptools in ez_setup.py and the python version in lib/canonical/librarian/Makefile and sourcecode/Makefile

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# NOTE TO LAUNCHPAD DEVELOPERS: This is a bootstrapping file from the
4
4
# setuptools project.  It is imported by our setup.py.
5
5
 
6
 
#!python
7
6
"""Bootstrap setuptools installation
8
7
 
9
8
If you want to use setuptools in your package's setup.py, just include this
19
18
This file can also be run as a script to install or upgrade setuptools.
20
19
"""
21
20
import sys
22
 
DEFAULT_VERSION = "0.6c9"
 
21
DEFAULT_VERSION = "0.6c11"
23
22
DEFAULT_URL     = "http://pypi.python.org/packages/%s/s/setuptools/" % sys.version[:3]
24
23
 
25
24
md5_data = {
33
32
    'setuptools-0.6b4-py2.4.egg': '4cb2a185d228dacffb2d17f103b3b1c4',
34
33
    'setuptools-0.6c1-py2.3.egg': 'b3f2b5539d65cb7f74ad79127f1a908c',
35
34
    'setuptools-0.6c1-py2.4.egg': 'b45adeda0667d2d2ffe14009364f2a4b',
 
35
    'setuptools-0.6c10-py2.3.egg': 'ce1e2ab5d3a0256456d9fc13800a7090',
 
36
    'setuptools-0.6c10-py2.4.egg': '57d6d9d6e9b80772c59a53a8433a5dd4',
 
37
    'setuptools-0.6c10-py2.5.egg': 'de46ac8b1c97c895572e5e8596aeb8c7',
 
38
    'setuptools-0.6c10-py2.6.egg': '58ea40aef06da02ce641495523a0b7f5',
 
39
    'setuptools-0.6c11-py2.3.egg': '2baeac6e13d414a9d28e7ba5b5a596de',
 
40
    'setuptools-0.6c11-py2.4.egg': 'bd639f9b0eac4c42497034dec2ec0c2b',
 
41
    'setuptools-0.6c11-py2.5.egg': '64c94f3bf7a72a13ec83e0b24f2749b2',
 
42
    'setuptools-0.6c11-py2.6.egg': 'bfa92100bd772d5a213eedd356d64086',
36
43
    'setuptools-0.6c2-py2.3.egg': 'f0064bf6aa2b7d0f3ba0b43f20817c27',
37
44
    'setuptools-0.6c2-py2.4.egg': '616192eec35f47e8ea16cd6a122b7277',
38
45
    'setuptools-0.6c3-py2.3.egg': 'f181fa125dfe85a259c9cd6f1d7b78fa',
97
104
    try:
98
105
        import pkg_resources
99
106
    except ImportError:
100
 
        return do_download()       
 
107
        return do_download()
101
108
    try:
102
109
        pkg_resources.require("setuptools>="+version); return
103
110
    except pkg_resources.VersionConflict, e:
278
285
 
279
286
 
280
287
 
 
288