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
Makefile Normal file
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 {} +

View File

@ -15,6 +15,7 @@ from hashlib import sha1
QUERY_STEP = 1000 QUERY_STEP = 1000
row_type = OrderedDict row_type = OrderedDict
class DatasetException(Exception): class DatasetException(Exception):
pass pass