Packages¶
- 
class lsst.base.Packages(packages)¶
- Bases: - object- A table of packages and their versions. - Parameters: - Notes - This is essentially a wrapper around a dict with some conveniences. - Methods Summary - difference(other)- Get packages in symmetric difference of self and another - Packagesobject.- extra(other)- Get packages in self but not in another - Packagesobject.- fromSystem()- Construct a - Packagesby examining the system.- missing(other)- Get packages in another - Packagesobject but missing from self.- read(filename)- Read packages from filename. - update(other)- Update packages with contents of another set of packages. - write(filename)- Write to file. - Methods Documentation - 
difference(other)¶
- Get packages in symmetric difference of self and another - Packagesobject.- Parameters: - other : Packages
- Other packages to compare against. 
 - Returns: 
- other : 
 - 
extra(other)¶
- Get packages in self but not in another - Packagesobject.- Parameters: - other : Packages
- Other packages to compare against. 
 - Returns: 
- other : 
 - 
classmethod fromSystem()¶
- Construct a - Packagesby examining the system.- Determine packages by examining python’s sys.modules, runtime libraries and EUPS. - Returns: - packages : Packages
 
- packages : 
 - 
missing(other)¶
- Get packages in another - Packagesobject but missing from self.- Parameters: - other : Packages
- Other packages to compare against. 
 - Returns: 
- other : 
 - 
classmethod read(filename)¶
- Read packages from filename. - Parameters: - filename : str
- Filename from which to read. 
 - Returns: - packages : Packages
 
- filename : 
 
-