python_reference/tutorials/setup.py

14 lines
395 B
Python
Raw Normal View History

2014-07-07 02:35:00 +00:00
import numpy as np
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
setup(
cmdclass = {'build_ext': build_ext},
ext_modules = [
Extension("cython_bubblesort_nomagic",
["cython_bubblesort_nomagic.pyx"],
include_dirs=[np.get_include()])
]
)