Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback to Pure Python if Compilation fails
Originally this code attempted to determine if compiling the C ext would succeed, and if it thought it should, it would then require that the C extension succeed in order to install. This fails in cases where the detection code passes, but compiling ultimately fails (one instance this might happen is if the Python headers are not installed). Instead of "asking permission", this code will now just attempt to compile the module, and will fall back to pure Python if that fails, unless the person has explicitly asked for the C module, in which case it will still just fail.
- Loading branch information
1 parent
802c4a6
commit 298e079
Showing
1 changed file
with
7 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters