Work around broken venv module in Ubuntu 16.04 / Debian 9

This commit is contained in:
j 2017-11-07 19:44:47 +01:00
parent 563902e129
commit e76a52b8ba
1 changed files with 5 additions and 0 deletions

5
ctl
View File

@ -10,6 +10,11 @@ if [ "$action" = "init" ]; then
cd "`dirname "$0"`"
BASE=`pwd`
python3 -m venv --system-site-packages .
# Work around broken venv module in Ubuntu 16.04 / Debian 9
if [ ! -e bin/pip ]; then
bin/python3 -m pip install -U pip
fi
if [ ! -d static/oxjs ]; then
git clone --depth 1 https://git.0x2620.org/oxjs.git static/oxjs
fi