buildout.eggscleaner

A buildout extension to move non-used eggs to a specified directory
Download

buildout.eggscleaner Ranking & Summary

Advertisement

  • Rating:
  • License:
  • ZPL
  • Price:
  • FREE
  • Publisher Name:
  • Peter Uittenbroek
  • Publisher web site:
  • https://github.com/thepjot/

buildout.eggscleaner Tags


buildout.eggscleaner Description

buildout.eggscleaner can be used to ensure your egg directory only contains 'used' eggs. The extension can report, but also move unused eggs to a specified directory.InstallationEggscleaner is a buildout extensions, can add it like soextensions = buildout.eggscleanerOptionsold-eggs-directory The directory you want buildout.eggscleaner to move your unused eggs to. Should an excact egg already exist, we remove the one in the ''used'' eggs directoryExampleextensions = buildout.eggscleanerold-eggs-directory = ${buildout:directory}/old-eggs/Tested withzc.buildout: 1.4.3, 1.5.1, 1.5.2, 1.6.0 python: 2.4.6, 2.6.8Working with other extensionsI looked at how buildout.dumppickedversions works and made this extension work in a similar manner. This extension will run alongside that one perfectly well.Example outputsNothing do*************** BUILDOUT EGGSCLEANER ****************No unused eggs in eggs directory*************** /BUILDOUT EGGSCLEANER ****************Moving eggs*************** BUILDOUT EGGSCLEANER ****************Moved unused egg: webcouturier.dropdownmenu-2.3-py2.6.eggMoved unused egg: collective.uploadify-1.0-py2.6.eggMoved unused egg: collective.simplesocial-1.6-py2.6.eggMoved unused egg: collective.autopermission-1.0b2-py2.6.egg*************** /BUILDOUT EGGSCLEANER ****************Reporting*************** BUILDOUT EGGSCLEANER ****************Don't have a 'old-eggs-directory' set, only reportingCan add it by adding 'old-eggs-directory = ${buildout:directory}/old-eggs' to your Found unused egg: webcouturier.dropdownmenu-2.3-py2.6.eggFound unused egg: plone.recipe.command-1.1-py2.6.eggFound unused egg: collective.uploadify-1.0-py2.6.eggFound unused egg: Products.DocFinderTab-1.0.5-py2.6.eggFound unused egg: collective.simplesocial-1.6-py2.6.eggFound unused egg: collective.autopermission-1.0b2-py2.6.eggFound unused egg: Products.Clouseau-1.0-py2.6.egg*************** /BUILDOUT EGGSCLEANER ****************Product's homepage


buildout.eggscleaner Related Software