mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-13 13:53:07 +00:00
setuptools upgrade to 0.6c6
This commit is contained in:
parent
42d3afffa2
commit
c4e5510813
src
@ -15,7 +15,7 @@ This file can also be run as a script to install or upgrade setuptools.
|
||||
"""
|
||||
import sys
|
||||
|
||||
DEFAULT_VERSION = "0.6c5"
|
||||
DEFAULT_VERSION = "0.6c6"
|
||||
DEFAULT_URL = "http://cheeseshop.python.org/packages/%s/s/setuptools/" % sys.version[:3]
|
||||
|
||||
md5_data = {
|
||||
@ -40,6 +40,7 @@ md5_data = {
|
||||
'setuptools-0.6c5-py2.3.egg': 'ee9fd80965da04f2f3e6b3576e9d8167',
|
||||
'setuptools-0.6c5-py2.4.egg': 'afe2adf1c01701ee841761f5bcd8aa64',
|
||||
'setuptools-0.6c5-py2.5.egg': 'a8d3f61494ccaa8714dfed37bccd3d5d',
|
||||
'setuptools-0.6c6-py2.5.egg': 'b2f8a7520709a5b34f80946de5f02f53',
|
||||
}
|
||||
|
||||
import sys, os
|
||||
@ -90,6 +91,7 @@ def use_setuptools(
|
||||
|
||||
except pkg_resources.VersionConflict, e:
|
||||
# XXX could we install in a subprocess here?
|
||||
# --arnowa here we would need an elegant update solution, i think
|
||||
print >>sys.stderr, (
|
||||
"The required version of setuptools (>=%s) is not available, and\n"
|
||||
"can't be installed while this script is running. Please install\n"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import ez_setup
|
||||
ez_setup.use_setuptools(min_version="0.6a9")
|
||||
ez_setup.use_setuptools(min_version="0.6c6")
|
||||
|
||||
from setuptools import setup, find_packages, Extension, Feature
|
||||
from distutils.command.build_ext import build_ext
|
||||
|
@ -15,7 +15,7 @@ This file can also be run as a script to install or upgrade setuptools.
|
||||
"""
|
||||
import sys
|
||||
|
||||
DEFAULT_VERSION = "0.6c5"
|
||||
DEFAULT_VERSION = "0.6c6"
|
||||
DEFAULT_URL = "http://cheeseshop.python.org/packages/%s/s/setuptools/" % sys.version[:3]
|
||||
|
||||
md5_data = {
|
||||
@ -40,6 +40,7 @@ md5_data = {
|
||||
'setuptools-0.6c5-py2.3.egg': 'ee9fd80965da04f2f3e6b3576e9d8167',
|
||||
'setuptools-0.6c5-py2.4.egg': 'afe2adf1c01701ee841761f5bcd8aa64',
|
||||
'setuptools-0.6c5-py2.5.egg': 'a8d3f61494ccaa8714dfed37bccd3d5d',
|
||||
'setuptools-0.6c6-py2.5.egg': 'b2f8a7520709a5b34f80946de5f02f53',
|
||||
}
|
||||
|
||||
import sys, os
|
||||
@ -90,6 +91,7 @@ def use_setuptools(
|
||||
|
||||
except pkg_resources.VersionConflict, e:
|
||||
# XXX could we install in a subprocess here?
|
||||
# --arnowa here we would need an elegant update solution, i think
|
||||
print >>sys.stderr, (
|
||||
"The required version of setuptools (>=%s) is not available, and\n"
|
||||
"can't be installed while this script is running. Please install\n"
|
||||
@ -157,7 +159,7 @@ def main(argv, version=DEFAULT_VERSION):
|
||||
if egg and os.path.exists(egg):
|
||||
os.unlink(egg)
|
||||
else:
|
||||
if setuptools.__version__ == '0.0.1':
|
||||
if setuptools.__version__ == "0.0.1": #Does this happen?? --arnowa
|
||||
# tell the user to uninstall obsolete version
|
||||
use_setuptools(version)
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
# http://allmydata.com/.
|
||||
|
||||
from ez_setup import use_setuptools
|
||||
use_setuptools(min_version='0.6a9')
|
||||
use_setuptools(min_version='0.6c6')
|
||||
|
||||
from setuptools import Extension, find_packages, setup
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user