Skip to content

Commit

Permalink
Remove setup.py (#315)
Browse files Browse the repository at this point in the history
* build: Remove deprecated setup.py.

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

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>

* docs: Added changelog entry about removal of setup.py.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
  • Loading branch information
seifertm committed Apr 5, 2022
1 parent 5a3ca7b commit a23fb97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Changelog
=========

UNRELEASED
=================
- Removes `setup.py` since all relevant configuration is present `setup.cfg`. Users requiring an editable installation of pytest-asyncio need to use pip v21.1 or newer. `#283 <https://github.com/pytest-dev/pytest-asyncio/issues/283>`_

0.18.3 (22-03-25)
=================
- Adds `pytest-trio <https://pypi.org/project/pytest-trio/>`_ to the test dependencies
Expand Down
4 changes: 0 additions & 4 deletions setup.py

This file was deleted.

0 comments on commit a23fb97

Please sign in to comment.