-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathMakefile
29 lines (23 loc) · 848 Bytes
/
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
clean:
rm -rf build dist
find . -name '*.pyc' -exec rm \{\} \;
deps:
pip install --upgrade pip build twine
install-web-api:
pip install openfisca_core'[web-api]'
install-test:
pip install -e ".[test,excel-reader]"
install: deps
@# Install OpenFisca-France-Local for development.
@# `make install` installs the editable version of OpenFisca-France-Local.
@# This allows contributors to test as they code.
pip install --editable . --upgrade
build: clean deps
@# Install OpenFisca-France-Local for deployment and publishing.
@# `make build` allows us to be be sure tests are run against the packaged version
@# of OpenFisca-France-Local, the same we put in the hands of users and reusers.
python -m build
pip uninstall --yes openfisca-france-local
find dist -name "*.whl" -exec pip install {} \;
test:
openfisca_local_test tests