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

Remove setup.py #315

Merged
merged 2 commits into from
Apr 5, 2022
Merged

Remove setup.py #315

merged 2 commits into from
Apr 5, 2022

Conversation

seifertm
Copy link
Contributor

setup.py is no longer necessary when the project is installed with a PEP 517 compatible build. Pip has support for PEP 517 since v19.0.

The setuptools documentation warns about removing setup.py when editable installations need to be possible. This shouldn't be an issue since editable installations are still possible with pip v21.1 or newer. [1]

I don't think a bump of the minimal setuptools version is necessary for this change.

Closes #283

[1] https://pip.pypa.io/en/stable/news/#v21-1

@codecov-commenter
Copy link

Codecov Report

Merging #315 (b9715b8) into master (bcdc049) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #315   +/-   ##
=======================================
  Coverage   93.09%   93.09%           
=======================================
  Files           3        3           
  Lines         275      275           
  Branches       41       41           
=======================================
  Hits          256      256           
  Misses         12       12           
  Partials        7        7           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bcdc049...b9715b8. Read the comment docs.

setup.py is no longer necessary when the project is installed with a PEP 517 compatible build. Pip has support for PEP 517 since v19.0.

The setuptools documentation warns about removing setup.py when editable installations need to be possible. This shouldn't be an issue since editable installations are still possible with pip v21.1 or newer. [1]

I don't think a bump of the minimal setuptools version is necessary for this change.

Closes pytest-dev#283

[1] https://pip.pypa.io/en/stable/news/#v21-1

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
@seifertm seifertm merged commit a23fb97 into pytest-dev:master Apr 5, 2022
@seifertm seifertm deleted the remove-setup.py branch October 23, 2023 06:15
@seifertm seifertm restored the remove-setup.py branch October 23, 2023 08:17
@seifertm seifertm deleted the remove-setup.py branch October 23, 2023 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TODO] Delete setup.py
2 participants