From 0c7a41fd01fc47fe10df3437fce5417bbfc7c72c Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Mon, 29 Apr 2024 11:51:48 +0200 Subject: [PATCH] Install fmiprecice and micro-manager from pipx instead of setting up venv --- provisioning/install-fmiprecice.sh | 10 ++-------- provisioning/install-micro-manager.sh | 8 ++------ 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/provisioning/install-fmiprecice.sh b/provisioning/install-fmiprecice.sh index ab18718..b9de098 100644 --- a/provisioning/install-fmiprecice.sh +++ b/provisioning/install-fmiprecice.sh @@ -1,11 +1,5 @@ #!/usr/bin/env bash set -ex -python -m venv ~/python-venvs/fmiprecice -# shellcheck disable=SC1090 # We don't need to lint this external script -source ~/python-venvs/fmiprecice/bin/activate - -# Install the FMI runner from PIP -python -m pip install fmiprecice - -deactivate +# Install the FMI runner (stand-alone application) from PyPI +pipx install fmiprecice diff --git a/provisioning/install-micro-manager.sh b/provisioning/install-micro-manager.sh index 67b232b..9484fac 100644 --- a/provisioning/install-micro-manager.sh +++ b/provisioning/install-micro-manager.sh @@ -1,10 +1,6 @@ #!/usr/bin/env bash set -ex -python -m venv ~/python-venvs/micro-manager -# shellcheck disable=SC1090 # We don't need to lint this external script -source ~/python-venvs/micro-manager/bin/activate +# Install the micro-manager (stand-alone application) from PyPI +pipx install micro-manager-precice -python -m pip install micro-manager-precice - -deactivate