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
try to build a C module, but don't worry if it doesn't work #48956
Comments
I was trying to install Twisted on my son's OLPC. Twisted comes with a It would be nice if Twisted could tell distutils to try to build a |
I can see two cases here: 1/ a compiler is not found, and build_ext can't proceed For 2/, I don't think it's wise to fail silently if a compiler is found For 1/ I would go for a binary distribution, or for a source But I can see the benefit of a source distribution with optional |
Tarek: Yes, failure to build an extension module for any reason should Note that twisted's setup.py already attempts to do this for certain of |
As far as Twisted is concerned, the two cases Tarek mentioned aren't This doesn't necessarily have to mean that errors pass silently. The |
Hey check it out -- simplejson can try to build its extension module, |
Oh! And simplejson is able to cleanly fall back to pure Python when gcc |
Here's Twisted failing to build when gcc is not installed: |
Here's Twisted failing to build because Python.h isn't found: |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: