Skip to content

Commit

Permalink
deploy.sh: install uwsgidecoders correctly, don't pip install uwsgi
Browse files Browse the repository at this point in the history
We aren't using the uwsgi python library anywhere so don't pip install
it. We just use the binary which can and should be supplied by the
distro.

uwsgidecoders is a normal python library we rely on, so install it the
same way we install other libraries.

Signed-off-by: California Sullivan <[email protected]>
  • Loading branch information
clsulliv authored and alexjch committed Apr 25, 2019
1 parent 4b5b57e commit cb52b30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ python-editor==1.0.3
redis==3.1.0
six==1.10.0
SQLAlchemy==1.1.13
uwsgidecorators==1.1.0
Werkzeug==0.12.2
WTForms==2.1
EOF
Expand All @@ -245,7 +246,7 @@ _install_pip_pkgs() {
local log=$REMOTE_APP_DIR/install.log
local reqs=$1
sudo rm -f "$log"
sudo bash -c "https_proxy=$https_proxy source venv/bin/activate && https_proxy=$https_proxy pip3 --log $log install -r $reqs uwsgi uwsgidecorators"
sudo bash -c "https_proxy=$https_proxy source venv/bin/activate && https_proxy=$https_proxy pip3 --log $log install -r $reqs"
}

_install_virtual_env() {
Expand Down

0 comments on commit cb52b30

Please sign in to comment.