LSST Applications
21.0.0-172-gfb10e10a+18fedfabac,22.0.0+297cba6710,22.0.0+80564b0ff1,22.0.0+8d77f4f51a,22.0.0+a28f4c53b1,22.0.0+dcf3732eb2,22.0.1-1-g7d6de66+2a20fdde0d,22.0.1-1-g8e32f31+297cba6710,22.0.1-1-geca5380+7fa3b7d9b6,22.0.1-12-g44dc1dc+2a20fdde0d,22.0.1-15-g6a90155+515f58c32b,22.0.1-16-g9282f48+790f5f2caa,22.0.1-2-g92698f7+dcf3732eb2,22.0.1-2-ga9b0f51+7fa3b7d9b6,22.0.1-2-gd1925c9+bf4f0e694f,22.0.1-24-g1ad7a390+a9625a72a8,22.0.1-25-g5bf6245+3ad8ecd50b,22.0.1-25-gb120d7b+8b5510f75f,22.0.1-27-g97737f7+2a20fdde0d,22.0.1-32-gf62ce7b1+aa4237961e,22.0.1-4-g0b3f228+2a20fdde0d,22.0.1-4-g243d05b+871c1b8305,22.0.1-4-g3a563be+32dcf1063f,22.0.1-4-g44f2e3d+9e4ab0f4fa,22.0.1-42-gca6935d93+ba5e5ca3eb,22.0.1-5-g15c806e+85460ae5f3,22.0.1-5-g58711c4+611d128589,22.0.1-5-g75bb458+99c117b92f,22.0.1-6-g1c63a23+7fa3b7d9b6,22.0.1-6-g50866e6+84ff5a128b,22.0.1-6-g8d3140d+720564cf76,22.0.1-6-gd805d02+cc5644f571,22.0.1-8-ge5750ce+85460ae5f3,master-g6e05de7fdc+babf819c66,master-g99da0e417a+8d77f4f51a,w.2021.48
LSST Data Management Base Package
|
Classes | |
class | Packages |
Functions | |
def | getVersionFromPythonModule (module) |
def | getPythonPackages () |
def | getEnvironmentPackages () |
def | getCondaPackages () |
def | pkg_representer (dumper, data) |
def | pkg_constructor (loader, node) |
Variables | |
log = logging.getLogger(__name__) | |
BUILDTIME = set(["boost", "eigen", "tmv"]) | |
PYTHON = set(["galsim"]) | |
ENVIRONMENT = set(["astrometry_net", "astrometry_net_data", "minuit2", "xpa"]) | |
pkg_constructor | |
Loader | |
def lsst.base.packages.getCondaPackages | ( | ) |
Get products and their versions from the conda environment. Returns ------- packages : `dict` Keys (type `str`) are product names; values (type `str`) are their versions. Notes ----- Returns empty result if a conda environment is not in use or can not be queried.
Definition at line 223 of file packages.py.
def lsst.base.packages.getEnvironmentPackages | ( | ) |
Get products and their versions from the environment. Returns ------- packages : `dict` Keys (type `str`) are product names; values (type `str`) are their versions. Notes ----- We use EUPS to determine the version of certain products (those that don't provide a means to determine the version any other way) and to check if uninstalled packages are being used. We only report the product/version for these packages.
Definition at line 154 of file packages.py.
def lsst.base.packages.getPythonPackages | ( | ) |
Get imported python packages and their versions. Returns ------- packages : `dict` Keys (type `str`) are package names; values (type `str`) are their versions. 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.
Definition at line 92 of file packages.py.
def lsst.base.packages.getVersionFromPythonModule | ( | module | ) |
Determine the version of a python module. Parameters ---------- module : `module` Module for which to get version. Returns ------- version : `str` 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's `~lsst.sconsUtils` at build time) only for packages that are typically used only at build-time.
Definition at line 57 of file packages.py.
def lsst.base.packages.pkg_constructor | ( | loader, | |
node | |||
) |
Definition at line 527 of file packages.py.
def lsst.base.packages.pkg_representer | ( | dumper, | |
data | |||
) |
lsst.base.packages.BUILDTIME = set(["boost", "eigen", "tmv"]) |
Definition at line 45 of file packages.py.
lsst.base.packages.ENVIRONMENT = set(["astrometry_net", "astrometry_net_data", "minuit2", "xpa"]) |
Definition at line 54 of file packages.py.
lsst.base.packages.Loader |
Definition at line 532 of file packages.py.
lsst.base.packages.log = logging.getLogger(__name__) |
Definition at line 38 of file packages.py.
lsst.base.packages.pkg_constructor |
Definition at line 532 of file packages.py.
lsst.base.packages.PYTHON = set(["galsim"]) |
Definition at line 50 of file packages.py.