setup.py 326 B

1234567891011121314
  1. from distutils.core import setup, Extension
  2. from Cython.Build import cythonize
  3. import numpy
  4. setup(ext_modules=cythonize(Extension(
  5. 'pse',
  6. sources=['pse.pyx'],
  7. language='c++',
  8. include_dirs=[numpy.get_include()],
  9. library_dirs=[],
  10. libraries=[],
  11. extra_compile_args=['-O3'],
  12. extra_link_args=[]
  13. )))