subversion revision number string within an application packaged with distutils?

2006-12-07 Thread Jim Tittsler
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.)

-- 
http://mail.python.org/mailman/listinfo/python-list


Win32: shortpathname to longpathname

2007-05-08 Thread Jim Tittsler
I wrap my cross platform application up with py2exe on Windows, and
have the installer associate a particular file type with it.  When a
user double clicks on a document to launch my application, Windows
appears to pass me the "short" Windows pathname.  How can I convert to
the long version of the pathname?  (Ideally using the standard library
rather than win32all AKA pywin32.)

-- 
http://mail.python.org/mailman/listinfo/python-list