-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.built
More file actions
32 lines (24 loc) · 881 Bytes
/
Makefile.built
File metadata and controls
32 lines (24 loc) · 881 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
# Makefile for fastflowtransform
# Change this if your venv has a different name/path
VENV = .venv
.PHONY: help venv build check upload-test upload clean
help:
@echo "Useful commands:"
@echo " make venv - create virtualenv and install build"
@echo " make build - build wheel + sdist into dist/"
@echo " make check - run twine check on dist/*"
@echo " make upload-test - upload dist/* to TestPyPI (using uvx + twine)"
@echo " make upload - upload dist/* to PyPI (using uvx + twine)"
@echo " make clean - remove build artifacts"
venv:
python3 -m venv $(VENV)
$(VENV)/bin/python -m pip install --upgrade pip
$(VENV)/bin/uv pip install build
build: venv
$(VENV)/bin/python -m build
check:
uvx twine check dist/*
upload-test: build check
uvx twine upload --repository testpypi dist/*
upload: build check
uvx twine upload dist/*