-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extensions fail to build when dependency of package with extensions, and Cython installed #723
Comments
An installation with |
An ugly workaround is to include |
because `python setup.py install --cudd` fails if `cython` is installed [1]. [1] giampaolo/psutil#723
This bug changes behavior between:
|
The main difference between |
Both the demo |
Can we close this issue? |
Yes. There has not been any reply in issue 309 of |
The issue has been fixed as |
to avoid `cython` affecting installation of `psutil` [1, 2, 3]. [1] https://bitbucket.org/pypa/setuptools/issues/488 [2] https://bitbucket.org/pypa/setuptools/issues/309 [3] giampaolo/psutil#723
to avoid `cython` affecting installation of `psutil` [1, 2, 3]. [1] https://bitbucket.org/pypa/setuptools/issues/488 [2] https://bitbucket.org/pypa/setuptools/issues/309 [3] giampaolo/psutil#723
to avoid `cython` affecting installation of `psutil` [1, 2, 3]. [1] https://bitbucket.org/pypa/setuptools/issues/488 [2] https://bitbucket.org/pypa/setuptools/issues/309 [3] giampaolo/psutil#723
The following minimal example, with
foo.c
trivial (and trivial packagehoho
content) fails to install withpython setup.py install
, due topsutil
failing to compile its extensions.(More accurately,
hoho
is installed, butsetuptools
fails in its attempt to install the dependencypsutil
after finishing withhoho
itself).The failure happens only if
cython
is installed. If noext_modules
are passed, then no error arises.The output is:
It appears to be an instance of:
setuptools
and possibly related to:
distribute
setuptools
It arose when testing
dd
on Travis.There is no other workaround that I expect will work for
dd
, other than to either:psutil
setuptools
orcython
(not sure whose the culprit -- could bedistribute
, but not expected to make a fix available soon)psutil
frominstall_requires
ofdd
.For comparison, a successful installation produces as output:
The text was updated successfully, but these errors were encountered: