1. Tarek Ziadé
  2. distribute
  3. Issues
Issue #61 resolved

distribute_setup fails with cygwin python

Daniel 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:

{{{

!python

from distribute_setup import use_setuptools use_setuptools() }}} Everything works fine if I use the native Windows python. However, distribute_setup runs into problems if I use cygwin's python.

{{{

!bash

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> use_setuptools() 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