mirror of
https://github.com/lavaux/glmath.git
synced 2024-11-21 10:38:31 +01:00
18 lines
343 B
Python
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))
|