diff --git a/python/meson.build b/python/meson.build index 05f86e8..71809df 100644 --- a/python/meson.build +++ b/python/meson.build @@ -5,7 +5,7 @@ project( ).stdout().strip('\n'), # 'online.fxreader.uv', # ['c', 'cpp'], - version: '0.1.5.16+27.8', + version: '0.1.5.16+27.9', # default_options: [ # 'cpp_std=c++23', # # 'prefer_static=true', @@ -38,7 +38,10 @@ if mode == 'pyproject' namespace_path = meson.project_name().replace('.', '/') - module_root = py.get_install_dir() / namespace_path + install_root = py.get_install_dir(pure: true) + install_root_binary = py.get_install_dir(pure: false) + + module_root = install_root / namespace_path python_sources = run_command( 'find', namespace_path, '-iname', '*.py', @@ -47,7 +50,8 @@ if mode == 'pyproject' py.install_sources( python_sources, - preserve_path: true + preserve_path: true, + pure: true, # subdir: namespace_path, ) @@ -61,13 +65,23 @@ if mode == 'pyproject' install_data( files( + [ + namespace_path / 'py.typed', + ], # 'py.typed', # '__init__.py', # 'pyproject.toml', - namespace_path / 'py.typed', ), - install_dir : py.get_install_dir(), + install_dir : install_root, install_tag: 'python-runtime', preserve_path: true, ) +# + install_subdir( + project_root / '..' / 'meson', + install_dir : module_root, + strip_directory: false, +# install_tag: 'devel', + install_tag: 'devel', + ) endif diff --git a/releases/whl/online_fxreader_pr34-0.1.5.16+27.9-py3-none-any.whl b/releases/whl/online_fxreader_pr34-0.1.5.16+27.9-py3-none-any.whl new file mode 100644 index 0000000..a2d5772 --- /dev/null +++ b/releases/whl/online_fxreader_pr34-0.1.5.16+27.9-py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15d28a44ddb66da99516a1f45a3662200cbcb68118a66f7e19fe55c73f6d5bde +size 71876