Compare commits
No commits in common. "41d90d5dcf3471631c9b28691a6c28732b5772de" and "3a01fc9e87fc5795ac75aca9238d1cbdc09a9a42" have entirely different histories.
41d90d5dcf
...
3a01fc9e87
@ -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.21',
|
version: '0.1.5.19',
|
||||||
# default_options: [
|
# default_options: [
|
||||||
# 'cpp_std=c++23',
|
# 'cpp_std=c++23',
|
||||||
# # 'prefer_static=true',
|
# # 'prefer_static=true',
|
||||||
|
|||||||
@ -484,13 +484,9 @@ class CLI(abc.ABC):
|
|||||||
project_name: str,
|
project_name: str,
|
||||||
argv: Optional[list[str]] = None,
|
argv: Optional[list[str]] = None,
|
||||||
env: Optional[dict[str, str]] = None,
|
env: Optional[dict[str, str]] = None,
|
||||||
mode: Optional[Literal['meson', 'pyproject']] = None,
|
|
||||||
) -> None:
|
) -> None:
|
||||||
project = self.projects[project_name]
|
project = self.projects[project_name]
|
||||||
|
|
||||||
if mode is None:
|
|
||||||
mode = 'meson'
|
|
||||||
|
|
||||||
if argv is None:
|
if argv is None:
|
||||||
argv = []
|
argv = []
|
||||||
|
|
||||||
@ -503,7 +499,7 @@ class CLI(abc.ABC):
|
|||||||
[
|
[
|
||||||
shutil_which('ninja', True),
|
shutil_which('ninja', True),
|
||||||
'-C',
|
'-C',
|
||||||
str(project.build_dir / mode),
|
str(project.build_dir / 'meson'),
|
||||||
*argv,
|
*argv,
|
||||||
],
|
],
|
||||||
env=dict(list(os.environ.items())) | env,
|
env=dict(list(os.environ.items())) | env,
|
||||||
@ -652,15 +648,11 @@ class CLI(abc.ABC):
|
|||||||
force: bool,
|
force: bool,
|
||||||
argv: Optional[list[str]] = None,
|
argv: Optional[list[str]] = None,
|
||||||
env: Optional[dict[str, str]] = None,
|
env: Optional[dict[str, str]] = None,
|
||||||
mode: Optional[Literal['meson', 'pyproject']] = None,
|
|
||||||
# third_party_roots: Optional[list[pathlib.Path]] = None,
|
# third_party_roots: Optional[list[pathlib.Path]] = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
from . import cli_bootstrap
|
from . import cli_bootstrap
|
||||||
from .os import shutil_rmtree
|
from .os import shutil_rmtree
|
||||||
|
|
||||||
if mode is None:
|
|
||||||
mode = 'meson'
|
|
||||||
|
|
||||||
project = self.projects[project_name]
|
project = self.projects[project_name]
|
||||||
|
|
||||||
if argv is None:
|
if argv is None:
|
||||||
@ -676,9 +668,9 @@ class CLI(abc.ABC):
|
|||||||
logger.info(dict(env=env))
|
logger.info(dict(env=env))
|
||||||
|
|
||||||
if force:
|
if force:
|
||||||
if (project.build_dir / mode).exists():
|
if (project.build_dir / 'meson').exists():
|
||||||
logger.info(dict(action='removing build dir', path=project.build_dir / mode))
|
logger.info(dict(action='removing build dir', path=project.build_dir / 'meson'))
|
||||||
shutil.rmtree(project.build_dir / mode)
|
shutil.rmtree(project.build_dir / 'meson')
|
||||||
|
|
||||||
extra_args: list[str] = []
|
extra_args: list[str] = []
|
||||||
|
|
||||||
@ -700,8 +692,8 @@ class CLI(abc.ABC):
|
|||||||
'mesonbuild.mesonmain',
|
'mesonbuild.mesonmain',
|
||||||
'setup',
|
'setup',
|
||||||
str(project.source_dir),
|
str(project.source_dir),
|
||||||
str(project.build_dir / mode),
|
str(project.build_dir / 'meson'),
|
||||||
'-Dmodes=["{}"]'.format(mode),
|
'-Dmodes=["meson"]',
|
||||||
*extra_args,
|
*extra_args,
|
||||||
# '-Dpkgconfig.relocatable=true',
|
# '-Dpkgconfig.relocatable=true',
|
||||||
'-Dprefix=/',
|
'-Dprefix=/',
|
||||||
|
|||||||
BIN
releases/whl/online_fxreader_pr34-0.1.5.20-py3-none-any.whl
(Stored with Git LFS)
BIN
releases/whl/online_fxreader_pr34-0.1.5.20-py3-none-any.whl
(Stored with Git LFS)
Binary file not shown.
BIN
releases/whl/online_fxreader_pr34-0.1.5.21-py3-none-any.whl
(Stored with Git LFS)
BIN
releases/whl/online_fxreader_pr34-0.1.5.21-py3-none-any.whl
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user