mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Get more information when installing packaging dependencies from source
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
3f6f5a6078
commit
18babefe14
1 changed files with 9 additions and 3 deletions
|
@ -253,12 +253,18 @@ def onedir_dependencies(
|
|||
|
||||
create(dest, arch=arch, version=python_version)
|
||||
|
||||
install_args = ["-v"]
|
||||
if platform == "windows":
|
||||
python_bin = dest / "Scripts" / "python"
|
||||
no_binary = []
|
||||
else:
|
||||
python_bin = dest / "bin" / "python3"
|
||||
no_binary = ["--no-binary=:all:"]
|
||||
install_args.extend(
|
||||
[
|
||||
"--use-pep517",
|
||||
"--no-cache-dir",
|
||||
"--no-binary=:all:",
|
||||
]
|
||||
)
|
||||
|
||||
version_info = ctx.run(
|
||||
str(python_bin),
|
||||
|
@ -285,9 +291,9 @@ def onedir_dependencies(
|
|||
"-m",
|
||||
"pip",
|
||||
"install",
|
||||
*install_args,
|
||||
"-r",
|
||||
str(requirements_file),
|
||||
*no_binary,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue