Skip to content

Commit edbe920

Browse files
Make python installation configurable for distro packaging. (#23)
1 parent c2e2549 commit edbe920

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project('python-xapp', version: '2.4.1', meson_version: '>=0.47.0')
22

33
pymod = import('python')
4-
python3 = pymod.find_installation('python3')
4+
python3 = pymod.find_installation(get_option('python_target'))
55

66
subdir('xapp')
77

meson_options.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
option('python_target', type: 'string', value: 'python3', description: 'Python installation to target')

0 commit comments

Comments
 (0)