- 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-google-analytics-id
mkvirtualenv analytics
cd django-google-analytics-id
pip install django==1.10
python setup.py test
python setup.py install
deactivate
rmvirtualenv analytics
cd ..
rm -rf django-google-analytics-id
- Make a release/tag
https://github.com/Baguage/django-google-analytics-id/releases -> Draft a new release
Use v0.6.2 format for tag name
- Run
setup.py sdist bdist_egg bdist_wininst upload
command