diff options
-rw-r--r-- | .travis.yml | 3 | ||||
-rw-r--r-- | setup.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index b687aaa..5981801 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,10 @@ python: - "2.7" install: - - pip install cython + - pip install -q cython script: + - export $PYTHONPATH=$PYTHONPATH:$TRAVIS_BUILD_DIR - python setup.py build_ext --inplace - cd test - nosetests @@ -9,7 +9,9 @@ Distributed under the BSD License """ from distutils.core import setup from Cython.Build import cythonize +import numpy setup( - ext_modules=cythonize("pyspike/*.pyx") + ext_modules=cythonize("pyspike/*.pyx"), + include_dirs=[numpy.get_include()] ) |