1. Tarek Ziadé
  2. distribute


tarek  committed 0b6b27e

Remove an unecessary assertion fixes #104

  • Participants
  • Parent commits 8918b17
  • Branches 0.6-maintenance

Comments (0)

Files changed (2)

File CHANGES.txt

View file
  • Ignore whitespace
   (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.

File distribute_setup.py

View file
  • Ignore whitespace
         # 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.')