-
Notifications
You must be signed in to change notification settings - Fork 528
Fix pip installation to work without pre-installed numpy/cython #266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@stefanistrate thx ! are the CIs failure related? I suspect the CIs script should be updated so cython is not installed upfront in order to check this new build scenario. |
Yes, those are related indeed. Let me have another try at fixing this. When you're saying that the "CI script should be updated", you mean removing this line? I imagine the whole
instead of the current version:
|
I made some changes in the meantime and I'm waiting for all the workflows to run, but I noticed that the CircleCI workflows fail with some sort of writing permission error:
I don't think this is because of my change. Can you take a look? |
Hello @stefanistrate thank you so much for this PR. We are working on the release 0.8 right now and we think this will help a lot of people. Since we did some change in the setup.py you had some conflicts so I have been working on PR #293 to test the build without installing the requirements, first and it seems to work in all cases now. |
Great to see this! |
PR #293 is merged with your suggestion. I'm closing this PR. Thank you again for introducing me to pyproject.toml (honestly there is no good documentation on this) this will make our life easier ;) |
Types of changes
Motivation and context / Related issue
This will fix the installation process through
pip
. No need for pre-installednumpy
andcython
, as mentioned here: https://pypi.org/project/POT/How has this been tested (if it applies)
Installation (and compillation) from the github repository through
pip
finished successfully.Checklist