18 lines
343 B
Python
18 lines
343 B
Python
from setuptools import setup, Extension
|
|
from Cython.Build import cythonize
|
|
import numpy
|
|
|
|
extensions = [
|
|
Extension(
|
|
"sphereproj._project",
|
|
sources=[
|
|
"ext_src/_project.pyx"
|
|
],
|
|
include_dirs=["ext_src", numpy.get_include()],
|
|
language="c++"
|
|
)
|
|
]
|
|
|
|
|
|
setup(ext_modules=cythonize(extensions))
|