brentp / fishers_exact_test

Fishers Exact Test for Python (Cython)
BSD 3-Clause "New" or "Revised" License
62 stars 21 forks source link

Fix issues with detection of Numpy include headers #41

Closed althonos closed 9 months ago

althonos commented 9 months ago

This should fix the broken 0.1.12 release. Now that there is a pyproject.toml file, pip will always install the setup dependencies in advance, which means that numpy, Cython and versioneer are always available in setup.py and we can just import them at the top. For some reason, declaring the Numpy include dirs globally fixes the issue (I tried with a locally built setup.py).

brentp commented 9 months ago

cheers. Still seeing if I can get the actions to upload wheels.