talks scipy2009 - cython/cython GitHub Wiki
- http://docs.cython.org
- Longer full-day tutorial material: talks/notur2009
- attachment:slides.pdf Slides for today
Here's a basic setup.py:
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext ext_modules = [Extension("ex1", ["ex1.pyx"])] setup( name = 'Demos', cmdclass = {'build_ext': build_ext}, ext_modules = ext_modules )
Attaching attachment:cblas.h in case you don't have it. NumPy should come with the necesarry BLAS libraries.