aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortarek <none@none>2009-11-07 03:08:06 +0100
committertarek <none@none>2009-11-07 03:08:06 +0100
commita0ca582da7e9322a6abc5d4ce028ee631ddbde70 (patch)
treec93b99b6688b26270811bb5ee5953876d6a1c332
parent529f165dfbd7b654b646b1b42b1ba6419e5ce832 (diff)
downloadexternal_python_setuptools-a0ca582da7e9322a6abc5d4ce028ee631ddbde70.tar.gz
external_python_setuptools-a0ca582da7e9322a6abc5d4ce028ee631ddbde70.tar.bz2
external_python_setuptools-a0ca582da7e9322a6abc5d4ce028ee631ddbde70.zip
now faking Setuptools 0.6c11
--HG-- branch : distribute extra : rebase_source : 48be66266a279d893236d90bd77cf1d0c654a7cf
-rw-r--r--distribute_setup.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/distribute_setup.py b/distribute_setup.py
index 797a8d5c..94789e7e 100644
--- a/distribute_setup.py
+++ b/distribute_setup.py
@@ -48,17 +48,19 @@ except ImportError:
DEFAULT_VERSION = "0.6.9"
DEFAULT_URL = "http://pypi.python.org/packages/source/d/distribute/"
+SETUPTOOLS_FAKED_VERSION = "0.6c11"
+
SETUPTOOLS_PKG_INFO = """\
Metadata-Version: 1.0
Name: setuptools
-Version: 0.6c9
+Version: %s
Summary: xxxx
Home-page: xxx
Author: xxx
Author-email: xxx
License: xxx
Description: xxx
-"""
+""" % SETUPTOOLS_FAKED_VERSION
def _install(tarball):
@@ -280,7 +282,8 @@ def _create_fake_setuptools_pkg_info(placeholder):
log.warn('Could not find the install location')
return
pyver = '%s.%s' % (sys.version_info[0], sys.version_info[1])
- setuptools_file = 'setuptools-0.6c9-py%s.egg-info' % pyver
+ setuptools_file = 'setuptools-%s-py%s.egg-info' % \
+ (SETUPTOOLS_FAKED_VERSION, pyver)
pkg_info = os.path.join(placeholder, setuptools_file)
if os.path.exists(pkg_info):
log.warn('%s already exists', pkg_info)