2018-12-28 23:09:46 +08:00
|
|
|
from distutils.core import setup, Extension
|
|
|
|
|
|
|
|
import numpy
|
2021-07-13 14:52:26 +08:00
|
|
|
from Cython.Distutils import build_ext
|
2018-12-28 23:09:46 +08:00
|
|
|
|
|
|
|
setup(
|
|
|
|
cmdclass={'build_ext': build_ext},
|
|
|
|
ext_modules=[Extension("CalSpecSpea", sources=[
|
2021-07-13 14:52:26 +08:00
|
|
|
"CalSpecSpea.pyx", "CalSpecSpeaLib.cpp"], language="c++", include_dirs=[numpy.get_include()])]
|
2018-12-28 23:09:46 +08:00
|
|
|
)
|