diff --git a/python/meson.build b/python/meson.build index 4273429..353d072 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.7', + version: '0.1.5.17+27.8', # 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 4702cec..87b3548 100644 --- a/python/online/fxreader/pr34/commands_typed/cli.py +++ b/python/online/fxreader/pr34/commands_typed/cli.py @@ -368,8 +368,8 @@ class CLI(abc.ABC): ) shutil.rmtree(pyproject_build_dir) - if len(self.third_party_roots) > 0: - extra_args.extend(['-Csetup-args=%s' % ('-Dthird_party_roots=%s' % str(o.absolute())) for o in self.third_party_roots]) + if len(self.third_party_roots(project_name)) > 0: + extra_args.extend(['-Csetup-args=%s' % ('-Dthird_party_roots=%s' % str(o.absolute())) for o in self.third_party_roots(project_name)]) cmd = [ sys.executable, @@ -551,8 +551,10 @@ class CLI(abc.ABC): ] ) - @property - def third_party_roots(self) -> list[pathlib.Path]: + def third_party_roots( + self, + project_name: Optional[str] = None, + ) -> list[pathlib.Path]: return [] class meson_toolchains_t: @@ -642,8 +644,8 @@ class CLI(abc.ABC): extra_args: list[str] = [] - if len(self.third_party_roots) > 0: - extra_args.extend(['-Dthird_party_roots=%s' % str(o.absolute()) for o in self.third_party_roots]) + if len(self.third_party_roots(project_name)) > 0: + extra_args.extend(['-Dthird_party_roots=%s' % str(o.absolute()) for o in self.third_party_roots(project_name)]) extra_args = self._cross_file( extra_args=extra_args, diff --git a/releases/whl/online_fxreader_pr34-0.1.5.17+27.8-py3-none-any.whl b/releases/whl/online_fxreader_pr34-0.1.5.17+27.8-py3-none-any.whl new file mode 100644 index 0000000..2e1c370 --- /dev/null +++ b/releases/whl/online_fxreader_pr34-0.1.5.17+27.8-py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1e56df83d706c46d96c66516ea970bbdbd858d1fe8f85afcf71e40db08eaa98 +size 70308