Cython tutorial at SciPy 2009

Tutorial material

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 cblas.h in case you don't have it. NumPy should come with the necesarry BLAS libraries.

talks/scipy2009 (last edited 2009-09-29 08:01:03 by DagSverreSeljebotn)