Re: [python-win32] Getting pywin32 build number

2006-05-25 Thread Luc Saffre
On 25.05.2006 15:32, Mark Hammond wrote: > I'm open to patches that meet this compromise... I am just thinking aloud... mkdir win32 echo '__version__="209"' > win32/__init__.py echo 'File win32/__init__.py contains the version number' \ > pywin32.version.txt Afterwards it isn't even

Re: [python-win32] Getting pywin32 build number

2006-05-25 Thread Mark Hammond
> I support Justin's request: the pywin32.version.txt has been a big step > forward, but it is still not easy to get this information (in a reliable > way) from within user code. Python packages usually provide a > __version__ variable in their __init__.py. pywin32 has a few __init__.py files, and

Re: [python-win32] Getting pywin32 build number

2006-05-25 Thread Luc Saffre
I support Justin's request: the pywin32.version.txt has been a big step forward, but it is still not easy to get this information (in a reliable way) from within user code. Python packages usually provide a __version__ variable in their __init__.py. http://www.python.org/~jeremy/weblog/030924.html

Re: [python-win32] Getting pywin32 build number

2005-10-28 Thread Justin Johnson
Would you be opposed to introducing a variable with the version number so it can be accessed more conveniently? On 10/27/05, Mark Hammond <[EMAIL PROTECTED]> wrote:  Nope, that's it - or you could use win32apiGetFileVersionInfo to check a specific DLL/.pyd.   Mark. -Original Message-Fro

Re: [python-win32] Getting pywin32 build number

2005-10-27 Thread Mark Hammond
 Nope, that's it - or you could use win32apiGetFileVersionInfo to check a specific DLL/.pyd.   Mark. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Justin JohnsonSent: Friday, 28 October 2005 7:43 AMTo: python-win32@python.orgSubject: [pytho