Skip to content
Snippets Groups Projects
Commit 2bb4f38f6522 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

setup-base-dir: use the current python to create the venv

This allow to control how that base directory is created.
parent bc4347dff507
No related merge requests found
......@@ -21,7 +21,7 @@
def install_poulpe():
"""setup a venv and install poulpe in it"""
print("Installing poulpe (editable) into a new venv")
install_venv = ["/usr/bin/env", "python3", "-m", "venv", ".venv"]
install_venv = [sys.executable, "-m", "venv", ".venv"]
update_pip = [
str(Path(".venv") / "bin" / "pip"),
"install",
......
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