summaryrefslogtreecommitdiff
path: root/source4/scripting/python/wscript
blob: 3dd35b6a29ada83e843ebdf9cb60e43dff658bd2 (plain)
1
2
3
4
5
6
7
8
9
10
def set_options(opt):
    # enable options related to building python extensions
    opt.tool_options('python') # options for disabling pyc or pyo compilation


def configure(conf):
    # enable tool to build python extensions
    conf.check_tool('python')
    conf.check_python_version((2,4,2))
    conf.check_python_headers()