all: clean test dists .PHONY: test test: nosetests -v dists: python setup.py sdist python setup.py bdist_wheel release: dists pip install -q twine twine upload dist/* .PHONY: clean clean: rm -rf dist build .eggs find . -name '*.egg-info' -exec rm -fr {} + find . -name '*.egg' -exec rm -f {} + find . -name '*.pyc' -exec rm -f {} + find . -name '*.pyo' -exec rm -f {} +