Spaces:
Sleeping
Sleeping
File size: 428 Bytes
5d92054 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
from setuptools import setup, Extension
from Cython.Build import cythonize
import numpy as np
extensions = [
Extension(
"processing_cy",
["processing.pyx"],
include_dirs=[np.get_include()],
extra_compile_args=["-O3", "-march=native", "-fopenmp"],
extra_link_args=["-fopenmp"]
)
]
setup(
ext_modules=cythonize(extensions, annotate=True),
include_dirs=[np.get_include()]
) |