Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

zc buildout recipe to reuse eggs from python site-packages.

Project Description

This buildout recipe allows you to reuse system wide eggs in your buildout. If SysEggs finds the requested eggs in you pythons site-packages directory (or PYTHONPATH) it will create a .egg-link to it. Other packages that require these eggs will not fetch them.

If force-sysegg is set to any value, the buildout will stop when any required sysegg is not installed.

Example

If you have an application that depends on the python image library (PIL) and you want to use the library that is already installed (e.g. with apt-get on Debian), you can use a buildout.cfg like this:

[buildout]

parts =
    sysegg
    otherpart

[sysegg]
recipe = osc.recipe.sysegg
force-sysegg =
eggs =
  PIL

[otherpart]
recipe = zc.recipe.egg
egg = egg_that_depends_on_PIL

You should list sysegg before all other parts.

Changelog

0.1.2 (2010-03-25)
  • accept eggs definition to start with a blank line
  • add force-sysegg option. if set to any value, abort if any required egg is not installed
0.1.1 (2009-05-20)
  • use logging
  • fixed type in example
0.1 (2009-05-20)
  • initial release
Release History

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
osc.recipe.sysegg-0.1.2.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Mar 26, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting