Package zeroinstall :: Package injector :: Module arch :: Class Architecture
[frames] | no frames]

Class Architecture

source code

object --+
         |
        Architecture

A description of an architecture. Use by solver to make sure it chooses compatible versions.

Instance Methods
 
__init__(self, os_ranks, machine_ranks)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
str
__str__(self)
str(x)
source code

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

Instance Variables
set(str) use = frozenset([None])
matching values for <requires use='...'>; otherwise the dependency is ignored
Architecture child_arch
architecture for dependencies (usually self)
{str: int} machine_ranks
supported CPU types and their desirability
{str: int} os_ranks
supported operating systems and their desirability
Properties

Inherited from object: __class__

Method Details

__init__(self, os_ranks, machine_ranks)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Returns: str
Overrides: object.__str__