- Run unittests:
python runtests.py
orpython setup.py test
- Update CHANGELOG.txt
- Update version in setup.py
- Push all changes to github
- Test installation on a different machine in a fresh virtual environment
cd /tmp
git clone https://github.com/Baguage/django-auth-pubtkt
mkvirtualenv django-auth-pubtkt
cd django-auth-pubtkt
pip install django==1.11 M2Crypto
python runtests.py
python setup.py install
deactivate
rmvirtualenv django-auth-pubtkt
cd ..
rm -rf django-auth-pubtkt
- Make a release/tag
https://github.com/Baguage/django-auth-pubtkt/releases -> Draft a new release
Use v2.0.0 format for tag name
- Run
setup.py sdist bdist_egg bdist_wininst upload
command