distribute_setup fails with cygwin python

Daniel Stutzbach avatarDaniel Stutzbach created an issue

I'm trying to migrate my extension module from using setuptool to distribute. My setup.py begins with the following two lines:

from distribute_setup import use_setuptools

Everything works fine if I use the native Windows python. However, distribute_setup runs into problems if I use cygwin's python.

Cashew:~/src/blist-git$ /usr/bin/python setup.py test
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.3.tar.gz
Extracting in /cygdrive/c/DOCUME~1/Agthorr/LOCALS~1/Temp/tmp3RGNU0
Now working in /cygdrive/c/DOCUME~1/Agthorr/LOCALS~1/Temp/tmp3RGNU0/distribute-0.6.3
Building a Distribute egg in .
/usr/bin/python: can't open file 'setup.py -q bdist_egg --dist-dir .': [Errno 2] No such file or directory
Traceback (most recent call last):
  File "setup.py", line 4, in <module>
  File "/home/Agthorr/src/blist-git/distribute_setup.py", line 136, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
  File "/home/Agthorr/src/blist-git/distribute_setup.py", line 121, in _do_download
    egg = _build_egg(tarball, to_dir)
  File "/home/Agthorr/src/blist-git/distribute_setup.py", line 112, in _build_egg
    raise IOError('Could not build the egg.')
IOError: Could not build the egg.

Comments (2)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.