summaryrefslogtreecommitdiff
path: root/source4/scripting/python/wscript
blob: 14e924b37829e0c3e3384170f34aacb3952ea4b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python

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()