Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Kluyver
Pycrystfel
Commits
8db4c7ee
Commit
8db4c7ee
authored
Jan 12, 2021
by
Thomas Kluyver
Browse files
Add numpy include dir when building
parent
1371b4b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
8db4c7ee
from
setuptools
import
Extension
,
setup
from
Cython.Build
import
cythonize
import
numpy
extensions
=
[
Extension
(
"pycrystfel.bindings"
,
[
"pycrystfel/bindings.pyx"
],
libraries
=
[
'crystfel'
],
include_dirs
=
[
numpy
.
get_include
()],
)
]
setup
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment