Compare commits

...

2 Commits

Author SHA1 Message Date
fbe6fb01cb [+] add custom shutil_rmtree 2025-06-02 14:26:57 +03:00
15ab55e370 [+] fix meson wrapper 2025-05-30 12:10:40 +03:00
5 changed files with 19 additions and 1 deletions

@ -5,7 +5,7 @@ project(
).stdout().strip('\n'),
# 'online.fxreader.uv',
# ['c', 'cpp'],
version: '0.1.5.17+27.9',
version: '0.1.5.17+27.11',
# default_options: [
# 'cpp_std=c++23',
# # 'prefer_static=true',

@ -514,6 +514,7 @@ class CLI(abc.ABC):
subprocess.check_call(
[
str(self.dist_settings.python_path),
'-m',
'mesonbuild.mesonmain',
# shutil_which(
# 'meson',

@ -123,3 +123,14 @@ def interfaces_index() -> list[interfaces_index_t.Interface]:
)
return res
def shutil_rmtree(
path: pathlib.Path,
preserve_top_path: bool = False,
) -> None:
if preserve_top_path:
for p in path.iterdir():
shutil.rmtree(str(p))
else:
shutil.rmtree(str(path))

Binary file not shown.

Binary file not shown.