From e7ec1d1e70efdb6570b951b5696a8f69dc3f4391 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Fri, 9 May 2025 18:20:16 +0300 Subject: [PATCH] [+] partially fix build for pr34 with meson.build --- python/meson.build | 25 ++++++++++++++----- ...0.1.5.16+27.8-cp313-cp313-linux_x86_64.whl | 3 +++ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 releases/whl/online_fxreader_pr34-0.1.5.16+27.8-cp313-cp313-linux_x86_64.whl diff --git a/python/meson.build b/python/meson.build index 1494182..05f86e8 100644 --- a/python/meson.build +++ b/python/meson.build @@ -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 diff --git a/releases/whl/online_fxreader_pr34-0.1.5.16+27.8-cp313-cp313-linux_x86_64.whl b/releases/whl/online_fxreader_pr34-0.1.5.16+27.8-cp313-cp313-linux_x86_64.whl new file mode 100644 index 0000000..5b177db --- /dev/null +++ b/releases/whl/online_fxreader_pr34-0.1.5.16+27.8-cp313-cp313-linux_x86_64.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00151fd4927f99c427715743cc87611a1c37dda17aa291db9efd3a38f55f766b +size 71488