Skip to content

Commit

Permalink
Adding np include dirs for cython
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasturner1 committed Mar 18, 2018
1 parent 161b8d0 commit 79f9ecc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#!/usr/bin/env python3

import numpy as np
from Cython.Build import cythonize
from setuptools import setup, find_packages, Extension

extensions = [
Extension("synaptor.seg_utils._seg_utils", sources=["synaptor/seg_utils/_seg_utils.pyx"])
Extension("synaptor.seg_utils._seg_utils",
sources=["synaptor/seg_utils/_seg_utils.pyx"],
include_dirs=[np.get_include()])
]

setup(
Expand Down

0 comments on commit 79f9ecc

Please sign in to comment.