Skip to content

Commit f05518e

Browse files
authored
Declare the build-system in pyproject.toml, per PEP 517 (#139)
Explicitly declare the build system per PEP 517, in order to use the modern setuptools backend rather than the legacy fallback. NFC.
1 parent d071787 commit f05518e

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
exclude *
2-
include changelog.rst DEVELOP.rst License.txt README.rst requirements-dev.txt setup.py
2+
include changelog.rst DEVELOP.rst License.txt pyproject.toml README.rst requirements-dev.txt setup.py
33
include scripts/docparser.py scripts/README.rst tox.ini
44
recursive-include pgspecial *.py
55
recursive-include tests *.py

changelog.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Upcoming
2+
========
3+
4+
* Added `build-system` section to `pyproject.toml` to use the modern setuptools backend.
5+
16
2.1.0 (2023-03-31)
27
=========
38

pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
15
[tool.black]
26
line-length = 88
37
target-version = ['py37']

0 commit comments

Comments
 (0)