[+] add .whl
This commit is contained in:
parent
c720465c59
commit
0a0e8c7079
@ -5,7 +5,7 @@ project(
|
||||
).stdout().strip('\n'),
|
||||
# 'online.fxreader.uv',
|
||||
# ['c', 'cpp'],
|
||||
version: '0.1.5.17+27.3',
|
||||
version: '0.1.5.17+27.4',
|
||||
# default_options: [
|
||||
# 'cpp_std=c++23',
|
||||
# # 'prefer_static=true',
|
||||
|
@ -552,14 +552,11 @@ class CLI(abc.ABC):
|
||||
path: Optional[pathlib.Path] = None
|
||||
|
||||
@property
|
||||
def meson_toolchains(self) -> dict[
|
||||
str,
|
||||
meson_toolchains_t.res_t.toolchain_t
|
||||
]:
|
||||
def meson_toolchains(self) -> dict[str, meson_toolchains_t.res_t.toolchain_t]:
|
||||
t1 = pathlib.Path(importlib.import_module('online.fxreader.pr34').__path__[0])
|
||||
toolchains = glob.glob(str(t1 / 'meson' / 'toolchains' / '*'))
|
||||
|
||||
res : dict[str, CLI.meson_toolchains_t.res_t.toolchain_t] = dict()
|
||||
res: dict[str, CLI.meson_toolchains_t.res_t.toolchain_t] = dict()
|
||||
|
||||
for o in toolchains:
|
||||
entry = self.meson_toolchains_t.res_t.toolchain_t(
|
||||
@ -574,7 +571,6 @@ class CLI(abc.ABC):
|
||||
|
||||
return res
|
||||
|
||||
|
||||
def _cross_file(
|
||||
self,
|
||||
extra_args: list[str],
|
||||
@ -597,13 +593,8 @@ class CLI(abc.ABC):
|
||||
options, args = pr34_argparse.parse_args(parser, extra_args)
|
||||
|
||||
if not options.cross_file is None:
|
||||
if not options.cross_file.exists() and (
|
||||
not options.cross_file.is_absolute() and \
|
||||
options.cross_file.stem in self.meson_toolchains
|
||||
):
|
||||
options.cross_file = self.meson_toolchains[
|
||||
options.cross_file.stem
|
||||
].path
|
||||
if not options.cross_file.exists() and (not options.cross_file.is_absolute() and options.cross_file.stem in self.meson_toolchains):
|
||||
options.cross_file = self.meson_toolchains[options.cross_file.stem].path
|
||||
|
||||
extra_args = ['--cross-file', str(options.cross_file)] + args
|
||||
|
||||
|
@ -432,7 +432,6 @@ def env_bootstrap(
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
if not requirements_path.exists():
|
||||
with tempfile.NamedTemporaryFile(
|
||||
mode='w',
|
||||
|
Loading…
Reference in New Issue
Block a user