Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Compilers

    Cake 0.2.3

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Alexandru Cepoi | More programs
    GPL v3 / FREE
    January 26th, 2012, 00:28 GMT
    ROOT / Programming / Compilers

     Read user reviews (0)  Refer to a friend  Subscribe

    Cake description

    Simple Python build program

    Cake is a simple build program written in Python, similar to Rake.

    It uses a simple yaml file (Cakefile) to load tasks from your project. Cake can be called from anywhere in the project. Support for task descriptions and parameters.

    Usage:

    cake [taskname] [taskargs]

    Example:

    $ cat Cakefile
    TASKDIRS:
     - demo

    $ cat demo/*.py
    from cake import task

    def common():
     print "common code finished"

    @task
    def one():
     common()
     print "one finished"

    @task()
    def two():
     common()
     print "two finished"

    @task("complex task")
    def three(value):
     common()
     print "three finished with value %s" % value

    $ cake
    (in /home/alex/work/python/cake)
    cake one #
    cake three (value) # complex task
    cake two #

    $ cake three 2
    (in /home/alex/work/python/cake)
    common code finished
    three finished with value 2


    Install:

    pip install cake


    Product's homepage

    Requirements:

    · Python
    · PyYAML

      


    TAGS:

    Python build | Python library | Python | build | compiler



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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