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