comparison scripts/make-release @ 8193:89e9aef9b983

py3: use "python3 -m venv" instead of virtualenv package
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 03 Feb 2020 16:30:08 +0100
parents aa6f17a53b49
children 61bd04b90f58
comparison
equal deleted inserted replaced
8192:b7caa806cf6e 8193:89e9aef9b983
13 13
14 venv=$(mktemp -d --tmpdir kallithea-release-XXXXX) 14 venv=$(mktemp -d --tmpdir kallithea-release-XXXXX)
15 trap cleanup EXIT 15 trap cleanup EXIT
16 16
17 echo "Setting up a fresh virtualenv in $venv" 17 echo "Setting up a fresh virtualenv in $venv"
18 virtualenv -p python3 "$venv" 18 python3 -m venv "$venv"
19 . "$venv/bin/activate" 19 . "$venv/bin/activate"
20 20
21 echo "Install/verify tools needed for building and uploading stuff" 21 echo "Install/verify tools needed for building and uploading stuff"
22 pip install --upgrade -e . -r dev_requirements.txt twine python-ldap python-pam 22 pip install --upgrade -e . -r dev_requirements.txt twine python-ldap python-pam
23 23