Commit ab6d03c2 authored by Stefan Behnel's avatar Stefan Behnel Committed by Stefan Behnel

update setup.py script to use cythonize()

--HG--
extra : rebase_source : 6494c60e7f79a9cc85fe72a7adf325557f6de2be
parent c500e851
from distutils.core import setup from distutils.core import setup
from distutils.extension import Extension from distutils.extension import Extension
from Cython.Distutils import build_ext from Cython.Build import cythonize
setup( setup(
name = 'callback', name = 'callback',
ext_modules=[ ext_modules=cythonize([
Extension("cheese", ["cheese.pyx", "cheesefinder.c"]), Extension("cheese", ["cheese.pyx", "cheesefinder.c"]),
], ]),
cmdclass = {'build_ext': build_ext}
) )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment