getsentry/raven-python — pull request #452 by lnielsen-cern (2014-04-28 08:47:52+00:00)
Title: Fix module version detection

* Current implementation of get_version_from_app fails to get version
information from modules such as numpy, webassets and setuptools since
they define version information in the variable .__version__
and also include a module .version. In the current
implementation .version takes presedence over
.__version__ thus the version information reported is a module
instead of version number. This is easily fixed by this commit which
changes presedence (see also PEP396).