Permalink
Browse files

update setup.py script to use cythonize()

--HG--
extra : rebase_source : 6494c60e7f79a9cc85fe72a7adf325557f6de2be
  • Loading branch information...
1 parent c500e85 commit ab6d03c2f486b144fe7b791ab3006daed111e79c @scoder scoder committed with Stefan Behnel May 9, 2013
Showing with 3 additions and 4 deletions.
  1. +3 −4 Demos/callback/Setup.py
View
@@ -1,11 +1,10 @@
from distutils.core import setup
from distutils.extension import Extension
-from Cython.Distutils import build_ext
+from Cython.Build import cythonize
setup(
name = 'callback',
- ext_modules=[
+ ext_modules=cythonize([
Extension("cheese", ["cheese.pyx", "cheesefinder.c"]),
- ],
- cmdclass = {'build_ext': build_ext}
+ ]),
)

0 comments on commit ab6d03c

Please sign in to comment.