Package zeroinstall :: Package injector :: Module model :: Class DistributionImplementation
[frames] | no frames]

Class DistributionImplementation

source code

    object --+    
             |    
Implementation --+
                 |
                DistributionImplementation

An implementation provided by the distribution. Information such as the version comes from the package manager.


Since: 0.28

Instance Methods
 
__init__(self, feed, id, distro, package_implementation=None, distro_name=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
requires_root_install(self)
whether the user will need admin rights to use this
source code
bool
is_available(self, stores)
Is this Implementation available locally? (a local implementation, an installed distribution package, or a cached ZeroInstallImplementation)
source code

Inherited from Implementation: __cmp__, __eq__, __hash__, __le__, __repr__, __str__, get_stability, get_version

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

Class Variables

Inherited from Implementation: arch, digests, main, os

Instance Variables
qdom.Element package_implementation
the <package-implementation> element that generated this impl (since 1.7)

Inherited from Implementation: bindings, commands, download_sources, feed, id, langs, local_path, metadata, released, requires, upstream_stability, user_stability, version

Properties

Inherited from object: __class__

Method Details

__init__(self, feed, id, distro, package_implementation=None, distro_name=None)
(Constructor)

source code 

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

Parameters:
Overrides: object.__init__

requires_root_install(self)

source code 
whether the user will need admin rights to use this
Decorators:
  • @property
Overrides: requires_root_install

is_available(self, stores)

source code 

Is this Implementation available locally? (a local implementation, an installed distribution package, or a cached ZeroInstallImplementation)

Parameters:
Returns: bool
Overrides: Implementation.is_available