diff --git a/changelog.d/329.feature.rst b/changelog.d/329.feature.rst new file mode 100644 index 00000000..0d1ec333 --- /dev/null +++ b/changelog.d/329.feature.rst @@ -0,0 +1 @@ +PEP 517/518 ``build-system`` metadata is now provided in ``pyproject.toml``. diff --git a/pyproject.toml b/pyproject.toml index 1173adff..f97064fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,11 @@ +[build-system] +requires = [ + "setuptools >= 35.0.2", + "wheel >= 0.29.0", + "incremental >= 21.3.0", +] +build-backend = "setuptools.build_meta" + [tool.towncrier] package = "treq" package_dir = "src" diff --git a/tox.ini b/tox.ini index 530d8be0..f1bd38af 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = {pypy3,py36,py37,py38,py39}-twisted_latest, {pypy3,py36,py37,py38,py39}-twisted_trunk, towncrier, twine, check-manifest, flake8, docs +isolated_build = true [testenv] extras = dev