Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    buildout.dumprequirements 0.1.1

    Download button

    No screenshots available
    Downloads: 111  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Stefan Foulis | More programs
    GPL / FREE
    April 30th, 2012, 11:10 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    buildout.dumprequirements description

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

    buildout.dumprequirements is 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.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    buildout extension | pip compatible | pip | requirements | buildout

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM