Skip to content

WARNING: setup.py install is deprecated when using build #3422

Answered by abravalheri
stinovlas asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @stinovlas thank you very much for opening this discussion.

WARNING setup.py install is deprecated. Use build and pip and other standards-based tools.

If you already have a pyproject.toml with a build-backend = "setuptools.build_meta", I suspect that the warn happens because of an old version of virtualenv/venv being used to install setuptools (but I cannot be sure without seeing a reproduction)... Maybe updating the installations of build[virtualenv] and virtualenv in you environment would solve that?

is: will this be supported even after setup.py install is removed?

Yes, there is no currently plan to deprecate the existence of the setup.py file. What is actually deprecated is the…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@stinovlas
Comment options

@abravalheri
Comment options

Answer selected by stinovlas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants