-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
46 lines (35 loc) · 1.32 KB
/
Makefile
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
42
43
44
45
46
all: data test
format:
black . -l 79
test:
pytest
install:
pip install policyengine-uk
pip install policyengine>=2.4
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
docker:
docker buildx build --platform linux/amd64 . -t policyengine-uk-data:latest
documentation:
jb clean docs && jb build docs
python docs/add_plotly_to_book.py docs
data:
python policyengine_uk_data/datasets/frs/dwp_frs.py
python policyengine_uk_data/datasets/frs/frs.py
python policyengine_uk_data/datasets/frs/extended_frs.py
python policyengine_uk_data/datasets/frs/enhanced_frs.py
python policyengine_uk_data/datasets/frs/local_areas/constituencies/calibrate.py
python policyengine_uk_data/datasets/frs/local_areas/local_authorities/calibrate.py
build:
python -m build
publish:
twine upload dist/*
changelog:
build-changelog changelog.yaml --output changelog.yaml --update-last-date --start-from 1.0.0 --append-file changelog_entry.yaml
build-changelog changelog.yaml --org PolicyEngine --repo policyengine-us-data --output CHANGELOG.md --template .github/changelog_template.md
bump-version changelog.yaml pyproject.toml
rm changelog_entry.yaml || true
touch changelog_entry.yaml