Allow creation of python3 venv
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
8f27eb649e
commit
3af386d881
1 changed files with 1 additions and 1 deletions
2
bin/venv
2
bin/venv
|
@ -3,7 +3,7 @@
|
||||||
set -ex
|
set -ex
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
[ -e .venv ] || virtualenv .venv
|
[ -e .venv ] || virtualenv "$@" .venv
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
|
||||||
[ -f requirements.txt ] && pip install -r requirements.txt
|
[ -f requirements.txt ] && pip install -r requirements.txt
|
||||||
|
|
Loading…
Reference in a new issue