Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Minimalistic Python build tool inspired by Rake

Project Description

It uses a simple python script (Cakefile) located in the project root to define its tasks. Cake can be run and can run tasks from anywhere within the project.

Features

  • Task descriptions
  • Task arguments
  • Colored output

Usage

List all tasks

cake

Execute task

cake [name] [args]

Example

$ cat Cakefile
from cake.lib import task, path

@task("header information")
def test(value='test'):
    """ task description """
    print('current dir: %s' % path.current)
    print('project dir: %s' % path.root)
    print('running with value %s' % value)
$ cake
(in /home/alex/work/cake/examples)
cake test                                  # task description
$ cake test example
(in /home/alex/work/cake/examples)
** test: header information
current dir: /home/alex/work/cake/examples
project dir: /home/alex/work/cake/examples
running with value example

Install

pip install cake
Release History

Release History

This version
History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cake-0.2.3.tar.gz (4.4 kB) Copy SHA256 Checksum SHA256 Source Jan 24, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting