Here's an article on creating a python apps and libraries for distribution using distutils. And from this, here's an article on setuptools, an enhanced version that's been making our lives hell in terms of making totally self contained distributions.

