API

Only the below API should be considered public.

Enthought egg features

EggMetadata class

This models the metadata of an Enthought egg:

metadata = EggMetadata.from_egg("numpy-1.7.1-1.egg")
print(metadata.platform_tag)

EggBuilder class

This is a class to build Enthought eggs from an install tree

EggBuilder class

This is a class to build Enthought eggs from an existing setuptools egg.

Runtimes

Runtime metadata factory

This class allows you to parse jaguar runtime format, through its factory class methods.

Platforms representations

The main API is EPDPlatform. You can either create an explicit platform, or try to guess the platform from the running system:

platform = EPDPlatform.from_epd_string("rh5-32")
platform = EPDPlatform.from_running_system()

One can access details through EPDPlatform instances’ attributes.

Generic platform representations are available through the Platform class.

Repositories format

Classes in this module model our different index entries.

GritsEggEntry can be used to automatically create the grits key, tags and metadata from an egg package.

Table Of Contents

Previous topic

Quickstart

Next topic

Runtimes

This Page