Skip to content
Snippets Groups Projects
Commit 23b59c6a authored by James Vasile's avatar James Vasile
Browse files

Use venv module instead of virtualenv

The venv module is part of standard python, so let's use it instead of
virtualenv, which requires its own installation step.
parent 16640fc8
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ all-redacted:
# it's one less thing for a user to think about.
venv:
@if ! ${PYBIN} -c "import ${PYTHON_PROVIDES}"; then \
test -d venv || virtualenv -p python3 venv ; \
test -d venv || python3 -m venv venv ; \
venv/bin/pip3 install -r ${OTS_DOCTOOLS_DIR}/requirements.txt; \
fi;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment