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 > Multimedia > Graphics

    Layout 0.2.3

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Ian Millington | More programs
    MIT/X Consortium Lic... / FREE
    August 17th, 2011, 17:08 GMT
    ROOT / Multimedia / Graphics

     Read user reviews (0)  Refer to a friend  Subscribe

    Layout description

    A page layout engine for Python

    Layout is a high-level Python package for laying out content, primarily for print. It is well documented, tested and commented and has been used in anger for several years.

    - Documentation is found in the "docs" directory.

    - See LICENSE.txt for the terms under which you may use this package.

    Dependencies

    The system requires ReportLab >= 2.0 to use the ReportLab specific functionality (although the library can be used without this, ReportLab is just the default renderer).

    To compile the documentation, you'll need make on your system, and the Python Sphinx package (which in turn has a few dependencies).

    To test the system, I recommend you use Nose.

    A full set of dependencies, including optional dependencies are in the requirements.txt file. Please note that this was created by doing a pip freeze and then editing the == to >= for each requirement, which encodes the versions of libraries I happened to have, earlier versions of the same libraries may also work.

    The docs and testing dependencies aren't included in the setup.py file.

    Tests

    You can run nosetests from the top level package directory to make sure everything is working.

    It is useful normally to install dependencies into a virtualenv, so the workflow would be:

     virtualenv ve
     source ve/bin/activate
     pip install -U -r requirements.txt
     nosetests


    Installing

    Once you've tested the system, deactivate the virtualenv

    deactivate

    Then active the virtualenv of the project you're working on (or don't bother if you're installing globally), and do:

    python setup.py install

    Compiling Documentation

    The documentation is built with Sphinx, and is created with a Makefile in the docs directory. For example

    cd docs
    make html
    cd build/html
    python -m SimpleHTTPServer 8080


    Will serve the documentation at http://localhost:8000

    You can also build HTML-help and Latex versions of the documentation, though other software dependencies exist for them.

    Requirements:

    · Python

      


    TAGS:

    content layout | layout engine | page layout | content | layout | engine

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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