lbalhar / tests / python

Forked from tests/python 3 years ago
Clone

ca464dc Fix Cython installation for fresh CPythons

Authored and Committed by churchyard 5 years ago
    Fix Cython installation for fresh CPythons
    
    We try to fetch a wheel only and if that fails, we disable compilation.
    Useful for fresh CPythons such as 3.8 now, where wheels are not yet ready,
    but Cython defaults to compiling (because it detects CPython).
    
    Note that --install-option="--no-cython-compile" makes pip use source package,
    hence we don't want to use it right away. We still prefer wheel over
    sdist.
    
        
file modified
+3 -1