Skip to content

Commit 6467d9f

Browse files
committed
TST: make test the same with all Meson versions and avoid a warning
1 parent ca0fe7a commit 6467d9f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

tests/packages/subproject/pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ requires = ['meson-python']
88

99
[tool.meson-python.wheel]
1010
exclude = [
11-
# Meson before version 1.3.0 install data files in
12-
# ``{datadir}/{project name}/``, later versions install
13-
# in the more correct ``{datadir}/{subproject name}/``.
14-
'{datadir}/*/data.txt',
11+
'{datadir}/sub/*.txt',
1512
'{py_purelib}/dep.*',
1613
]
1714
include = [

tests/packages/subproject/subprojects/dep/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ py = import('python').find_installation()
88

99
py.install_sources('dep.py')
1010

11-
install_data('data.txt')
11+
install_data('data.txt', install_dir: 'dep')

0 commit comments

Comments
 (0)