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