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
a198d0eb
Unverified
Commit
a198d0eb
authored
Jul 17, 2019
by
Matthew Brett
Committed by
GitHub
Jul 17, 2019
Browse files
Merge pull request #242 from matthew-brett/remove-macos-renames
Time to retire expansive wheel naming on macOS
parents
c52feb37
02777c9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
osx_utils.sh
osx_utils.sh
+0
-16
No files found.
osx_utils.sh
View file @
a198d0eb
...
...
@@ -412,22 +412,6 @@ function repair_wheelhouse {
local
wheelhouse
=
$1
install_delocate
delocate-wheel
$wheelhouse
/
*
.whl
# copies library dependencies into wheel
# Add platform tags to label wheels as compatible with OSX 10.9 and
# 10.10. The wheels are built against Python.org Python, and so will
# in fact be compatible with either 10.6+ or 10.9+, depending on the value
# of MB_PYTHON_OSX_VER. pip < 6.0 doesn't realize this, so, in case users
# try to install have older pip, add platform tags to specify compatibility
# with later OSX. Not necessary for OSX released well after pip 6.0. See:
# https://github.com/MacPython/wiki/wiki/Spinning-wheels#question-will-pip-give-me-a-broken-wheel
local
MAC_ARCH
=
$(
get_macpython_arch
)
if
[[
"
$MAC_ARCH
"
==
"x86_64"
]]
;
then
delocate-addplat
--rm-orig
-p
macosx_10_10_x86_64
$wheelhouse
/
*
.whl
elif
[[
"
$MAC_ARCH
"
==
"intel"
]]
;
then
delocate-addplat
--rm-orig
-x
10_9
-x
10_10
$wheelhouse
/
*
.whl
else
echo
"Unexpected ARCH='
$MAC_ARCH
', supported values are 'x86_64' and 'intel'"
exit
1
fi
}
function
install_pkg_config
{
...
...
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