subversion revision number string within an application packaged with distutils?
Stefan Behnel
stefan.behnel-n05pAM at web.de
Thu Dec 14 13:41:20 EST 2006
Jim Tittsler wrote:
> Is there a standard recipe for getting the subversion revision number
> into my Python-based application each time I package it up with
> distutils? (Not just the package name, but also a string that I will
> display in my app's "About" dialog.)
Here's how we do it in lxml:
https://codespeak.net/svn/lxml/trunk/versioninfo.py
Stefan
More information about the Python-list
mailing list