summaryrefslogtreecommitdiff
path: root/distribute_setup.py
diff options
context:
space:
mode:
authoragronholm <none@none>2009-09-27 07:48:26 +0300
committeragronholm <none@none>2009-09-27 07:48:26 +0300
commit7964e7bcb02c1ad2e5c92be71db53a1f9a66cf6d (patch)
treed95061cf8a27aa60344d724ba7b7dd9082de4f45 /distribute_setup.py
parent5668686f465e2c5c5a8facdb2ef444f93c56fd39 (diff)
downloadpython-setuptools-git-7964e7bcb02c1ad2e5c92be71db53a1f9a66cf6d.tar.gz
Fixed two bugs in the bootstrapper that prevented use_setuptools() from working
--HG-- branch : distribute extra : rebase_source : 63a606c73788fce5a09a8a423efd25a9804422d7
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 e54b0ca0..44fe35a4 100644
--- a/distribute_setup.py
+++ b/distribute_setup.py
@@ -102,12 +102,12 @@ def _build_egg(tarball, to_dir=os.curdir):
# building an egg
log.warn('Building a Distribute egg in %s', to_dir)
- python_cmd('setup.py -q bdist_egg --dist-dir %s' % to_dir)
+ python_cmd('setup.py', '-q', 'bdist_egg', '--dist-dir', to_dir)
# returning the result
for file in os.listdir(to_dir):
if fnmatch.fnmatch(file, 'distribute-%s*.egg' % DEFAULT_VERSION):
- return os.path.join(to_dir, file)
+ return os.path.join(subdir, file)
raise IOError('Could not build the egg.')
finally: