1. Tarek Ziadé
  2. distribute


Lennart Regebro  committed 6f93c70

Fixed a bug that gave a traceback when doing install --help under Python 3.

  • Participants
  • Parent commits d9553f2
  • Branches 0.6-maintenance

Comments (0)

Files changed (1)

File distribute_setup.py

View file
  • Ignore whitespace
 def after_install(dist):
     log.warn('After install bootstrap.')
     placeholder = dist.get_command_obj('install').install_purelib
-    if not os.path.exists(placeholder):
+    if not placeholder or not os.path.exists(placeholder):
         log.warn('Could not find the install location')
     pyver = '%s.%s' % (sys.version_info[0], sys.version_info[1])