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

Module arch

source code

Information about the current system's architecture.

This module provides information about the current system. It is used to determine whether an implementation is suitable for this machine, and to compare different implementations.

For example, it will indicate that:

Each dictionary maps from a supported architecture type to a preference level. Lower numbers are better, Unsupported architectures are not listed at all.

Classes
  Architecture
A description of an architecture.
  SourceArchitecture
Matches source code that creates binaries for a particular architecture.
Functions
Architecture
get_host_architecture()
Get an Architecture that matches implementations that will run on the host machine.
source code
Variables
  os_ranks = {None: 2, _uname [0]: 1,}
  machine_ranks = _get_machine_ranks()