Spaces:
Sleeping
Sleeping
| from setuptools import setup, Extension | |
| from Cython.Build import cythonize | |
| import numpy as np | |
| ext = Extension( | |
| name="fast_bisect.fast_bisect", # import fast_bisect.fast_bisect | |
| sources=["fast_bisect/fast_bisect.pyx"], | |
| include_dirs=[np.get_include()], | |
| ) | |
| setup( | |
| name="fast_bisect", | |
| version="0.0.0", | |
| ext_modules=cythonize([ext], compiler_directives={"language_level": "3"}), | |
| ) |