build instructions.

This commit is contained in:
Friedrich Lindenberg
2017-09-09 18:40:47 +02:00
parent b8598b230a
commit 44b49a6bb9
2 changed files with 21 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
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 {} +