Anonymous committed e6360c9

Fixed two bugs in the bootstrapper that prevented use_setuptools() from working

  • Participants
  • Parent commits 615da88
  • Branches 0.6-maintenance

Comments (0)

Files changed (1)


         # building an egg
         log.warn('Building a Distribute egg in %s', to_dir)
-        python_cmd(' -q bdist_egg --dist-dir %s' % to_dir)
+        python_cmd('', '-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.')