Skip to content
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

Use pyproject.toml to specify setup requirement and stop invoking pip from setup.py #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

msakai
Copy link

@msakai msakai commented Jul 10, 2020

I think that invoking pip from setup.py is not a desirable way to ensure numpy and Cython are installed, because pip may not be in the $PATH, or in a different name (e.g. pip3), or a user want to install using --user.

By using pyproject.toml a build system can know build requirements without executing setup.py and install them appropriately. This feature was merged to pip in 2017 (pypa/pip#4144) and I think it is okay to assume the availability of this feature now in 2020.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant