-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (25 loc) · 902 Bytes
/
Copy pathMakefile
File metadata and controls
34 lines (25 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.PHONY: help install dev test server client demo lint clean
help:
@echo "make install install package + server/client extras"
@echo "make dev install with dev/test extras"
@echo "make test run the test suite"
@echo "make server run the denoise server (spectral-gate backend)"
@echo "make client run the streaming mic client (needs a mic)"
@echo "make demo offline before/after demo on a synthetic clip"
@echo "make clean remove caches and build artifacts"
install:
pip install -e ".[server,client]"
dev:
pip install -e ".[server,client,dev]"
test:
pytest
server:
python -m denoisestream.server --enhancer spectral-gate
client:
python -m denoisestream.client --url http://127.0.0.1:8765 stream --play
demo:
python scripts/demo.py
lint:
ruff check src tests
clean:
rm -rf .pytest_cache .ruff_cache **/__pycache__ build dist *.egg-info src/*.egg-info