aboutsummaryrefslogtreecommitdiffstats
path: root/distribute_setup.py
diff options
context:
space:
mode:
authorDaniel Stutzbach <daniel@stutzbachenterprises.com>2009-10-17 22:57:21 -0500
committerDaniel Stutzbach <daniel@stutzbachenterprises.com>2009-10-17 22:57:21 -0500
commit7d43c924940cb749650db28fcdc9858517e4a4e5 (patch)
tree728ece2b9b45120333025ed448740cc783aa6f80 /distribute_setup.py
parent286608d122dcfc718e4a52d011b8b77efe0fbe5f (diff)
downloadexternal_python_setuptools-7d43c924940cb749650db28fcdc9858517e4a4e5.tar.gz
external_python_setuptools-7d43c924940cb749650db28fcdc9858517e4a4e5.tar.bz2
external_python_setuptools-7d43c924940cb749650db28fcdc9858517e4a4e5.zip
Fixed egg filename computation to respect to_dir
--HG-- branch : distribute extra : rebase_source : 7fa5025839278ad3a0fe1971bf8e050e9f910c43
Diffstat (limited to 'distribute_setup.py')
-rw-r--r--distribute_setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/distribute_setup.py b/distribute_setup.py
index 026c7d3c..db75a3c6 100644
--- a/distribute_setup.py
+++ b/distribute_setup.py
@@ -113,8 +113,8 @@ def _build_egg(egg, tarball, to_dir):
def _do_download(version, download_base, to_dir, download_delay):
- egg = 'distribute-%s-py%d.%d.egg' % (version, sys.version_info[0],
- sys.version_info[1])
+ egg = os.path.join(to_dir, 'distribute-%s-py%d.%d.egg'
+ % (version, sys.version_info[0], sys.version_info[1]))
if not os.path.exists(egg):
tarball = download_setuptools(version, download_base,
to_dir, download_delay)