Releasing a new version

# versioning
update the version in setup.py

> git commit setup.py -m 'update version'
> git push

update CHANGELOG.txt using `git shortlog`
> git commit CHANGELOG.txt -m 'update recent changes' 
> git push

# create release tag on github
> git tag v1.0.1
> git push origin v1.0.1

# upload source to pypi
> rm -rf dist/*
> python setup.py sdist
> twine upload dist/*

# install the new version locally
> pip install --upgrade pygrin