Build fixes: query numpy path directly; setup pyproject.toml for pip#67
Conversation
|
I'm not sure what the issue is, but I get an error when running pip install . on this branch in a clean VM |
|
It succeeds if I remove |
|
For completeness: |
|
Ah, ran with Looks like the root of the issue is in the setup.py method that generates git hash versions. |
|
Thanks for that - I could reproduce with |
|
Great! Confirmed I can now pip install slycot directly from this branch without issues. |
|
It might be worth testing this in travis - I think it would be sufficient to replace |
|
|
This is intended to fix #3, #63, and #65. It works on Ubuntu 18.04, I'll still try to test it on Windows 10. I don't have an iOS (MacOS? OSX? ... ) machine to test on.
The test is to prepare a source tarball with
python setup.py sdist-- this needs numpy and scikit-build. Then, in a fresh environment without those packages, or anything other thanpip, runpip install slycot.0.3.blah.tar.gz(substitute version number for blah).pip install .might be the same thing, I'm not sure.