Use python -m venv instead on pyvenv in tests

This commit is contained in:
Yamashita, Yuu
2016-07-16 06:31:30 +00:00
parent 7dc9f78589
commit 187156d600
7 changed files with 26 additions and 15 deletions

View File

@@ -141,7 +141,7 @@ detect_venv() {
if [ -x "${prefix}/bin/virtualenv" ]; then
HAS_VIRTUALENV=1
fi
if "${prefix}/bin/python" -m venv --help 1>/dev/null 2>&1; then
if pyenv-exec python -m venv --help 1>/dev/null 2>&1; then
HAS_PYVENV=1
fi
fi