From 13bc8b78d74eff7e596b0c21732030d57e394b55 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 13 Nov 2021 03:42:16 +0000 Subject: [PATCH] python: enable isolated build in tox.ini This makes tox install build system configured in pyproject.toml according to PEP 518 rather than assuming setuptools. --- python/pyproject.toml | 1 + python/tox.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/python/pyproject.toml b/python/pyproject.toml index 54695c039..43528a024 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,5 +1,6 @@ [build-system] requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2", "cffi>=1.0.0"] +build-backend = "setuptools.build_meta" [tool.setuptools_scm] root = ".." diff --git a/python/tox.ini b/python/tox.ini index d459cb9fd..bb9a07b1a 100644 --- a/python/tox.ini +++ b/python/tox.ini @@ -1,4 +1,5 @@ [tox] +isolated_build = true envlist = py3 lint