Merge pull request #11668 from bluetech/rm-setup-py

Remove `setup.py`
This commit is contained in:
Ran Benita 2023-12-05 17:29:43 +02:00 committed by GitHub
commit cd269f0e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()