-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (30 loc) · 972 Bytes
/
Makefile
File metadata and controls
41 lines (30 loc) · 972 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
35
36
37
38
39
40
41
all: data test
format:
ruff format .
test:
pytest .
install:
uv pip install -e ".[dev]" --config-settings editable_mode=compat
download:
python policyengine_uk_data/storage/download_private_prerequisites.py
upload:
python policyengine_uk_data/storage/upload_completed_datasets.py
documentation:
pip install --pre "jupyter-book>=2"
jb clean docs && jb build docs
python docs/add_plotly_to_book.py docs
data:
python policyengine_uk_data/datasets/create_datasets.py
data-local:
@PY_PATH="$(PWD)"; \
if [ -d ../policyengine-uk/policyengine_uk ]; then \
PY_PATH="$(abspath ../policyengine-uk):$$PY_PATH"; \
fi; \
PYTHONPATH="$$PY_PATH" uv run --python 3.13 python policyengine_uk_data/datasets/create_datasets.py
build:
python -m build
publish:
twine upload dist/*
changelog:
python .github/bump_version.py
towncrier build --yes --version $$(python -c "import re; print(re.search(r'version = \"(.+?)\"', open('pyproject.toml').read()).group(1))")