21 lines
752 B
Bash
21 lines
752 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
PLUGIN_REPO_NAME="$1"
|
|
|
|
echo "--- Installing Python Environment ---"
|
|
|
|
# --- Step 1: Install Python Packages ---
|
|
echo "=== Install Python Environment ==="
|
|
echo "Running on Python version $(python -V)"
|
|
|
|
python -m pip install --upgrade pip
|
|
pip install uv
|
|
uv pip install --system -e ./_bec_checkout_/bec/bec_lib/[dev]
|
|
uv pip install --system -e ./_bec_checkout_/bec/bec_ipython_client
|
|
uv pip install --system -e ./_bec_checkout_/bec/bec_server[dev]
|
|
uv pip install --system -e ./_bec_widgets_checkout_/bec_widgets[dev,pyside6]
|
|
uv pip install --system -e ./_ophyd_devices_checkout_/ophyd_devices[dev]
|
|
pip install -e "./_plugin_checkout_/${PLUGIN_REPO_NAME}[dev]"
|
|
|
|
echo "=== Completed Python Environment Installation ===" |