Module paludis :: Class Environment
[hide private]

Class Environment

 object --+    
          |    
??.instance --+
              |
             Environment
Known Subclasses:

Represents a working environment, which contains an available packages database and provides various methods for querying package visibility and options.

Instance Methods [hide private]
 
__getitem__(...)
[selection] -> list of PackageID Return PackageID instances matching a given selection.
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
__reduce__(...)
helper for pickle
DepSpec
set(SetName)
Fetch a named set.

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  default_destinations
[ro] DestinationsIterable Default destination candidates for installing packages.
  package_database
[ro] PackageDatabase Our package databas.
  root
[ro] string Our root location for installs.
  set_names
[ro] SetNamesIterable All known named sets.

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

Property Details [hide private]

default_destinations

[ro] DestinationsIterable Default destination candidates for installing packages.

Get Method:
unreachable(...)

package_database

[ro] PackageDatabase Our package databas.

Get Method:
unreachable(...)

root

[ro] string Our root location for installs.

Get Method:
unreachable(...)

set_names

[ro] SetNamesIterable All known named sets.

Get Method:
unreachable(...)