Files
courier-emu/Makefile
T
Cryan209andClaude Opus 5 036663705c Launch the harness without setting up an environment first
The README asked for a virtualenv and a pip install before anything
would run, and the install it named was non-editable, which drops
native/ from the installed package and breaks dsp-run from any
directory but the repository root.

./courier creates and updates its own environment on first use and
then costs about 80 ms per invocation. It reinstalls when
pyproject.toml moves, prefers uv when that is present, and installs
editable so the C5x sources stay reachable.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-05 17:56:27 +12:00

18 lines
344 B
Makefile

VENV ?= .venv
PYTHON = $(VENV)/bin/python
.PHONY: setup test clean-venv clean-build
# Create the virtualenv and install every extra, without running the CLI.
setup:
@./courier --help >/dev/null
test: setup
$(PYTHON) -m unittest discover -s tests -v
clean-venv:
rm -rf $(VENV)
clean-build:
rm -rf .build build dist courier_emu.egg-info