summaryrefslogtreecommitdiff
path: root/test/py/meson.build
blob: 2affdbd491a329ae2094d44ac002a1c1efddf4d2 (plain)
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)