Release checklist ================= * Check ``hg status`` * ``make check`` * LATER when configured properly: ``make pylint`` * ``tox`` * Update version info in ``setup.py/__init__.py`` * Check setup.py metadata: long description, trove classifiers * Update release date/code name in ``CHANGES`` * ``hg commit`` * ``make clean`` * ``python2 setup.py release bdist_wheel`` * ``python3 setup.py release bdist_wheel sdist`` * ``twine upload dist/Pygments-$NEWVER*`` * Check PyPI release page for obvious errors * ``hg tag`` * Merge default into stable if this was a ``x.y.0`` * Update homepage (release info), regenerate docs (+printable!) * Add new version/milestone to tracker categories * Write announcement and send to mailing list/python-announce * Update version info, add new ``CHANGES`` entry for next version * ``hg commit`` * ``hg push``