title: Getting package version using pkg_resources?
body: <p>What is the recommended way getting hold of the package version of a package in the <code>$PYTHONPATH</code> or <code>sys.path</code>?</p>
  <p>I remember that the <code>pkg_resource</code> module has some functionality for this but I can not find any related information. Please don't point me to solution using a <code>version.py</code> file and reading it somehow. Using <code>pkg_resources</code> is the way to go but how exactly?</p>