Commit 6ae6d742 authored by Matthew Brett's avatar Matthew Brett
Browse files

Add explicit build_pip_wheel function

Useful for scripts overriding "build_wheel" function.
parent 14ee2c23
...@@ -138,7 +138,7 @@ function bdist_wheel_cmd { ...@@ -138,7 +138,7 @@ function bdist_wheel_cmd {
cp dist/*.whl $abs_wheelhouse cp dist/*.whl $abs_wheelhouse
} }
function build_wheel { function build_pip_wheel {
# Standard wheel building command with pip wheel # Standard wheel building command with pip wheel
build_wheel_cmd "pip_wheel_cmd" $@ build_wheel_cmd "pip_wheel_cmd" $@
} }
...@@ -148,6 +148,11 @@ function build_bdist_wheel { ...@@ -148,6 +148,11 @@ function build_bdist_wheel {
build_wheel_cmd "bdist_wheel_cmd" $@ build_wheel_cmd "bdist_wheel_cmd" $@
} }
function build_wheel {
# Set default building method to pip
build_pip_wheel $@
}
function pip_opts { function pip_opts {
[ -n "$MANYLINUX_URL" ] && echo "--find-links $MANYLINUX_URL" [ -n "$MANYLINUX_URL" ] && echo "--find-links $MANYLINUX_URL"
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment