Commit c44bf789 authored by Rémy Mozul's avatar Rémy Mozul

Merge branch 'master' into 'master'

Setup correction

setup.py now include numpy headers correctly
parents 844bf463 07abe660
import os import os
import numpy
from distutils.core import setup from distutils.core import setup
from distutils.extension import Extension from distutils.extension import Extension
from Cython.Distutils import build_ext from Cython.Distutils import build_ext
setup(name='sprint', setup(name='sprint',
ext_modules=[Extension('test',['test.pyx'],libraries=['type'],library_dirs=[os.getcwd()])], ext_modules=[Extension('test',['test.pyx'],
libraries=['type'],
library_dirs=[os.getcwd()],
include_dirs=[numpy.get_include()])],
cmdclass={'build_ext':build_ext} cmdclass={'build_ext':build_ext}
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment