File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
5858cd " ${REPO_ROOT} "
5959
6060CONTROLPLOTS_PROJECT=" examples_cp"
61+ TEST_PROJECT=" test"
6162
6263# ── Interactive backend selection ─────────────────────────────────────────────
6364
@@ -290,11 +291,10 @@ if [[ "$_backend" == "system" ]]; then
290291
291292 echo " "
292293 echo " Saving python_exe=$_syspython to LocalPreferences.toml files..."
293- # Write to both the root project and examples_cp project, because
294- # `julia --project=examples_cp` reads examples_cp/LocalPreferences.toml,
295- # not the root one.
294+ # Write to the root project plus the subprojects that load PythonCall.
296295 _write_system_python_prefs " LocalPreferences.toml"
297296 _write_system_python_prefs " ${CONTROLPLOTS_PROJECT} /LocalPreferences.toml"
297+ _write_system_python_prefs " ${TEST_PROJECT} /LocalPreferences.toml"
298298
299299 _set_mplbackend_qtagg
300300 _verify_controlplots
@@ -328,6 +328,7 @@ elif [[ "$_backend" == "conda" ]]; then
328328 }
329329 _remove_python_prefs " LocalPreferences.toml"
330330 _remove_python_prefs " ${CONTROLPLOTS_PROJECT} /LocalPreferences.toml"
331+ _remove_python_prefs " ${TEST_PROJECT} /LocalPreferences.toml"
331332
332333 _install_matplotlib_condapkg
333334
You can’t perform that action at this time.
0 commit comments