inpoly-python icon indicating copy to clipboard operation
inpoly-python copied to clipboard

bootstrap numpy without its import

Open krober10nd opened this issue 4 years ago • 5 comments

~~* following https://stackoverflow.com/questions/19919905/how-to-bootstrap-numpy-installation-in-setup-py~~

  • following https://stackoverflow.com/questions/54117786/add-numpy-get-include-argument-to-setuptools-without-preinstalled-numpy

krober10nd avatar Aug 26 '21 15:08 krober10nd

@dengwirda having some problems with the bootstrap numpy technique used to package this (exclusively with python3.9). I attempted to bypass this potential problem. Any thoughts on releasing a new version with this merged in?

The Travis CI didn't all fail. It shows only a problem with Windows...

krober10nd avatar Sep 01 '21 05:09 krober10nd

@krober10nd thanks for looking into this --- it seems there's a few different python-version/windows/cibuildwheel incompatibilities that need to be worked through here. I wish the python/cython workflows were a little more stable... I'll try to look at this over the next week though.

dengwirda avatar Sep 01 '21 15:09 dengwirda

Cool, thanks. Well I temporarily switched to using this version to get around the numpy bootstrap issue and I can confirm it worked on the CI server for the Python3.9 tests.

krober10nd avatar Sep 01 '21 16:09 krober10nd

TBH, it would also be nice to push a warning to the screen in the case, it can't use Cython to compile so users can anticipate a big slow down.

krober10nd avatar Sep 01 '21 16:09 krober10nd

any fixes for this?

krober10nd avatar Mar 09 '22 00:03 krober10nd