How to make a PySpaceWar release
================================

(Because I forget)


1. Change the version number in src/pyspacewar/version.py
2. Update NEWS.txt
3. Commit.
4. Tag the release

     svn cp svn+ssh://fridge/home/mg/svn/pyspacewar/trunk \
            svn+ssh://fridge/home/mg/svn/pyspacewar/tags/$version

5. Create a temporary directory and check out the tag

     svn co svn+ssh://fridge/home/mg/svn/newton/tags/$version

6. Build the tarball and zip file

     python setup.py sdist --formats=gztar,zip

7. Test the archives: go to a temporary directory, untar the tarball, run the
   game (./pyspacewar), run the unit tests (./test.py).

8. Upload the tarballs and update the pyspacewar website

     python setup.py sdist --formats=gztar,zip register upload
     mv dist/* ~/www/pyspacewar/
     cd ~/www/pyspacewar
     svn add *$version*
     vi index.html
       update the News and Download sections at the very least
     svn ci

9. Add a '+svn' suffix in src/pyspacewar/version.py and commit.

10. Announce the new release on PyPI, pygame.org, the pygame mailing list, my
    weblog.

    PyPI: just run python setup.py register
    PyGame: log in at http://pygame.org/
    The list: pygame-users@seul.org

