aboutsummaryrefslogtreecommitdiffstats
path: root/distribute_setup.py
diff options
context:
space:
mode:
authorDaniel Stutzbach <daniel@stutzbachenterprises.com>2009-10-17 22:23:22 -0500
committerDaniel Stutzbach <daniel@stutzbachenterprises.com>2009-10-17 22:23:22 -0500
commit286608d122dcfc718e4a52d011b8b77efe0fbe5f (patch)
tree37086289c0d6c0b8b33e6643f5fa5fd939445cb4 /distribute_setup.py
parentb1bd773feed63e4037a9dab96f40c3b147f9414e (diff)
downloadexternal_python_setuptools-286608d122dcfc718e4a52d011b8b77efe0fbe5f.tar.gz
external_python_setuptools-286608d122dcfc718e4a52d011b8b77efe0fbe5f.tar.bz2
external_python_setuptools-286608d122dcfc718e4a52d011b8b77efe0fbe5f.zip
Fixed bug in previous patch (oops)
--HG-- branch : distribute extra : rebase_source : 0e0d70648070a33cbdb759de87415a90984da7cd
Diffstat (limited to 'distribute_setup.py')
-rw-r--r--distribute_setup.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/distribute_setup.py b/distribute_setup.py
index c91410cb..026c7d3c 100644
--- a/distribute_setup.py
+++ b/distribute_setup.py
@@ -104,11 +104,12 @@ def _build_egg(egg, tarball, to_dir):
log.warn('Building a Distribute egg in %s', to_dir)
_python_cmd('setup.py', '-q', 'bdist_egg', '--dist-dir', to_dir)
- # returning the result
- if not os.path.exists(egg):
- raise IOError('Could not build the egg.')
finally:
os.chdir(old_wd)
+ # returning the result
+ log.warn(egg)
+ if not os.path.exists(egg):
+ raise IOError('Could not build the egg.')
def _do_download(version, download_base, to_dir, download_delay):