diff --git a/bin/setup-base-dir b/bin/setup-base-dir
index f89ec07882461ea4c095a2d7c47acf2e749e9251_YmluL3NldHVwLWJhc2UtZGly..a405bf43f90af14635b77c6a7cc399523a781124_YmluL3NldHVwLWJhc2UtZGly 100755
--- a/bin/setup-base-dir
+++ b/bin/setup-base-dir
@@ -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")