Skip to content

Commit

Permalink
Python3 (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
ab77 committed May 19, 2019
1 parent 0e3da03 commit e77d47b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
1 change: 0 additions & 1 deletion auth/requirements.txt

This file was deleted.

3 changes: 3 additions & 0 deletions auth/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dnspython
git+https://github.com/webpy/webpy#egg=web.py
passlib
3 changes: 0 additions & 3 deletions auth/requirements2.txt

This file was deleted.

3 changes: 0 additions & 3 deletions auth/requirements3.txt

This file was deleted.

10 changes: 4 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -289,14 +289,12 @@ if [[ "${IPV6}" == '1' ]] && [[ -n "${EXTIP6}" ]]; then
fi
log_action_end_msg $?

log_action_begin_msg "installing python-pip and docker-compose"
log_action_begin_msg "installing Python3 and requirements"
sudo apt-get -y update &>> ${CWD}/netflix-proxy.log\
&& sudo apt-get -y install python-pip sqlite3 &>> ${CWD}/netflix-proxy.log\
&& pip install --upgrade pip setuptools &>> ${CWD}/netflix-proxy.log\
&& $(which pip) install virtualenv &>> ${CWD}/netflix-proxy.log\
&& $(which virtualenv) venv &>> ${CWD}/netflix-proxy.log\
&& sudo apt-get -y install python3.6 python3-venv python3-pip sqlite3 &>> ${CWD}/netflix-proxy.log\
&& $(which python) -m venv venv &>> ${CWD}/netflix-proxy.log\
&& source venv/bin/activate &>> ${CWD}/netflix-proxy.log\
&& $(which pip) install docker-compose &>> ${CWD}/netflix-proxy.log
&& $(which pip) install -r requirements.txt &>> ${CWD}/netflix-proxy.log
log_action_end_msg $?

log_action_begin_msg "configuring admin backend"
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker-compose

0 comments on commit e77d47b

Please sign in to comment.