diff options
author | tarek <none@none> | 2009-12-11 00:32:55 +0100 |
---|---|---|
committer | tarek <none@none> | 2009-12-11 00:32:55 +0100 |
commit | ce6ac29bfa586e8646853b3f58e0c8c8e6891629 (patch) | |
tree | 2751203d193a694fe3a870cbabbdb812d7fe3dd6 | |
parent | 7177009424e0afa0dffb1d6de5dc46dab24165c6 (diff) | |
download | external_python_setuptools-ce6ac29bfa586e8646853b3f58e0c8c8e6891629.tar.gz external_python_setuptools-ce6ac29bfa586e8646853b3f58e0c8c8e6891629.tar.bz2 external_python_setuptools-ce6ac29bfa586e8646853b3f58e0c8c8e6891629.zip |
Remove an unecessary assertion fixes #104
--HG--
branch : distribute
extra : rebase_source : e0a1a2a18085d418b039852b57b5adf6cc19017f
-rw-r--r-- | CHANGES.txt | 2 | ||||
-rw-r--r-- | distribute_setup.py | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 5592fd6a..13baf75e 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -24,6 +24,8 @@ CHANGES (platform.mac_ver() fails) * Issue 103: test_get_script_header_jython_workaround not run anymore under py3 with C or POSIX local. Contributed by Arfrever. +* Issue 104: remvoved the assertion when the installation fails, + with a nicer message for the end user. ----- 0.6.8 diff --git a/distribute_setup.py b/distribute_setup.py index 94789e7e..7fd3b4d8 100644 --- a/distribute_setup.py +++ b/distribute_setup.py @@ -81,7 +81,9 @@ def _install(tarball): # installing log.warn('Installing Distribute') - assert _python_cmd('setup.py', 'install') + if not _python_cmd('setup.py', 'install'): + log.warn('Something went wrong during the installation.') + log.warn('See the error message above.') finally: os.chdir(old_wd) |