[+] improve module_switch feature

1. remove a release *+28;
  2. add new .whl;
This commit is contained in:
Siarhei Siniak 2025-05-07 11:01:40 +03:00
parent 3d023ceba3
commit ffdd17270e
5 changed files with 22 additions and 11 deletions

@ -565,10 +565,10 @@ class CLI(abc.ABC):
parser.add_argument(
'-m',
dest='module',
choices=[
o.name
for o in project.modules
],
# choices=[
# o.name
# for o in project.modules
# ],
required=True,
# type=pathlib.Path,
type=str,
@ -577,8 +577,7 @@ class CLI(abc.ABC):
parser.add_argument(
'-f',
dest='file',
default='pyproject.common.toml',
default=[],
default=pathlib.Path('pyproject.common.toml'),
# type=pathlib.Path,
type=pathlib.Path,
)
@ -588,7 +587,16 @@ class CLI(abc.ABC):
argv,
)
if not options.file.is_abs():
if not options.file.is_absolute():
options.file = project.source_dir / options.file
pyproject = cli_bootstrap.pyproject_load(
options.file,
)
assert options.module in [
o.name
for o in pyproject.modules
]
raise NotImplementedError

@ -1,6 +1,6 @@
[project]
name = 'online.fxreader.pr34'
version = '0.1.5.16+28'
version = '0.1.5.16+27.2'
dependencies = [
#"-r requirements.txt",

Binary file not shown.

Binary file not shown.

Binary file not shown.