Skip to content

Commit b67002f

Browse files
committed
Add makefile
1 parent f23c21c commit b67002f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Makefile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.PHONY: install test clean build publish
2+
3+
install:
4+
pip install -e .
5+
6+
test:
7+
pytest
8+
9+
clean:
10+
find . -name '*.pyc' -exec rm --force {} +
11+
find . -name '*.pyo' -exec rm --force {} +
12+
find . -name '*~' -exec rm --force {} +
13+
rm -rf build/
14+
rm -rf dist/
15+
rm -rf .pytest_cache/
16+
17+
build: clean
18+
python setup.py sdist
19+
python setup.py bdist_wheel
20+
21+
publish:
22+
twine upload dist/*

0 commit comments

Comments
 (0)