getPythonPackages¶
-
lsst.base.
getPythonPackages
()¶ Get imported python packages and their versions.
Returns: Notes
We wade through
sys.modules
and attempt to determine the version for each module. Note, therefore, that we can only report on modules that have already been imported.We don’t include any module for which we cannot determine a version.