Quote pip install with brackets to avoid shell interpretation. (#9151)

pull/9161/head
Patrick Cloke 2021-01-18 11:12:20 -05:00 committed by GitHub
parent 6633a4015a
commit de45bf5b5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

1
changelog.d/9151.doc Normal file
View File

@ -0,0 +1 @@
Quote `pip install` packages when extras are used to avoid shells interpreting bracket characters.

View File

@ -18,7 +18,7 @@ connect to a postgres database.
virtualenv](../INSTALL.md#installing-from-source), you can install
the library with:
~/synapse/env/bin/pip install matrix-synapse[postgres]
~/synapse/env/bin/pip install "matrix-synapse[postgres]"
(substituting the path to your virtualenv for `~/synapse/env`, if
you used a different path). You will require the postgres

View File

@ -59,7 +59,7 @@ The appropriate dependencies must also be installed for Synapse. If using a
virtualenv, these can be installed with:
```sh
pip install matrix-synapse[redis]
pip install "matrix-synapse[redis]"
```
Note that these dependencies are included when synapse is installed with `pip