Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. """
  3. Created on Tue May 26 17:03:45 2015
  4. @author: andrej
  5. """
  6.  
  7. from distutils.core import setup
  8. from distutils.extension import Extension
  9. from Cython.Build import cythonize
  10. import numpy as np
  11.  
  12. ext_modules=[Extension("cython_helpers",sources=["cython_helpers.pyx"],include_dirs=[np.get_include()])]
  13.  
  14. setup(
  15. name = "Cython_helpers",
  16. ext_modules = cythonize(ext_modules)
  17. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement