glmath/setup.py

18 lines
343 B
Python
Raw Permalink Normal View History

2024-11-07 12:38:25 +01:00
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))