enscons icon indicating copy to clipboard operation
enscons copied to clipboard

Pass --config-settings of the form 'option=value' as SCons ARGUMENTS

Open cwiede opened this issue 2 years ago • 0 comments

as suggested in https://github.com/dholth/enscons/issues/36

Example:

in SConstruct, add

for k in ARGUMENTS:
    print(k, "->", ARGUMENTS[k])

if building a wheel with pip wheel python-sample/ --config-settings 'a=b' --verbose --verbose --verbose you'll see lines a -> b in the log.

cwiede avatar Aug 03 '23 15:08 cwiede