Package application :: Module Parcel
[hide private]
[frames] | no frames]

Module Parcel

source code

Classes [hide private]
  Manager
To use the parcel manager, retrieve an instance of it by using the class method get():
  Parcel
The parcel item class.
  Reference
Functions [hide private]
 
activate_plugins(dirs, working_set=working_set)
Add plugins from `dirs` to `working_set`
source code
 
loadable_parcels(working_set=working_set, env=<Locale: en_US>, installer=<Locale: en_US>)
Yield entry points for loadable parcels in `working_set`
source code
 
load_parcel_from_entrypoint(rv, ep)
Load the parcel defined by entrypoint `ep` into repository view `rv`
source code
 
find_parcel_from_entrypoint(rv, ep)
Find the parcel item defined by entrypoint `ep` into repository view `rv`
source code
Variables [hide private]
  __parcel__ = '//Schema/Core'
  logger = logging.getLogger(__name__)
  timing = True
Function Details [hide private]

load_parcel_from_entrypoint(rv, ep)

source code 

Load the parcel defined by entrypoint `ep` into repository view `rv`

`ep` should be an entry point yielded by ``loadable_parcels()``, and `rv` should be a repository view. The egg corresponding to the entry point, along with any dependencies, must already be on sys.path.

If a parcel already exists in `rv` for the entrypoint, it is updated if its version doesn't match the version of the egg containing the entry point. If no parcel exists, it is created.

find_parcel_from_entrypoint(rv, ep)

source code 

Find the parcel item defined by entrypoint `ep` into repository view `rv`

`ep` should be an entry point yielded by ``loadable_parcels()``, and `rv` should be a repository view.

Return `None` if it doesn't exist.