World's biggest U-turn: announcing Python-project-template

With much eating of humble pie, pedalling backwards, and abouting of face, I would like to formally announce the first of my reusable game-oriented code snippets, tools, and libraries:

Python-project-template
http://code.google.com/p/python-project-template/

Since project layout and infrastructure is a fairly personal thing, I expect this will be the least universally useful of all the snippets and libraries I hope to produce, but still, it seemed to make sense to start with this one.

Many thanks to threads, scav, RB[0], Cosmologicon and others for showing me the light and for talking me through my epiphany. :-)

From the README:
A template for new Python projects.

This is intended to provide a lightweight template for new Python projects
that encapsulates as much of the boilerplate project infrastructure as
possible, with applicability for game and OpenGL graphics projects borne in
mind. Hopefully getting this right in a way I can share between projects
will help to speed up the creation of new projects, and reduce 'Did not work'
ratings in future Pyweek entries.

Features:
* For libraries, setup.py creates sdist, and registers and uploads source
to The Cheese Shop.
* For applications, setup.py creates py2exe stand-alone Windows binaries.
* Makefile contains useful commands such as 'clean', 'tags', 'profile',
'sdist' and 'py2exe' and 'stats' (count lines of code.)


Dependencies
------------

* Microsoft Windows
* Python 2.7
* Setuptools 0.6c11
* Distribute 0.6.14

Optional:

* Cygwin binaries foremost on the PATH.

The exact version numbers of the dependencies are probably not important, but
this is what I'm using.

Cywin binaries are used by some entries in the Makefile, although you don't
need to be running from a Cygwin bash prompt to use them - they also work fine
from a Windows Cmd shell. Some other optional installable tools are referenced
in the Makefile, and are explained there.

Currently only Windows is supported, I hope to confirm Linux support and then
creation of Linux binaries soon. I have no idea how to produce Mac binaries, so
if anyone wants to help out on that, or any other fixes or ideas, that would be
marvellous.

(log in to comment)

Comments

nice.. congratulations on achieving your first milestone :)   
Awesome :-)