Restore mcbladerf from 2026-02-08 working copy
Recovered from editor file-history snapshots; the original directory was never committed and has since been removed.
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/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 "$@"
|
||||
Reference in New Issue
Block a user