from distutils.core import setup from Cython.Build import cythonize # compile with # # python setup_mandel.py build_ext --inplace setup( ext_modules = cythonize("mandel.pyx") )