File size: 412 Bytes
25eb294
 
1df9f37
25eb294
 
1df9f37
 
 
25eb294
 
 
 
1df9f37
 
25eb294
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"}),
)