-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
35 lines (28 loc) · 753 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
black:
black .
clean:
-rm -r build/*
find src/ -name '*.pyc' -exec rm -f {} +
find src/ -name '*.pyo' -exec rm -f {} +
find src/ -name '*~' -exec rm -f {} +
find src/ -name '__pycache__' -exec rm -fr {} +
find src/ -name '*.htm' -exec rm -f {} +
find src/ -name '*.html' -exec rm -f {} +
find src/ -name '*.so' -exec rm -f {} +
-rm -r dist/*
-rm -r src/*.egg-info
docs:
@(cd docs; make clean; make html)
release:
make clean
python setup.py sdist bdist_wheel
python setup.py sdist
gpg --detach-sign -a dist/scherbelberg*.whl
gpg --detach-sign -a dist/scherbelberg*.tar.gz
install:
pip install -v -e .
upload:
for filename in $$(ls dist/*.tar.gz dist/*.whl) ; do \
twine upload $$filename $$filename.asc ; \
done
.PHONY: docs