Permalink
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (26 sloc) 939 Bytes

New release packaging checklist:

  • Always use a clean checkout, otherwise setup.py may pick up files not tracked by git that you don't actually want to distribute.

  • Make sure CHANGELOG is updated with major changes since the last release (look through the commit history)

  • Update version in inmembrane/init.py.

  • git commit -a

  • Create a new tag for the release: git tag inmembrane-0.xx git push --tags git push

  • Run:

    • python setup.py sdist
    • sudo pip uninstall inmembrane sudo pip install dist/inmembrane-.tar.gz
    • Test the installed version: inmembrane_scan --test
    • python setup.py register
  • Push a new version to PyPi:

    • python setup.py sdist upload
  • Switch to the the gh-pages branch: git checkout gh-pages

  • Update the pypi download link in index.html.wrap. Regenerate HTML docs with: python wrap.py *html.wrap

  • Commit and push the changes. git commit -a; git push