Skip to content

Commit

Permalink
update setup.py script to use cythonize()
Browse files Browse the repository at this point in the history
--HG--
extra : rebase_source : 6494c60e7f79a9cc85fe72a7adf325557f6de2be
  • Loading branch information
scoder authored and Stefan Behnel committed May 10, 2013
1 parent c500e85 commit ab6d03c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions 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}
]),
)

0 comments on commit ab6d03c

Please sign in to comment.