Python package source workaround

- system pythohn packages have priority over deadsnakes PPA
This commit is contained in:
Peter Šurda 2022-04-25 16:08:59 +08:00
parent 3388fc1d59
commit 9c955b591c
Signed by untrusted user: PeterSurda
GPG Key ID: 3E47497CF67ABB95

View File

@ -189,9 +189,9 @@ if [[ "$(declare -p travis_python)" =~ "declare -a" ]]; then
echo "skipping python-$pv due to TRAVIS_PYTHON=$TRAVIS_PYTHON"
continue
fi
#if [ ! -e "$ppath" ]; then
if [ ! -e "$ppath" ]; then
sudo apt -y install "python$pv" "python${pv}-dev"
#fi
fi
if [ -n "$options" ]; then
virtualenv_init "$ppath" "$pv" "$options"