1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# SPDX-License-Identifier: CC0-1.0 if not pycamera_enabled subdir_done() endif pymod = import('python') py3 = pymod.find_installation('python3') pypathdir = meson.project_build_root() / 'src' / 'py' test('pyunittests', py3, args : files('unittests.py'), env : ['PYTHONPATH=' + pypathdir], suite : 'pybindings', is_parallel : false)