Recovered from editor file-history snapshots; the original directory was never committed and has since been removed.
21 lines
638 B
Makefile
21 lines
638 B
Makefile
.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
|