Makefile
update-and-push:
sh ./update-and-push.sh version
nvenv: make-venv
make-venv:
pip install virtualenv; \
python -m virtualenv ~/nvenv --no-site-packages; \
install-deps: make-venv
. ~/nvenv/bin/activate; \
pip install -Ur requirements.txt; \
pip install coverage nose2 codacy-coverage; \
test-unit:
. ~/nvenv/bin/activate; \
python -m nose2; \
coverage xml; \
verify-git-tag: make-venv
. ~/nvenv/bin/activate; \
~/nvenv/bin/python setup.py verify; \
dist:
. ~/nvenv/bin/activate; \
python setup.py sdist; \
python setup.py bdist_wheel; \
upload-to-pypi:
. ~/nvenv/bin/activate; \
twine upload dist/*; \