Skip to content

Commit 4be2f69

Browse files
authored
Merge pull request #329 from twm/pyproject-toml
Add PEP 517 / PEP 518 metadata
2 parents 49ef6bd + 138da36 commit 4be2f69

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

changelog.d/329.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PEP 517/518 ``build-system`` metadata is now provided in ``pyproject.toml``.

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
[build-system]
2+
requires = [
3+
"setuptools >= 35.0.2",
4+
"wheel >= 0.29.0",
5+
"incremental >= 21.3.0",
6+
]
7+
build-backend = "setuptools.build_meta"
8+
19
[tool.towncrier]
210
package = "treq"
311
package_dir = "src"

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ envlist =
44
{pypy3,py36,py37,py38,py39}-twisted_latest,
55
{pypy3,py36,py37,py38,py39}-twisted_trunk,
66
towncrier, twine, check-manifest, flake8, docs
7+
isolated_build = true
78

89
[testenv]
910
extras = dev

0 commit comments

Comments
 (0)