PyQt/Test/C和C++扩展/pyx和c++/setup.py
2021-07-13 14:52:26 +08:00

10 lines
301 B
Python

from distutils.core import setup, Extension
import numpy
from Cython.Distutils import build_ext
setup(
cmdclass={'build_ext': build_ext},
ext_modules=[Extension("CalSpecSpea", sources=[
"CalSpecSpea.pyx", "CalSpecSpeaLib.cpp"], language="c++", include_dirs=[numpy.get_include()])]
)