Making a pyglet release

  1. Clone pyglet into a new directory

  2. Make sure it is up to date:

    git pull
  3. Update version string in the following files and commit:

    • pyglet/

    • doc/

  4. Tag the current changelist with the version number:

    git tag -a v0.0.0 -m "release message"
  5. Push the changes to the central repo:

    git push
    git push --tags
  6. Build the wheels and documentation:

    ./ clean
    ./ dist
  7. Upload the wheels and zips to PyPI:

    twine upload dist/pyglet-x.y.z*
  8. Start a build of the documentation on

  9. Draft a new release on Github, using the same version number

  10. Tell people!

Major version increase

When preparing for a major version you might also want to consider the following:

  • Create a maintenance branch for the major version

  • Add a readthedocs configuration for that maintenance branch

  • Point the url in to the maintenance branch documentation