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

setup_requires being installed when running help or checking version #474

Closed
ghost opened this issue Dec 14, 2015 · 2 comments
Closed

setup_requires being installed when running help or checking version #474

ghost opened this issue Dec 14, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 14, 2015

Originally reported by: jakirkham (Bitbucket: jakirkham, GitHub: jakirkham)


When running something like python setup.py --version or python setup.py --help, this results in the dependencies in setup_requires being installed. This seems a bit odd as we aren't trying to build anything yet. It would be nice if this was skipped in situations like this.


@ghost
Copy link
Author

ghost commented Dec 15, 2015

Original comment by RonnyPfannschmidt (Bitbucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt):


setup_requires declares what is needed to propperly run setup.py

in some cases they are required just to find the version

@ghost ghost added major bug labels Mar 29, 2016
@jaraco
Copy link
Member

jaraco commented Oct 22, 2021

setup_requires is deprecated #2823. One should use pep517 to load metadata (example).

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

No branches or pull requests

1 participant