From 816f58cb2d6ebe06d2dda5c66797d0adc18feb31 Mon Sep 17 00:00:00 2001 From: David Tucker Date: Sun, 17 Nov 2019 19:50:47 -0600 Subject: [PATCH 1/2] Remove basepython declarations. These are the default for tox anyway, and for some reason having them in place combined with `isolated_build = True` causes an error, so best to remove it. --- tox.ini | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tox.ini b/tox.ini index 68165ea2..8d4f6c4d 100644 --- a/tox.ini +++ b/tox.ini @@ -16,12 +16,6 @@ envlist = py{27,35,36,37,38} [testenv] -basepython = - py27: python2.7 - py35: python3.5 - py36: python3.6 - py37: python3.7 - py38: python3.8 deps = check-manifest # If your project uses README.rst, uncomment the following: From 973fc0147afae9e06d63be2b66a87239f7caafc9 Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Sun, 17 Nov 2019 19:52:01 -0600 Subject: [PATCH 2/2] Opt in to PEP 517/518 Adds a `pyproject.toml` file and enables build isolation in tox. --- MANIFEST.in | 2 ++ pyproject.toml | 3 +++ tox.ini | 1 + 3 files changed, 6 insertions(+) create mode 100644 pyproject.toml diff --git a/MANIFEST.in b/MANIFEST.in index c066bbd4..ca3d4484 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,5 @@ +include pyproject.toml + # Include the README include *.md diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..930fc574 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools >= 41.4", "wheel >= 0.33.6"] +build-backend = "setuptools.build_meta" diff --git a/tox.ini b/tox.ini index 8d4f6c4d..3d5f5872 100644 --- a/tox.ini +++ b/tox.ini @@ -14,6 +14,7 @@ [tox] envlist = py{27,35,36,37,38} +isolated_build = True [testenv] deps =