Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5098 from matrix-org/rav/fix_pep_517
Browse files Browse the repository at this point in the history
Workarounds for pep-517 errors
  • Loading branch information
richvdh authored and babolivier committed May 8, 2019
1 parent 15b7a84 commit 09ea63a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Synapse offers two database engines:
* `PostgreSQL <https://www.postgresql.org>`_

By default Synapse uses SQLite in and doing so trades performance for convenience.
SQLite is only recommended in Synapse for testing purposes or for servers with
SQLite is only recommended in Synapse for testing purposes or for servers with
light workloads.

Almost all installations should opt to use PostreSQL. Advantages include:
Expand Down Expand Up @@ -272,7 +272,7 @@ to install using pip and a virtualenv::

virtualenv -p python3 env
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
dependencies into a virtual env.
Expand Down
1 change: 1 addition & 0 deletions changelog.d/5098.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add workarounds for pep-517 install errors.
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 09ea63a

Please sign in to comment.