• Adrien Guinet's avatar
    Add a Pythran backend for Numpy operation · 65da9d1b
    Adrien Guinet authored
    When the user asked for it (thanks to the --np-pythran flag), use
    Pythran's Numpy implementation as a backend for numpy operation. This
    flag forces the C++ mode, as the Pythran implementation is written in
    C++. Distutils integration through the 'np_pythran' flag of the
    cythonize API is also provided.
    
    This commit also adds a Pythran mode for the tests, that can enable the
    pythran mode for the C++ tests, and allows the reuse of Cython tests to
    test for the Pythran integration.
    65da9d1b
Main.py 29.9 KB