From 1f46b4ce64864c6805b4c64b449a1d4818895435 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 17 Aug 2021 16:25:22 -0400 Subject: tests: python module should install files correctly - default to python site-packages - subdir to site-packages/subdir - arbitrary install_dir --- test cases/python/2 extmodule/ext/wrongdir/meson.build | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test cases/python/2 extmodule/ext/wrongdir/meson.build (limited to 'test cases/python/2 extmodule/ext/wrongdir') diff --git a/test cases/python/2 extmodule/ext/wrongdir/meson.build b/test cases/python/2 extmodule/ext/wrongdir/meson.build new file mode 100644 index 000000000..1355d4fd7 --- /dev/null +++ b/test cases/python/2 extmodule/ext/wrongdir/meson.build @@ -0,0 +1,7 @@ +py.extension_module('tachyon', + '../tachyon_module.c', + dependencies : py_dep, + c_args: '-DMESON_MODULENAME="tachyon"', + install: true, + install_dir: get_option('libdir') +) -- cgit v1.2.3