Kiva Editor's Assistant / wscript

#! /usr/bin/env python
# encoding: utf-8

# This python source file contains definitions used by the "waf" build
# framework, see

top = '.'
out = 'build'
APPNAME = 'gkea'
VERSION = '0.1'

def configure(ctx):
    """WAF calls this as part of the work the 'waf configure' command does.
    Although it need not be present for a successful configure operation,
    defining this method will prevent WAF from complaining that it doesn't

def build(ctx):
    """Take whatever actions are necessary to make the project up to date.
    # compile the QT4 designer .ui file into Python source that creates the QT4 GUI.
    ctx(rule='pyuic4 ${SRC} -o ${TGT}', source='kivaui.ui', target='')
    # since the file is created in the build subdirectory, we'll need
    # to use a relative import, which requires that the build directory have an
    # (empty) in it to mark it as a package subdir.
    ctx(rule='touch ${TGT}', target='')