Releasing a new version

# versioning
# update the version in setup.py and __init__.py
  git commit setup.py miepython/__init__.py -m 'update version' 
  git push

# update CHANGELOG.txt  `git shortlog`
  git shortlog git shortlog v1.1.0..HEAD
  git commit -m 'update recent changes' CHANGELOG.txt
  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/*

# test the install by removing local developer version
# installing, then uninstalling, then restoring developer version
  conda develop -u .
  pip install miepython
  pip uninstall miepython
  conda develop .
  