Advertisement
chironex

Compile _dissc.pyx

Apr 4th, 2011
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. from distutils.core import setup
  2. from distutils.extension import Extension
  3. from Cython.Distutils import build_ext
  4. import numpy
  5.  
  6. ext_modules = [Extension("dissc", ["_dissc.pyx"],include_dirs = [numpy.get_include(),'.'])]
  7.  
  8. setup(
  9.   name = 'Cython DissCalc',
  10.   cmdclass = {'build_ext': build_ext},
  11.   ext_modules = ext_modules
  12. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement