diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2013-05-09 08:56:03 +0200 |
---|---|---|
committer | Stefan Behnel <stb@skoobe.de> | 2013-05-10 07:41:51 +0200 |
commit | ab6d03c2f486b144fe7b791ab3006daed111e79c (patch) | |
tree | 8275ea33fa882fb7178e846c6b320bff0b3c9a9b /Demos | |
parent | c500e851e91035496b73a6c77bf0f9f5efcfd3da (diff) | |
download | cython-ab6d03c2f486b144fe7b791ab3006daed111e79c.tar.gz |
update setup.py script to use cythonize()
--HG--
extra : rebase_source : 6494c60e7f79a9cc85fe72a7adf325557f6de2be
Diffstat (limited to 'Demos')
-rw-r--r-- | Demos/callback/Setup.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Demos/callback/Setup.py b/Demos/callback/Setup.py index 3f4bf6fc8..8690ac64c 100644 --- a/Demos/callback/Setup.py +++ b/Demos/callback/Setup.py @@ -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} + ]), ) |