[PEAK] Accessing PKG-INFO at runtime

Pavel Repin prepin+peak at gmail.com
Thu Sep 18 04:08:26 EDT 2008

Is there a recommended way to obtain version information of an executing
For instance, if my application script wants to write a log message
containing its own version, I'd like to get the version info stored in its
PKG-INFO file.
Hopefully, this runtime version info access method should work both in
developer mode for apps installed with "setup.py develop" command, and when
running them as eggs installed with easy_install script.

Any ideas?
Pavel Repin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eby-sarna.com/pipermail/peak/attachments/20080918/6c510a09/attachment.html

More information about the PEAK mailing list