[+] improve module_switch feature
1. remove a release *+28; 2. add new .whl;
This commit is contained in:
parent
3d023ceba3
commit
ffdd17270e
@ -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",
|
||||
|
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+27.1-py3-none-any.whl
(Stored with Git LFS)
Normal file
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+27.1-py3-none-any.whl
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+27.2-py3-none-any.whl
(Stored with Git LFS)
Normal file
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+27.2-py3-none-any.whl
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+28-py3-none-any.whl
(Stored with Git LFS)
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+28-py3-none-any.whl
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user