buildout.dumprequirements 0.1.1

Dump buildout picked versions as a pip compatible requirements.txt file.

A simple buildout extension that dumps a requirements.txt file for pip.

This is more or less a copy of buildout.dumppickedversions. All credit goes to the authors of that project.


buildout.dumppickedversions (and therefore also buildout.dumprequirements) does some nasty stuff to get its job done. Namely it monkeypatches zc.buildout.easy_install._log_requirement, zc.buildout.easy_install.Installer._get_dist and logging.shutdown. Because both extensions monkeypatch the same methods, it is currently not possible to use buildout.dumppickedversions and buildout.dumprequirements at the same time. I'm not quite sure how to solve this. Probably we'll have to support the functionality of both extensions in one package.


Add buildout.dumprequirements as an extension to the [buildout] section:

extensions = buildout.dumprequirements
dump-requirements-file = requirements.txt
overwrite-requirements-file = true

dump-requirements-file defines the file the requirement list will be written to. If it is undefined the package list will be printed to the console. Setting overwrite-requirements-file to false will prevent buildout.dumprequirements from overwriting an existing file. The setting defaults to true. Contributors ============

  • Stefan Foulis, Author
  • Mustapha Benali, Author of buildout.dumppickedversions


Stefan Foulis




  • Intended Audience :: Developers
  • Topic :: Software Development :: Libraries :: Python Modules
  • Topic :: Software Development :: Build Tools
  • Framework :: Buildout
File Type Python Version Uploaded On Downloads
buildout.dumprequirements-0.1.1.tar.gz Source April 30, 2012 4,001
Version Release Date
0.1.1 April 30, 2012
0.1 Sept. 10, 2011
Date Package Version Action
Aug. 24, 2015, 10:42 p.m. buildout.dumprequirements 0.1.1 Release Created
Aug. 24, 2015, 10:42 p.m. buildout.dumprequirements 0.1 Release Created
Aug. 24, 2015, 10:42 p.m. buildout.dumprequirements Package Created