<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Is there a recommended way to obtain version information of an executing application?<br>For instance, if my application script wants to write a log message containing its own version, I&#39;d like to get the version info stored in its PKG-INFO file.<br>

Hopefully, this runtime version info access method should work both in developer mode for apps installed with &quot;setup.py develop&quot; command, and when running them as eggs installed with easy_install script.<br><br>

Any ideas?<br>-- <br>Pavel Repin</div></div>
</div>