1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
python2_opt = get_option('with-python2')
python2_dep = dependency(python2_opt, version: '>= 2.7')
python3_opt = get_option('with-python3')
python3_dep = dependency(python3_opt, version: '>= 3.3')
shared_module('python2', 'python.c',
dependencies: [libgio_dep, hexchat_plugin_dep, python2_dep],
install: true,
install_dir: plugindir,
name_prefix: '',
)
shared_module('python3', 'python.c',
dependencies: [libgio_dep, hexchat_plugin_dep, python3_dep],
install: true,
install_dir: plugindir,
name_prefix: '',
)
|