blob: 49667b7ad6f632257fe4665be0b17b9b7c9b7b24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# compile with: python setup.py build_ext --inplace
from distutils.core import setup
from Cython.Build import cythonize
import numpy
setup(
ext_modules = cythonize("ml.pyx"),
include_dirs=[numpy.get_include()]
)
|