Commit 7d43c924 authored by Daniel Stutzbach's avatar Daniel Stutzbach

Fixed egg filename computation to respect to_dir

--HG--
branch : distribute
extra : rebase_source : 7fa5025839278ad3a0fe1971bf8e050e9f910c43
parent 286608d1
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment