Accessing PKG-INFO at runtime

"Pavel Repin" <[email protected]>
Newsgroups gmane.comp.python.peak
Message-ID <[email protected]>
Is there a recommended way to obtain version information of an executing
application?
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

_______________________________________________
PEAK mailing list
[email protected]
http://www.eby-sarna.com/mailman/listinfo/peak
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.