mirror of
https://github.com/rasbt/python_reference.git
synced 2024-11-24 04:21:15 +00:00
14 lines
395 B
Python
14 lines
395 B
Python
|
|
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()])
|
|
]
|
|
) |