Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install buildout.dumprequirements

How to install buildout.dumprequirements

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install buildout.dumprequirements
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.1 Available View build log
0.1 Failed View build log
Windows (64-bit)
0.1.1 Available View build log
0.1 Failed View build log
Mac OS X (10.5+)
0.1.1 Available View build log
0.1 Failed View build log
Linux (32-bit)
0.1.1 Available View build log
0.1 Failed View build log
Linux (64-bit)
0.1.1 Available View build log
0.1 Failed View build log
 
Author
License
GPL
Dependencies
Lastest release
version 0.1.1 on May 23rd, 2012

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.

Warning

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.

Usage

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

[buildout]
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

Subscribe to package updates

Last updated May 23rd, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.