[+] partially fix build for pr34 with meson.build
This commit is contained in:
parent
9a12e71493
commit
e7ec1d1e70
@ -40,21 +40,34 @@ if mode == 'pyproject'
|
|||||||
|
|
||||||
module_root = py.get_install_dir() / namespace_path
|
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(
|
py.install_sources(
|
||||||
[
|
python_sources,
|
||||||
namespace_path,
|
preserve_path: true
|
||||||
],
|
# subdir: namespace_path,
|
||||||
subdir: namespace_path,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# install_subdir(
|
||||||
|
# namespace_path,
|
||||||
|
# install_dir: py.get_install_dir(),
|
||||||
|
# install_tag: 'python-runtime',
|
||||||
|
# # python_sources,
|
||||||
|
# # subdir: namespace_path,
|
||||||
|
# )
|
||||||
|
|
||||||
install_data(
|
install_data(
|
||||||
files(
|
files(
|
||||||
# 'py.typed',
|
# 'py.typed',
|
||||||
# '__init__.py',
|
# '__init__.py',
|
||||||
# 'pyproject.toml',
|
# 'pyproject.toml',
|
||||||
'py.typed',
|
namespace_path / 'py.typed',
|
||||||
),
|
),
|
||||||
install_dir : namespace_path,
|
install_dir : py.get_install_dir(),
|
||||||
install_tag: 'python-runtime',
|
install_tag: 'python-runtime',
|
||||||
|
preserve_path: true,
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+27.8-cp313-cp313-linux_x86_64.whl
(Stored with Git LFS)
Normal file
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+27.8-cp313-cp313-linux_x86_64.whl
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user