-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
32 lines (24 loc) · 773 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
.PHONY: dist
dist: pypi-clean pypi-dist pypi-upload
pypi-clean:
mkdir -p dist sdist eggs wheels
[ -d dist ] && find dist -iname '*.egg' -exec mv {} eggs \; || true
[ -d dist ] && find dist -iname '*.whl' -exec mv {} wheels \; || true
[ -d dist ] && find dist -iname '*.tar.gz' -exec mv {} sdist \; || true
rm -rf build dist *.egg-info
pypi-dist:
pipenv run python setup.py sdist bdist_wheel
pypi-upload:
twine check dist/* || true
twine upload dist/* -r pypi --skip-existing
twine upload dist/* -r pypitest --skip-existing
enum:
pipenv run python zlogging/_gen.py --caching
pipenv run python util/enum_docs.py
$(MAKE) isort
sphinx-build:
pipenv run $(MAKE) -C docs html
tox:
pipenv run tox
isort:
pipenv run isort -l100 -pzlogging zlogging tests gen