forked from mvantellingen/python-zeep
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (27 loc) · 632 Bytes
/
Makefile
File metadata and controls
36 lines (27 loc) · 632 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
27
28
29
30
31
32
33
34
35
36
.PHONY: install clean test retest coverage docs
install:
pip install -e .[docs,test,async]
pip install bumpversion twine wheel
lint:
flake8 src/
flake8 --ignore=E501 tests/
isort --recursive --check-only --diff src tests
clean:
find . -name '*.pyc' -delete
find . -name '__pycache__' -delete
test:
pytest -vvv
retest:
pytest -vvv --lf
coverage:
pytest --cov=zeep --cov-report=term-missing --cov-report=html
format:
isort src tests setup.py
black src/ tests/ setup.py
docs:
$(MAKE) -C docs html
release:
pip install twine wheel
rm -rf build/* dist/*
python setup.py sdist bdist_wheel
twine upload -s dist/*