Skip to main content

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

Project description

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

This is a fork of buildout.requirements which is more or less a copy of buildout.dumprequirements. All credit goes to the authors of that project.

Usage

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

[buildout]
extensions = buildout.requirements
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

  • Yves Müller, port to Python 3 and Buildout 2

  • Stefan Foulis, Author of buildout.dumprequirements

  • Mustapha Benali, Author of buildout.dumppickedversions

Project details


Supported by

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