2022-06-25 18:44:02 +00:00
|
|
|
.PHONY: dist dev build clean
|
2022-03-19 21:38:34 +00:00
|
|
|
.DEFAULT_GOAL := dev
|
|
|
|
|
|
|
|
|
2022-06-25 18:44:02 +00:00
|
|
|
# Make distribution tarballs
|
|
|
|
dist:
|
2022-03-19 21:38:34 +00:00
|
|
|
pip install -U build
|
|
|
|
python -m build
|
|
|
|
|
|
|
|
|
2022-06-25 18:44:02 +00:00
|
|
|
# Incrementally build for development
|
2022-03-19 21:38:34 +00:00
|
|
|
dev:
|
2022-06-25 18:44:02 +00:00
|
|
|
KLOOP_DEBUG=1 python setup.py develop
|
|
|
|
|
|
|
|
|
|
|
|
# Always build for development
|
|
|
|
build:
|
|
|
|
KLOOP_FORCE=1 KLOOP_DEBUG=1 python setup.py develop
|
2022-03-19 21:38:34 +00:00
|
|
|
|
|
|
|
|
2022-06-25 18:44:02 +00:00
|
|
|
# Clean up everything including the Rust build cache
|
2022-03-19 21:38:34 +00:00
|
|
|
clean:
|
2022-06-25 18:44:02 +00:00
|
|
|
python setup.py clean --all
|