summaryrefslogtreecommitdiff
path: root/test cases/python/2 extmodule/ext/meson.build
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-08-17 16:25:22 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-08-18 17:58:30 -0400
commit1f46b4ce64864c6805b4c64b449a1d4818895435 (patch)
tree7d20980da4175f561dad34bbf4ca4db6fca2d721 /test cases/python/2 extmodule/ext/meson.build
parentb0ffb80ecf845c71453aa34c05570b0c3122db3f (diff)
downloadmeson-1f46b4ce64864c6805b4c64b449a1d4818895435.tar.gz
tests: python module should install files correctly
- default to python site-packages - subdir to site-packages/subdir - arbitrary install_dir
Diffstat (limited to 'test cases/python/2 extmodule/ext/meson.build')
-rw-r--r--test cases/python/2 extmodule/ext/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/python/2 extmodule/ext/meson.build b/test cases/python/2 extmodule/ext/meson.build
index b13bb326f..799e9b08a 100644
--- a/test cases/python/2 extmodule/ext/meson.build
+++ b/test cases/python/2 extmodule/ext/meson.build
@@ -1,6 +1,10 @@
pylib = py.extension_module('tachyon',
'tachyon_module.c',
dependencies : py_dep,
+ c_args: '-DMESON_MODULENAME="tachyon"',
+ install: true,
)
+subdir('nested')
+subdir('wrongdir')
pypathdir = meson.current_build_dir()