Skip to content

How to make a release

amueller edited this page May 20, 2012 · 15 revisions
  • Write the changelog (doc/whats_new.rst). Commit counts can be generated using git log <last_release>.. | git shortlog -s -n

  • Fix Milestone issues

  • Compile documentation, make sure all examples compile. If sphinx refuses to work generate reference for functions, use sphinx 1.0.0 (which seems to work fine).

  • Change the version number hardcoded in web page: themes/scikit-learn/layout.html

  • Change the version number in

    • doc/conf.py

    • sklearn/__init__.py

    • setup.py

  • check on python 2.6, 2.7, 3k

  • then python setup.py sdist will create a .tar.gz in the dist/ directory.

  • untar and test it

  • upload packet and website to sourceforge (see doc/README). Set the default download to the new release.

  • upload to PyPi with python setup.py sdist upload

  • Update the mloss page: https://mloss.org/software/view/240/ (right now, I (Fabian) am the only one that can do that).