- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
28 lines (21 loc) · 466 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (21 loc) · 466 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
.PHONY: clean-pyc
default: test
clean-pyc:
@find . -iname '*.py[co]' -delete
@find . -iname '__pycache__' -delete
@find . -iname '.coverage' -delete
@rm -rf htmlcov/
clean-dist:
@rm -rf dist/
@rm -rf build/
@rm -rf *.egg-info
clean: clean-pyc clean-dist
test:
py.test
dist: clean
python setup.py sdist
python setup.py bdist_wheel
release: dist
git tag `python setup.py -q version`
git push origin `python setup.py -q version`
twine upload dist/*