mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-02 20:59:12 +01:00
Merge pull request #1657 from matrix-org/rav/hurry_up_pip
Let pip install multiple packages at once
This commit is contained in:
commit
7d855447ef
2 changed files with 9 additions and 10 deletions
|
@ -427,7 +427,7 @@ to install using pip and a virtualenv::
|
||||||
|
|
||||||
virtualenv env
|
virtualenv env
|
||||||
source env/bin/activate
|
source env/bin/activate
|
||||||
python synapse/python_dependencies.py | xargs -n1 pip install
|
python synapse/python_dependencies.py | xargs pip install
|
||||||
pip install setuptools_trial mock
|
pip install setuptools_trial mock
|
||||||
|
|
||||||
This will run a process of downloading and installing all the needed
|
This will run a process of downloading and installing all the needed
|
||||||
|
@ -650,4 +650,3 @@ matrix.org on. The default setting is currently 0.1, which is probably
|
||||||
around a ~700MB footprint. You can dial it down further to 0.02 if
|
around a ~700MB footprint. You can dial it down further to 0.02 if
|
||||||
desired, which targets roughly ~512MB. Conversely you can dial it up if
|
desired, which targets roughly ~512MB. Conversely you can dial it up if
|
||||||
you need performance for lots of users and have a box with a lot of RAM.
|
you need performance for lots of users and have a box with a lot of RAM.
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,6 @@ tox -e py27 --notest -v
|
||||||
|
|
||||||
TOX_BIN=$TOX_DIR/py27/bin
|
TOX_BIN=$TOX_DIR/py27/bin
|
||||||
$TOX_BIN/pip install setuptools
|
$TOX_BIN/pip install setuptools
|
||||||
python synapse/python_dependencies.py | xargs -n1 $TOX_BIN/pip install
|
{ python synapse/python_dependencies.py
|
||||||
$TOX_BIN/pip install lxml
|
echo lxml psycopg2
|
||||||
$TOX_BIN/pip install psycopg2
|
} | xargs $TOX_BIN/pip install
|
||||||
|
|
Loading…
Reference in a new issue