gplugin/gplugin

Change the meson python option from python to python3
feature/python3-naming
2020-02-22, Gary Kramlich
c5a9655fbd5b
Parents 26051396614c
Children 1734d084c48d
Change the meson python option from python to python3
--- a/meson_options.txt Sat Feb 22 04:00:07 2020 -0600
+++ b/meson_options.txt Sat Feb 22 04:01:09 2020 -0600
@@ -44,7 +44,7 @@
)
option(
- 'python',
+ 'python3',
type : 'boolean', value : true,
description : 'Whether or not to build the Python 3.x plugin loader'
)
--- a/python/meson.build Sat Feb 22 04:00:07 2020 -0600
+++ b/python/meson.build Sat Feb 22 04:01:09 2020 -0600
@@ -1,4 +1,4 @@
-if get_option('python')
+if get_option('python3')
if not get_option('gobject-introspection')
error('Python plugin requires GObject Introspection.')
endif
--- a/python/tests/meson.build Sat Feb 22 04:00:07 2020 -0600
+++ b/python/tests/meson.build Sat Feb 22 04:01:09 2020 -0600
@@ -1,4 +1,4 @@
-if get_option('python')
+if get_option('python3')
e = executable('test-python3-loader', 'test-python3-loader.c',
include_directories : include_directories('.'),
@@ -19,4 +19,4 @@
gplugin_python3_static_dep])
test('Python3 utils', e)
-endif # python
+endif # python3