21 lines
355 B
Makefile
Raw Normal View History

2017-09-09 18:40:47 +02:00
all: clean test dists
test:
nosetests
dists:
python setup.py sdist
python setup.py bdist_wheel
release: dists
pip install -q twine
twine upload dist/*
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 {} +