-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
41 lines (31 loc) · 800 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
30
31
32
33
34
35
36
37
38
39
40
41
requirements:
pip install -r requirements.txt
requirements-dev:
pip install -r requirements-dev.txt
install:
make requirements
pip install . --force
install-dev:
make requirements
make requirements-dev
pip install --editable . --force
test:
pytest --disable-pytest-warnings
dist:
rm -fr *.egg-info dist || true
python setup.py sdist bdist_wheel
.PHONY: dist
# binary:
# #pyinstaller --onefile --name=dugaire dugaire.py
# cd dugaire
# pyinstaller --clean -y --name=dugaire --add-data="templates\base.j2;templates" dugaire.py
readme:
python3 docs/make_readme.py > README.md
readthedocs:
pandoc README.md --from markdown --to rst -s -o docs/index.rst
docker-rm:
docker rmi -f $(docker images -aq -f label='builtwith=dugaire')
pre-commit:
black .
make readme
make readthedocs