puppetapi/Makefile
Ben Vincent fecdfa163c feat: add makefile
- add venv, deps, build and clean targets
- updated gitignore
2024-12-15 19:27:24 +11:00

16 lines
320 B
Makefile

venv:
uv venv --python 3.11
deps: venv
source .venv/bin/activate && \
uv pip install -r requirements.txt
build: deps
source .venv/bin/activate && \
uv pip install pyinstaller && \
.venv/bin/pyinstaller --onefile puppetapi.py --distpath ./dist --workpath ./build
clean:
rm -rf ./dist ./build
rm -f ./*.spec