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:
@@ -0,0 +1,20 @@
|
||||
.PHONY: setup run test clean
|
||||
|
||||
# SoapySDR requires system Python with its bindings installed
|
||||
# This creates a venv with access to system site-packages
|
||||
setup:
|
||||
@echo "Creating venv with system site-packages (required for SoapySDR)..."
|
||||
uv venv --system-site-packages --python 3.14
|
||||
@echo "Installing dependencies..."
|
||||
uv pip install -e .
|
||||
@echo ""
|
||||
@echo "Setup complete! Run with: uv run mcbladerf"
|
||||
|
||||
run:
|
||||
uv run mcbladerf
|
||||
|
||||
test:
|
||||
uv run python -c "import SoapySDR; print('SoapySDR OK'); from mcbladerf import device; print(f'Devices: {len(device.list_devices())}')"
|
||||
|
||||
clean:
|
||||
rm -rf .venv __pycache__ src/mcbladerf/__pycache__ .ruff_cache
|
||||
Reference in New Issue
Block a user