Clone in a terminal:
#! /usr/bin/env python

"""
The @conf is a python decorator - decorators are used to replace functions

This particular decorator will bind the function to
the configuration context

Try:
$ waf configure
"""

top = '.'
out = 'build'

from waflib.Configure import conf

@conf
def hi(ctx):
    print('→ hello, world!')

# hi = conf(hi)

def configure(ctx):
    ctx.hi()

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112