Add script for package publishing

This commit is contained in:
Darko Lukic 2018-04-01 20:31:36 +02:00
parent 7e8ac44078
commit d71276133f

10
Makefile Normal file
View file

@ -0,0 +1,10 @@
publish:
pip install twine
python setup.py sdist
twine upload dist/*
ci-publish:
echo '[pypi]' > ~/.pypirc
echo 'username=lukicdarkoo' >> ~/.pypirc
echo "password=${PYPI_PASSWORD}" >> ~/.pypirc
$(MAKE) publish