getVersionFromPythonModule¶
- lsst.base.getVersionFromPythonModule(module)¶
Determine the version of a python module.
- Parameters:
- module
module
Module for which to get version.
- module
- Returns:
- version
str
- version
- Raises:
- AttributeError
Raised if __version__ attribute is not set.
Notes
We supplement the version with information from the
__dependency_versions__
(a specific variable set by LSST’ssconsUtils
at build time) only for packages that are typically used only at build-time.