From 212c8c808638436f153b55c974b8a8af011febb0 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Wed, 1 Jan 2025 02:19:40 +0300 Subject: [PATCH] [+] improve deploy:wheel command --- python/online/fxreader/pr34/commands_typed/cli.py | 6 +++++- python/pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python/online/fxreader/pr34/commands_typed/cli.py b/python/online/fxreader/pr34/commands_typed/cli.py index d091763..da932c1 100644 --- a/python/online/fxreader/pr34/commands_typed/cli.py +++ b/python/online/fxreader/pr34/commands_typed/cli.py @@ -206,7 +206,10 @@ class CLI(abc.ABC): # Command.meson_setup.value, # ]) - assert argv is None or len(argv) == 0 + if argv is None: + argv = [] + + # assert argv is None or len(argv) == 0 if not project.meson_path is None: self.meson_install( @@ -241,6 +244,7 @@ class CLI(abc.ABC): '-Csetup-args=-Dinstall_path=%s' % str(project.dest_dir), # '-Cbuild-dir=%s' % str(project.build_dir), str(project.source_dir), + *argv, ] if not output_dir is None: diff --git a/python/pyproject.toml b/python/pyproject.toml index e76fccb..f3ce497 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = 'online.fxreader.pr34' -version = '0.1.4.7' +version = '0.1.4.8' dependencies = [ #"-r requirements.txt",