Skip to content

Commit

Permalink
Add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Aug 21, 2020
1 parent f23c21c commit b67002f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.PHONY: install test clean build publish

install:
pip install -e .

test:
pytest

clean:
find . -name '*.pyc' -exec rm --force {} +
find . -name '*.pyo' -exec rm --force {} +
find . -name '*~' -exec rm --force {} +
rm -rf build/
rm -rf dist/
rm -rf .pytest_cache/

build: clean
python setup.py sdist
python setup.py bdist_wheel

publish:
twine upload dist/*

0 comments on commit b67002f

Please sign in to comment.