summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-04-25 15:11:27 +0100
committerGitHub <noreply@github.com>2019-04-25 15:11:27 +0100
commit2ebf7d56faa4129568164b8052f71e07c7e1b6a0 (patch)
treebba2cf5f331ccd0cf15465b6b86d0e6065ff981b /tox.ini
parentFix handling of SYNAPSE_NO_TLS in docker image (#5005) (diff)
parentChangelog (diff)
downloadsynapse-2ebf7d56faa4129568164b8052f71e07c7e1b6a0.tar.xz
Merge pull request #5098 from matrix-org/rav/fix_pep_517
Workarounds for pep-517 errors
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ef543890f9..d0e519ce46 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,6 +24,11 @@ deps =
     pip>=10
 
 setenv =
+    # we have a pyproject.toml, but don't want pip to use it for building.
+    # (otherwise we get an error about 'editable mode is not supported for
+    # pyproject.toml-style projects').
+    PIP_USE_PEP517 = false
+
     PYTHONDONTWRITEBYTECODE = no_byte_code
     COVERAGE_PROCESS_START = {toxinidir}/.coveragerc