[+] 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(
|
parser.add_argument(
|
||||||
'-m',
|
'-m',
|
||||||
dest='module',
|
dest='module',
|
||||||
choices=[
|
# choices=[
|
||||||
o.name
|
# o.name
|
||||||
for o in project.modules
|
# for o in project.modules
|
||||||
],
|
# ],
|
||||||
required=True,
|
required=True,
|
||||||
# type=pathlib.Path,
|
# type=pathlib.Path,
|
||||||
type=str,
|
type=str,
|
||||||
@ -577,8 +577,7 @@ class CLI(abc.ABC):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-f',
|
'-f',
|
||||||
dest='file',
|
dest='file',
|
||||||
default='pyproject.common.toml',
|
default=pathlib.Path('pyproject.common.toml'),
|
||||||
default=[],
|
|
||||||
# type=pathlib.Path,
|
# type=pathlib.Path,
|
||||||
type=pathlib.Path,
|
type=pathlib.Path,
|
||||||
)
|
)
|
||||||
@ -588,7 +587,16 @@ class CLI(abc.ABC):
|
|||||||
argv,
|
argv,
|
||||||
)
|
)
|
||||||
|
|
||||||
if not options.file.is_abs():
|
if not options.file.is_absolute():
|
||||||
options.file = project.source_dir / options.file
|
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
|
raise NotImplementedError
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = 'online.fxreader.pr34'
|
name = 'online.fxreader.pr34'
|
||||||
version = '0.1.5.16+28'
|
version = '0.1.5.16+27.2'
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
#"-r requirements.txt",
|
#"-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