From 872d0717bcab8ae3c1482d141c92c15f64bb7140 Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Tue, 5 Feb 2019 12:56:39 -0500 Subject: [PATCH] Explicitly declare our build backend This change more accurately reflects that ``setuptools`` is intended to use the ``build_meta`` backend from a previous installation. This may cause some problems with source builds if existing wheels for ``wheel`` and ``setuptools`` are not available. In that event, manually building a source wheel is recommended. --- MANIFEST.in | 1 - pyproject.toml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 16d60e5ffcf..9cce3c90e47 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -12,4 +12,3 @@ include launcher.c include msvc-build-launcher.cmd include pytest.ini include tox.ini -exclude pyproject.toml # Temporary workaround for #1644. diff --git a/pyproject.toml b/pyproject.toml index 07c23bb5f5c..164d946171b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,6 @@ [build-system] -requires = ["wheel"] +requires = ["setuptools", "wheel"] +build-backend="setuptools.build_meta" [tool.towncrier] package = "setuptools"