from distutils.core import setup, Extension from Cython.Build import cythonize import numpy setup(ext_modules=cythonize(Extension( 'pse', sources=['pse.pyx'], language='c++', include_dirs=[numpy.get_include()], library_dirs=[], libraries=[], extra_compile_args=['-O3'], extra_link_args=[] )))