Skip to main content

Recipe for installing Python package distributions as eggs

Project description

Buildout Egg-Installation Recipe

The egg-installation recipe installes eggs into a buildout eggs directory. It also generates scripts in a buildout bin directory with egg paths baked into them.

The recipe provides the following options:

eggs

A list of eggs to install given as one ore more setuptools requirement strings. Each string must be given on a separate line.

find-links

One or more addresses of link servers to be searched for distributions. This is optional. If not specified, links specified in the buildout section will be used, if any.

index

The optional address of a distribution index server. If not specified, then the option from the buildout section will be used. If not specified in the part data or in the buildout section, then http://www.python.org/pypi is used.

python

The name of a section defining the Python executable to use. This defaults to buildout.

scripts

Control which scripts are generated. The value should be a list of zero or more tokens. Each token is either a name, or a name followed by an ‘=’ and a new name. Only the named scripts are generated. If no tokens are given, then script generation is disabled. If the option isn’t given at all, then all scripts defined by the named eggs will be generated.

Custom eggs

The zc.recipe.egg:custom recipe supports building custom eggs, currently with specialized options for building extensions.

To do

  • Some way to freeze the egg-versions used. This includes some way to record which versions were selected dynamially and then a way to require that the recorded versions be used in a later run.

  • More control over script generation. In particular, some way to specify data t be recored in the script.

  • Honor the buildout offline option.

  • Windows suppprt

    • Generate exe files

    • Make sure tests work under windows

Change History

1.0.0a2

Added a new recipe for building custom eggs from source distributions, specifying custom distutils build_ext options.

1.0.0a1

Initial public version

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zc.recipe.egg-1.0.0a2.tar.gz (9.2 kB view hashes)

Uploaded Source

Built Distributions

zc.recipe.egg-1.0.0a2-py2.4.egg (18.8 kB view hashes)

Uploaded Source

zc.recipe.egg-1.0.0a2-py2.3.egg (47.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page