diff options
author | mattip <matti.picus@gmail.com> | 2021-10-03 09:38:09 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2021-10-03 09:38:09 +0300 |
commit | 161ac32de7239e3bf3dae1b4cf66d76386ce5aa8 (patch) | |
tree | f173438457a3aad32c62891b89aac2c4fff08053 /tools/travis-before-install.sh | |
parent | 8262dc987e8edba4fb261fa5f1e13ed6729d0a8c (diff) | |
download | numpy-161ac32de7239e3bf3dae1b4cf66d76386ce5aa8.tar.gz |
use venv instead of virtualenv
Diffstat (limited to 'tools/travis-before-install.sh')
-rwxr-xr-x | tools/travis-before-install.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/travis-before-install.sh b/tools/travis-before-install.sh index 65aa4ad13..056e97472 100755 --- a/tools/travis-before-install.sh +++ b/tools/travis-before-install.sh @@ -22,13 +22,12 @@ pushd builds # Build into own virtualenv # We therefore control our own environment, avoid travis' numpy -pip install -U virtualenv if [ -n "$USE_DEBUG" ] then - virtualenv --python=$(which python3-dbg) venv + python3-dbg -m venv venv else - virtualenv --python=python venv + python -m venv venv fi source venv/bin/activate |