Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
7a7e4632
Commit
7a7e4632
authored
Jan 14, 2021
by
Isuru Fernando
Browse files
use PIP_CMD
parent
dff3d77b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
common_utils.sh
common_utils.sh
+4
-4
No files found.
common_utils.sh
View file @
7a7e4632
...
...
@@ -246,7 +246,7 @@ function build_wheel_cmd {
if [ -n "
$(
is_function
"pre_build"
)
" ]; then pre_build; fi
stop_spinner
if [ -n "
$BUILD_DEPENDS
" ]; then
pip install
$(
pip_opts
)
$BUILD_DEPENDS
${
PIP_CMD
:-
pip
}
install
$(
pip_opts
)
$BUILD_DEPENDS
fi
(cd
$repo_dir
&&
$cmd
$wheelhouse
)
repair_wheelhouse
$wheelhouse
...
...
@@ -254,7 +254,7 @@ function build_wheel_cmd {
function pip_wheel_cmd {
local abs_wheelhouse=
$1
pip wheel
$(
pip_opts
)
-w
$abs_wheelhouse
--no-deps .
${
PIP_CMD
:-
pip
}
wheel
$(
pip_opts
)
-w
$abs_wheelhouse
--no-deps .
}
function bdist_wheel_cmd {
...
...
@@ -350,9 +350,9 @@ function build_index_wheel_cmd {
if [ -n "
$(
is_function
"pre_build"
)
" ]; then pre_build; fi
stop_spinner
if [ -n "
$BUILD_DEPENDS
" ]; then
pip install
$(
pip_opts
)
$@
$BUILD_DEPENDS
${
PIP_CMD
:-
pip
}
install
$(
pip_opts
)
$@
$BUILD_DEPENDS
fi
pip wheel
$(
pip_opts
)
$@
-w
$wheelhouse
--no-deps
$project_spec
${
PIP_CMD
:-
pip
}
wheel
$(
pip_opts
)
$@
-w
$wheelhouse
--no-deps
$project_spec
repair_wheelhouse
$wheelhouse
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment