.PHONY: clean build install test deploy clean: rm dist/* | echo '' find . -name '*.pyc' -delete find . -name '*~' -delete find . -name '#*' -delete python3 setup.py clean build: clean python3 setup.py clean python3 setup.py build install: build python3 setup.py install test: build python -m unittest tests deploy: test #http://guide.python-distribute.org/creation.html python setup.py sdist twine upload dist/*