Skip to content

Instantly share code, notes, and snippets.

@jskDr jskDr/ Secret
Created May 4, 2014

What would you like to do?
A python code to compilie cython codes, which can enhance speed performance by transforming to C codes
# Compile a cython file (.pyx) in the directory.
from distutils.core import setup
from Cython.Build import cythonize
setup(name = 'Math library',
ext_modules = cythonize("*.pyx"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.