mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Merge pull request #5098 from matrix-org/rav/fix_pep_517
Workarounds for pep-517 errors
This commit is contained in:
commit
2ebf7d56fa
@ -272,7 +272,7 @@ to install using pip and a virtualenv::
|
|||||||
|
|
||||||
virtualenv -p python3 env
|
virtualenv -p python3 env
|
||||||
source env/bin/activate
|
source env/bin/activate
|
||||||
python -m pip install -e .[all]
|
python -m pip install --no-pep-517 -e .[all]
|
||||||
|
|
||||||
This will run a process of downloading and installing all the needed
|
This will run a process of downloading and installing all the needed
|
||||||
dependencies into a virtual env.
|
dependencies into a virtual env.
|
||||||
|
1
changelog.d/5098.misc
Normal file
1
changelog.d/5098.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Add workarounds for pep-517 install errors.
|
5
tox.ini
5
tox.ini
@ -24,6 +24,11 @@ deps =
|
|||||||
pip>=10
|
pip>=10
|
||||||
|
|
||||||
setenv =
|
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
|
PYTHONDONTWRITEBYTECODE = no_byte_code
|
||||||
COVERAGE_PROCESS_START = {toxinidir}/.coveragerc
|
COVERAGE_PROCESS_START = {toxinidir}/.coveragerc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user