[+] improve venv:compile

This commit is contained in:
Siarhei Siniak 2025-05-16 16:58:23 +03:00
parent 8c07cea8b7
commit c6b2b62ba4
3 changed files with 14 additions and 6 deletions

@ -5,7 +5,7 @@ project(
).stdout().strip('\n'),
# 'online.fxreader.uv',
# ['c', 'cpp'],
version: '0.1.5.16+27.17',
version: '0.1.5.16+27.18',
# default_options: [
# 'cpp_std=c++23',
# # 'prefer_static=true',

@ -605,8 +605,8 @@ class CLI(abc.ABC):
f.flush()
if len(dependencies) > 0:
subprocess.check_call([
self.dist_settings.python_path,
cmd = [
str(self.dist_settings.python_path),
'-m',
'uv', 'pip', 'compile',
*args,
@ -615,10 +615,15 @@ class CLI(abc.ABC):
for o in pip_find_links
], []),
'--generate-hashes',
requirements_name_get_res.not_compiled,
str(requirements_name_get_res.not_compiled),
'-o',
requirements_name_get_res.compiled,
])
str(requirements_name_get_res.compiled),
]
logger.info(dict(
cmd=cmd,
))
subprocess.check_call(cmd)
def module_switch(
self,

Binary file not shown.