From 7964e7bcb02c1ad2e5c92be71db53a1f9a66cf6d Mon Sep 17 00:00:00 2001 From: agronholm Date: Sun, 27 Sep 2009 07:48:26 +0300 Subject: Fixed two bugs in the bootstrapper that prevented use_setuptools() from working --HG-- branch : distribute extra : rebase_source : 63a606c73788fce5a09a8a423efd25a9804422d7 --- distribute_setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'distribute_setup.py') 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: -- cgit v1.2.1