comparison scripts/validate-commits @ 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 bf85e6018daa
comparison
equal deleted inserted replaced
8192:b7caa806cf6e 8193:89e9aef9b983
32 for rev in $(hg log -r "$1" -T '{node}\n'); do 32 for rev in $(hg log -r "$1" -T '{node}\n'); do
33 hg log -r "$rev" 33 hg log -r "$rev"
34 hg update "$rev" 34 hg update "$rev"
35 35
36 cleanup 36 cleanup
37 virtualenv -p "$(command -v python3)" "$venv" 37 python3 -m venv "$venv"
38 source "$venv/bin/activate" 38 source "$venv/bin/activate"
39 pip install --upgrade pip setuptools 39 pip install --upgrade pip setuptools
40 pip install -e . -r dev_requirements.txt python-ldap python-pam 40 pip install -e . -r dev_requirements.txt python-ldap python-pam
41 41
42 # run-all-cleanup 42 # run-all-cleanup