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

setup-base-dir: make the source of the poulpe install a parameter

parent f89ec0788246
No related branches found
No related tags found
1 merge request!27setup-base-dir: also add a symlink to poulpe directly
......@@ -30,7 +30,7 @@
TOOLING = "tooling"
def install_poulpe():
def install_poulpe(poulpe_dir):
"""setup a venv and install poulpe in it"""
print("Installing poulpe (editable) into a new venv")
install_venv = [sys.executable, "-m", "venv", ".venv"]
......@@ -46,7 +46,7 @@
"install",
"--quiet",
"--editable",
str(POULPE_DIR),
str(poulpe_dir),
]
commands = [install_venv, update_pip, install_poulpe]
......@@ -132,7 +132,7 @@
old_dir = os.curdir
os.chdir(base_path)
try:
install_poulpe()
install_poulpe(POULPE_DIR)
setup_quick_access(base_path)
print("Create symlinks to Poulpe")
......
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