Recovered from editor file-history snapshots; the original directory was never committed and has since been removed.
14 lines
467 B
Bash
Executable File
14 lines
467 B
Bash
Executable File
#!/bin/bash
|
|
# mcbladerf launcher - ensures SoapySDR system package is accessible
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
|
|
# Get system Python's site-packages path for SoapySDR
|
|
SYSTEM_SITE_PACKAGES=$(python3 -c "import site; print(':'.join(site.getsitepackages()))")
|
|
|
|
# Add system site-packages to PYTHONPATH so SoapySDR is found
|
|
export PYTHONPATH="${SYSTEM_SITE_PACKAGES}:${PYTHONPATH}"
|
|
|
|
# Run the MCP server
|
|
exec uv run --directory "$SCRIPT_DIR" mcbladerf "$@"
|