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.4 (2013-09-10)

  • Back to symlinking instead of copying: some egg-info files are actually directories. Downside: Windows is out of the door again.

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.4.zip (14.1 kB view details)

Uploaded Source

File details

Details for the file syseggrecipe-0.4.zip.

File metadata

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

File hashes

Hashes for syseggrecipe-0.4.zip
Algorithm Hash digest
SHA256 d7f97628da954ad18377a09117042a9e55f10b2791e8d5e86b2503d2c7020502
MD5 cc81361ff9d7425e084ad37f2349f011
BLAKE2b-256 b8a353fe3c1222179d705a7b721dd4ae0c4b91bbf7525c0b4e53959ac0418cf3

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