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
08c0538f
Commit
08c0538f
authored
Sep 12, 2017
by
Matthew Brett
Browse files
Continue search for delocate install fix
parent
3fe24f4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
osx_utils.sh
osx_utils.sh
+7
-2
tests/test_python_install.sh
tests/test_python_install.sh
+1
-1
No files found.
osx_utils.sh
View file @
08c0538f
...
@@ -294,8 +294,7 @@ function get_macpython_environment {
...
@@ -294,8 +294,7 @@ function get_macpython_environment {
export
PYTHON_EXE PIP_CMD
export
PYTHON_EXE PIP_CMD
}
}
function
repair_wheelhouse
{
function
install_delocate
{
local
wheelhouse
=
$1
check_pip
check_pip
if
[
$(
lex_ver
$(
get_py_mm
))
-lt
$(
lex_ver 2.7
)
]
;
then
if
[
$(
lex_ver
$(
get_py_mm
))
-lt
$(
lex_ver 2.7
)
]
;
then
# Wheel 0.30 doesn't work for Python 2.6; see:
# Wheel 0.30 doesn't work for Python 2.6; see:
...
@@ -303,6 +302,12 @@ function repair_wheelhouse {
...
@@ -303,6 +302,12 @@ function repair_wheelhouse {
$PIP_CMD
install
"wheel<=0.29"
$PIP_CMD
install
"wheel<=0.29"
fi
fi
$PIP_CMD
install
delocate
$PIP_CMD
install
delocate
}
function
repair_wheelhouse
{
local
wheelhouse
=
$1
install_delocate
delocate-listdeps
$wheelhouse
/
*
.whl
# lists library dependencies
delocate-listdeps
$wheelhouse
/
*
.whl
# lists library dependencies
# repair_wheelhouse can take more than 10 minutes without generating output
# repair_wheelhouse can take more than 10 minutes without generating output
...
...
tests/test_python_install.sh
View file @
08c0538f
...
@@ -7,7 +7,7 @@ echo "virtualenv on path: $(which virtualenv)"
...
@@ -7,7 +7,7 @@ echo "virtualenv on path: $(which virtualenv)"
echo
"virtualenv cmd:
$VIRTUALENV_CMD
"
echo
"virtualenv cmd:
$VIRTUALENV_CMD
"
# Check that a pip install puts scripts on path
# Check that a pip install puts scripts on path
$PIP_CMD
install
delocate
install
_
delocate
delocate-listdeps
--version
||
ingest
"Delocate not installed right"
delocate-listdeps
--version
||
ingest
"Delocate not installed right"
# Python version from Python to compare against required
# Python version from Python to compare against required
...
...
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