cfdm.environment

cfdm.environment(display=True, paths=True)[source]

Return the names, versions and paths of all dependencies.

Added in version (cfdm): 1.7.0

Parameters:
display: bool, optional

If False then return the description of the environment as a string. By default the description is printed.

paths: bool, optional

If True (the default) then output the locations of each package.

Returns:
None or list

If display is True then the description of the environment is printed and None is returned. Otherwise the descriptions is returned in a list.