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 kook

How to install Kook

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install kook
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.7.1
0.7.2Never BuiltWhy not?
0.7.1 Available View build log
0.7.0 Available View build log
0.6.0 Available View build log
0.0.5 Available View build log
0.7.1
0.7.2Never BuiltWhy not?
0.7.1 Available View build log
0.7.0 Available View build log
0.6.0 Available View build log
0.0.5 Available View build log
Windows (64-bit)
0.7.1
0.7.2Never BuiltWhy not?
0.7.1 Available View build log
0.7.0 Available View build log
0.6.0 Available View build log
0.0.5 Available View build log
0.7.1
0.7.2Never BuiltWhy not?
0.7.1 Available View build log
0.7.0 Available View build log
0.6.0 Available View build log
0.0.5 Available View build log
Mac OS X (10.5+)
0.7.1
0.7.2Never BuiltWhy not?
0.7.1 Available View build log
0.7.0 Available View build log
0.6.0 Available View build log
0.0.5 Available View build log
0.7.1
0.7.2Never BuiltWhy not?
0.7.1 Available View build log
0.7.0 Available View build log
0.6.0 Available View build log
0.0.5 Available View build log
Linux (32-bit)
0.7.1
0.7.2Never BuiltWhy not?
0.7.1 Available View build log
0.7.0 Available View build log
0.6.0 Available View build log
0.0.5 Available View build log
0.7.1
0.7.2Never BuiltWhy not?
0.7.1 Available View build log
0.7.0 Available View build log
0.6.0 Available View build log
0.0.5 Available View build log
Linux (64-bit)
0.7.2 Available View build log
0.7.1 Available View build log
0.7.0 Available View build log
0.6.0 Available View build log
0.0.5 Available View build log
0.7.1
0.7.2Never BuiltWhy not?
0.7.1 Available View build log
0.7.0 Available View build log
0.6.0 Available View build log
0.0.5 Available View build log
0.7.2 Available View build log
 
Author
License
MIT License
Imports
Lastest release
version 0.7.2 on Sep 20th, 2013

pyKook is a very useful tool to control your task such as compile, install or clean. pyKook is similar to Make, Rake, Ant, or Cook. Kookbook.py, which is a task definition file for pyKook, is written in Python.

Simple Example of Kookbook.py:

@recipe
def hello(c):
    print("Hello")

Output Result:

bash> kk hello     # or pykook hello
### * hello (recipe=hello)
Hello

Other Example of Kookbook.py:

CC = prop('CC', 'gcc -Wall')
kookbook.default = 'all'

@recipe
@ingreds('hello')                      # ingredients
def all(c):                            # or task_all(c)
    pass

@recipe('*.o', ['$(1).c', '$(1).h'])   # @recipe(product, [ingredients])
def file_o(c):
    """compile *.c and *.h into *.o"""
    system(c%'$(CC) -c $(ingred)')

@recipe('hello', ['hello.o'])          # @recipe(product, [ingredients])
def file_hello(c):
    """create 'hello' command"""
    system(c%'$(CC) -o $(product) $(ingred)')

@recipe
def clean(c):
    rm_rf("**/*.o", "**/*~")

## or
kookbook.load('@kook/books/clean.py')   # load 'clean' and 'sweep' recipes
CLEAN.append("**/*.o")

See User's Guide for details.

Subscribe to package updates

Last updated Sep 20th, 2013

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.