Skip to content

Commit cfc20a7

Browse files
committed
Remove setup.py completely. Requires setuptools>=64.0.0
1 parent 6aa4888 commit cfc20a7

File tree

4 files changed

+6
-16
lines changed

4 files changed

+6
-16
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ TESTDIR=tmp-test-dir-with-unique-name
44
PYTEST_COV_ARGS=--cov=$(PROJECT) --cov-config=../pyproject.toml \
55
--cov-report=term-missing --cov-report=xml --cov-report=html \
66
--pyargs ${PYTEST_EXTRA}
7-
BLACK_FILES=$(PROJECT) setup.py doc/conf.py examples
7+
BLACK_FILES=$(PROJECT) doc/conf.py examples
88
BLACKDOC_OPTIONS=--line-length 79
9-
DOCFORMATTER_FILES=$(PROJECT) setup.py doc/conf.py examples
9+
DOCFORMATTER_FILES=$(PROJECT) doc/conf.py examples
1010
DOCFORMATTER_OPTIONS=--recursive --pre-summary-newline --make-summary-multi-line --wrap-summaries 79 --wrap-descriptions 79
11-
FLAKE8_FILES=$(PROJECT) setup.py doc/conf.py examples
12-
LINT_FILES=$(PROJECT) setup.py doc/conf.py
11+
FLAKE8_FILES=$(PROJECT) doc/conf.py examples
12+
LINT_FILES=$(PROJECT) doc/conf.py
1313

1414
help:
1515
@echo "Commands:"

doc/maintenance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ alongside the rest of the Scientific Python ecosystem, and therefore supports:
167167
* All minor versions of NumPy released in the 24 months prior to the project,
168168
and at minimum the last three minor versions.
169169

170-
In `setup.py`, the `python_requires` variable should be set to the minimum
170+
In `pyproject.toml`, the `requires-python` key should be set to the minimum
171171
supported version of Python. Minimum Python and NumPy version support should be
172172
adjusted upward on every major and minor release, but never on a patch release.
173173

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=61", "setuptools_scm[toml]>=6.2"]
2+
requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2"]
33
build-backend = "setuptools.build_meta"
44

55
[project]

setup.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)