-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (19 loc) · 749 Bytes
/
Makefile
File metadata and controls
26 lines (19 loc) · 749 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
all: dist
dist:
python3 setup.py sdist
upload: dist
twine upload dist/*
install-dev:
python3 -m venv venv && source venv/bin/activate && pip install -r requirements.txt
tests: install-dev
python tests/run.py
tests_readonly:
python3 tests/run.py sii.actividades.test_listar_actividades_economicas
python3 tests/run.py sii.contribuyentes.test_obtener_situacion_tributaria
python3 tests/run.py sii.indicadores_uf.test_obtener_uf_anual
python3 tests/run.py sii.indicadores_uf.test_obtener_uf_mensual
python3 tests/run.py sii.indicadores_uf.test_obtener_uf_diario
docs:
sphinx-apidoc -o docs apigatewaycl && sphinx-build -b html docs docs/_build/html
clean:
rm -rf dist apigatewaycl.egg-info apigatewaycl/__pycache__ apigatewaycl/*.pyc