Skip to main content

Syseggrecipe allows the reuse of system eggs in buildout installs

Project description

Description

The buildout syseggrecipe uses system installed eggs, called syseggs. These syseggs are used instead of installing them again during buildout. This is usefull for hard to compile eggs or eggs that need specific development libraries.

Example

An example of how to use the recipe. Please note that the sysegg recipe must be the first buildout part.:

[buildout]
parts = sysegg

[sysegg]
recipe = syseggrecipe
eggs =
  netCDF4

To stop the buildout when not all syseggs are installed include: force-sysegg = True.:

[buildout]
parts = sysegg

[sysegg]
recipe = syseggrecipe
force-sysegg = true
eggs =
  netCDF4

Tests

To test if all syseggs are available while force-sysegg = true is enabled in the buildout configuration.:

bin/buildout sysegg:force-sysegg=false install sysegg

Origin

This package is a fork of osc.recipe.sysegg. As such it is licensed under MIT.

CHANGES

0.3 (2013-09-10)

  • We report files that we’ve added to buildout now so that buildout automatically cleans them up for us. No more pollution in our develop-eggs directory!

  • Symlinking folders of non-egg distributions that we found in a system directory turned out to be a bad idea. Some distributions install files instead of directories (GDAL ends up as gdal.py, for instance). We now only copy the “egg-info” files, which turns out to be enough for setuptools to find the distributions.

  • Copying (see above) instead of symlinking means it also works on windows again.

0.2 (2013-09-10)

  • Fix in README for running sysegg standalone.

  • Distributions that aren’t eggs but directories directly inside a sys.path directory would have the actual system folder as their location. This used to mean that everything in that system folder can erroneously be used as a system egg. Not anymore, as those directories are now symlinked directly instead of being used through a too-generic .egg-link file.

  • This recipe uses symlinks for the above fix, which means it doesn’t work on windows anymore.

0.1 (2013-02-05)

  • Patch code to allow for force-sysegg=false

  • Add original code from osc.recipe.sysegg.

  • Add buildout and setup.py.

  • Added readme, changes and MIT license.

Project details


Download files

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

Source Distribution

syseggrecipe-0.3.zip (13.8 kB view details)

Uploaded Source

File details

Details for the file syseggrecipe-0.3.zip.

File metadata

  • Download URL: syseggrecipe-0.3.zip
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for syseggrecipe-0.3.zip
Algorithm Hash digest
SHA256 e4c8554a219a6e499275f5c66405ef24b5b360cd5ec159f293e0753e6187ed95
MD5 5445bc9075065e65f814344cb25a1f95
BLAKE2b-256 405d4b47bb9c4b9aa6382e646f3b1fed0d663ebee7a52d0647785699224f008f

See more details on using hashes here.

Supported by

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