[+] partially fix build for pr34 with meson.build

This commit is contained in:
Siarhei Siniak 2025-05-09 18:20:16 +03:00
parent 9a12e71493
commit e7ec1d1e70
2 changed files with 22 additions and 6 deletions

@ -40,21 +40,34 @@ if mode == 'pyproject'
module_root = py.get_install_dir() / namespace_path
python_sources = run_command(
'find', namespace_path, '-iname', '*.py',
check: true
).stdout().strip().split('\n')
py.install_sources(
[
namespace_path,
],
subdir: namespace_path,
python_sources,
preserve_path: true
# subdir: namespace_path,
)
# install_subdir(
# namespace_path,
# install_dir: py.get_install_dir(),
# install_tag: 'python-runtime',
# # python_sources,
# # subdir: namespace_path,
# )
install_data(
files(
# 'py.typed',
# '__init__.py',
# 'pyproject.toml',
'py.typed',
namespace_path / 'py.typed',
),
install_dir : namespace_path,
install_dir : py.get_install_dir(),
install_tag: 'python-runtime',
preserve_path: true,
)
endif

Binary file not shown.