Skip to content

Commit

Permalink
Dynamically include numpy headers (explosion#6418)
Browse files Browse the repository at this point in the history
* Dynamically include numpy headers

* Add `build-constraints.txt` with numpy version pins for building wheels with `pip` and `wheelwright`
* Update `setup.py` to add current numpy include directory
* Assume `cython` and `numpy` are installed for `setup.py`
* Remove included numpy headers

* Fix typo in requirements.txt

* Use script in CI
  • Loading branch information
adrianeboyd authored Nov 23, 2020
1 parent 3f61f5e commit cdca44a
Show file tree
Hide file tree
Showing 30 changed files with 12 additions and 10,208 deletions.
5 changes: 5 additions & 0 deletions build-constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# build version constraints for use with wheelwright + multibuild
numpy==1.15.0; python_version<='3.7'
numpy==1.17.3; python_version=='3.8'
numpy==1.19.3; python_version=='3.9'
numpy; python_version>='3.10'
Loading

0 comments on commit cdca44a

Please sign in to comment.