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
7abbd01f
Commit
7abbd01f
authored
Jul 18, 2016
by
Matthew Brett
Browse files
Allow alpha etc versions of Python
parent
b9a8decd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
osx_utils.sh
osx_utils.sh
+2
-1
No files found.
osx_utils.sh
View file @
7abbd01f
...
...
@@ -123,11 +123,12 @@ function install_macpython {
# "3" or "3.4" or "3.4.1".
# sets $PYTHON_EXE variable to python executable
local
py_version
=
$(
fill_pyver
$1
)
local
py_stripped
=
$(
strip_ver_suffix
$py_version
)
local
inst_ext
=
$(
pyinst_ext_for_version
$py_version
)
local
py_inst
=
python-
$py_version
-macosx10
.6.
$inst_ext
local
inst_path
=
$DOWNLOADS_SDIR
/
$py_inst
mkdir
-p
$DOWNLOADS_SDIR
curl
$MACPYTHON_URL
/
$py_
version
/
${
py_inst
}
>
$inst_path
curl
$MACPYTHON_URL
/
$py_
stripped
/
${
py_inst
}
>
$inst_path
if
[
"
$inst_ext
"
==
"dmg"
]
;
then
hdiutil attach
$inst_path
-mountpoint
/Volumes/Python
inst_path
=
/Volumes/Python/Python.mpkg
...
...
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