Allow specifying Python version for virtual environment creation
This commit is contained in:
1 parent
064364caa6
commit
15349c9390
1 file changed
+3
-1
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
#! /usr/bin/env bash
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
python3 -m venv .venv
|
VERSION="${1:-3}"
|
||||||
|
|
||||||
|
python${VERSION} -m venv .venv
|
||||||
./.venv/bin/pip install --upgrade pip
|
./.venv/bin/pip install --upgrade pip
|
||||||
./.venv/bin/pip install -r requirements.txt
|
./.venv/bin/pip install -r requirements.txt
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user