/ test_cython / setup_cython.py
setup_cython.py
1 from distutils.core import setup 2 from distutils.extension import Extension 3 from Cython.Build import cythonize 4 import sys 5 6 extensions = [ 7 Extension("test_cython", ["test_cython.pyx"], 8 include_dirs=sys.path, 9 ) 10 ] 11 12 setup( 13 name="cython_gmpy_test", 14 ext_modules=cythonize(extensions, include_path=sys.path) 15 )