Instructions for release
xlcnd opened this issue · comments
Instructions for release
Requirements:
- Github account
- PYPI account
- pip, wheel and twine must be installed
Github:
A. Check setup.py and see if version and links are in sync!
B. Tag and push to github:
- Edit CHANGES.txt and add version, date and small description (e.g. v0.0.1, 2018-03-08 -- Initial alpha release.)
- git tag -a vVERSION -m "small description) (e.g. git tag -a v0.0.1 -m "Initial alpha release")
- git push origin master
- git push origin v0.0.1 (adapt!)
PYPI:
- python setup.py check -s
- python setup.py sdist bdist_wheel
- twine check dist/*
- twine upload dist/* -u UN -p PW (UN, PW are the credentials of your PYPI account)