[python-win32] how to determine the version of pywin programmatically ?

2008-12-09 Thread Jim Vickroy
Hello all, I'm writing a script to determine the versions of various installed software packages. How do I access the pywin32 build number from within a script? For example: * for the numpy package, it is: numpy.__version__ * for the PIL package, PIL.Image.VERSION seems to work I

Re: [python-win32] how to determine the version of pywin programmatically ?

2008-12-09 Thread Mark Hammond
Jim Vickroy wrote: I notice that the build number appears in: * pywin32.version.txt but I was hoping for something similar to numpy or PIL. I can't see a huge gain in pywin32 opening that file just to make it available in __version__, and having it manually maintained in a .py file

Re: [python-win32] how to determine the version of pywin programmatically ?

2008-12-09 Thread Jim Vickroy
Mark Hammond wrote: Jim Vickroy wrote: I notice that the build number appears in: * pywin32.version.txt but I was hoping for something similar to numpy or PIL. I can't see a huge gain in pywin32 opening that file just to make it available in __version__, and having it manually