Remove `setup.py`

Fix #11667.
This commit is contained in:
Ran Benita 2023-12-04 22:41:20 +02:00
parent 022f1b4de5
commit b8118ab70d
3 changed files with 3 additions and 5 deletions

View File

@ -0,0 +1,3 @@
pytest's ``setup.py`` file is removed.
If you relied on this file, e.g. to install pytest using ``setup.py install``,
please see `Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>`_ for alternatives.

View File

@ -1,6 +1,5 @@
[build-system]
requires = [
# sync with setup.py until we discard non-pep-517/518
"setuptools>=45.0",
"setuptools-scm[toml]>=6.2.3",
]

View File

@ -1,4 +0,0 @@
from setuptools import setup
if __name__ == "__main__":
setup()