# Simple Makefile for some common tasks. This will get 
# fleshed out with time to make things easier on developer
# and tester types.
.PHONY: test dist upload

clean:
	@-find . -name "*.pyc" |xargs rm -f
	@-rm -rf dist 
	@-rm -rf build
	@-rm -rf *.egg-info
	@-rm -f pip-log.txt

test:
	py.test -x test

dist:
	python setup.py sdist

upload: clean pypi

pypi:
	python setup.py sdist upload
