summaryrefslogtreecommitdiff
path: root/utils/codegen/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'utils/codegen/meson.build')
-rw-r--r--utils/codegen/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/codegen/meson.build b/utils/codegen/meson.build
index 7dd312e1..fb2196ee 100644
--- a/utils/codegen/meson.build
+++ b/utils/codegen/meson.build
@@ -2,6 +2,10 @@
## Code generation
+py_build_env = environment()
+# \todo Investigate usage of PYTHONPYCACHEPREFIX for Python >= 3.8
+py_build_env.set('PYTHONDONTWRITEBYTECODE', '1')
+
py_modules += ['jinja2', 'yaml']
gen_controls = files('gen-controls.py')