pyre.externals.Installation

Module Contents

class pyre.externals.Installation.Installation

Bases: pyre.component

Base class for all package installations

category = unknown
version
doc = the package version
prefix
doc = the package installation directory
_misconfigured = False
pyre_configured(self)

Verify the package configuration

pyre_initialized(self)

Attempt to repair broken configurations

verify(self, trait, patterns=(), folders=())

Verify that {trait} properly configured by checking that every file name in {patterns} exists in one of the {folders}

commonpath(self, folders)

Find the longest prefix common to the given {folders}

join(self, folders, prefix='')

Render the sequence of {folders} as a flat string with each one prefixed by {prefix}