glmath/setup.py
2024-11-07 13:38:25 +02:00

18 lines
343 B
Python

from setuptools import setup, Extension
from Cython.Build import cythonize
import numpy
extensions = [
Extension(
"glmath._cosmomath",
sources=[
"ext_src/_cosmomath.pyx"
],
include_dirs=["ext_src", numpy.get_include()],
language="c++"
)
]
setup(ext_modules=cythonize(extensions))