Created
September 17, 2011 04:03
-
-
Save marcelcaraciolo/1223614 to your computer and use it in GitHub Desktop.
Pyx Cython Setup.py example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # setup.py | |
| from distutils.core import setup | |
| from distutils.extension import Extension | |
| from Cython.Distutils import build_ext | |
| # for notes on compiler flags see: | |
| # http://docs.python.org/install/index.html | |
| setup( | |
| cmdclass = {’build_ext’: build_ext}, | |
| ext_modules = [Extension("calculate_z", ["calculate_z.pyx"])] | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment