From 900aad5a597a43ab4c8ea0efa8bf3041a195bf56 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Mon, 28 Jan 2019 21:51:03 +0100 Subject: tweak #1644 workaround to fix `test_pip_upgrade_from_source` Explicitly exclude `pyproject.toml` so it's never added (e.g. because `setuptools_scm` is used). --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) diff --git a/MANIFEST.in b/MANIFEST.in index 9cce3c90..16d60e5f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -12,3 +12,4 @@ include launcher.c include msvc-build-launcher.cmd include pytest.ini include tox.ini +exclude pyproject.toml # Temporary workaround for #1644. -- cgit v1.2.3 From d012529dbc6576dd5cfe31cafea3d8061ec5ef4f Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Fri, 1 Feb 2019 13:56:25 -0500 Subject: Drop build-backend from pyproject.toml Because we do not include setuptools in our build requirements and there is no mechanism for a PEP 517 backend to bootstrap itself, setuptools cannot use setuptools.build_meta as its backend, and cannot use PEP 517 to build itself. Additionally, if you specify build-backend, it is impossible to disable PEP 517 builds with pip's --no-use-pep517 flag. --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4ef804ec..07c23bb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,5 @@ [build-system] requires = ["wheel"] -build-backend = "setuptools.build_meta" [tool.towncrier] package = "setuptools" -- cgit v1.2.3