From fa09245da6d7981813eeb6ce025ad6275c4e0085 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Mon, 2 Jun 2025 17:44:02 +0300 Subject: [PATCH] [+] update meson_install --- python/meson.build | 2 +- python/online/fxreader/pr34/commands_typed/cli.py | 7 ++++++- .../online_fxreader_pr34-0.1.5.17+27.12-py3-none-any.whl | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 releases/whl/online_fxreader_pr34-0.1.5.17+27.12-py3-none-any.whl diff --git a/python/meson.build b/python/meson.build index 3440a1f..1af047a 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.17+27.11', + version: '0.1.5.17+27.12', # default_options: [ # 'cpp_std=c++23', # # 'prefer_static=true', diff --git a/python/online/fxreader/pr34/commands_typed/cli.py b/python/online/fxreader/pr34/commands_typed/cli.py index 83cda66..6c76c4d 100644 --- a/python/online/fxreader/pr34/commands_typed/cli.py +++ b/python/online/fxreader/pr34/commands_typed/cli.py @@ -415,6 +415,7 @@ class CLI(abc.ABC): argv: Optional[list[str]] = None, ) -> None: from . import cli_bootstrap + from .os import shutil_rmtree project = self.projects[project_name] @@ -425,7 +426,10 @@ class CLI(abc.ABC): argv = [] if force and project.dest_dir.exists(): - shutil.rmtree(project.dest_dir) + shutil_rmtree( + project.dest_dir, + preserve_top_path=True, + ) pyproject = cli_bootstrap.pyproject_load(project.source_dir / 'pyproject.toml') @@ -624,6 +628,7 @@ class CLI(abc.ABC): # third_party_roots: Optional[list[pathlib.Path]] = None, ) -> None: from . import cli_bootstrap + from .os import shutil_rmtree project = self.projects[project_name] diff --git a/releases/whl/online_fxreader_pr34-0.1.5.17+27.12-py3-none-any.whl b/releases/whl/online_fxreader_pr34-0.1.5.17+27.12-py3-none-any.whl new file mode 100644 index 0000000..904debd --- /dev/null +++ b/releases/whl/online_fxreader_pr34-0.1.5.17+27.12-py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a6074677f7d95e9e8a5908703599ce829862a9fc199bd484f5a1a5139de88db +size 70415