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
3572e30d
Unverified
Commit
3572e30d
authored
Jun 28, 2018
by
Matthew Brett
Committed by
GitHub
Jun 28, 2018
Browse files
Merge pull request #180 from radarhere/python
MRG: Updated Python versions Add 3.7, update 3.6 version.
parents
88e53fd3
c25728a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
osx_utils.sh
osx_utils.sh
+6
-3
tests/test_fill_pyver.sh
tests/test_fill_pyver.sh
+2
-1
No files found.
osx_utils.sh
View file @
3572e30d
...
@@ -12,7 +12,7 @@ GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
...
@@ -12,7 +12,7 @@ GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
DOWNLOADS_SDIR
=
downloads
DOWNLOADS_SDIR
=
downloads
WORKING_SDIR
=
working
WORKING_SDIR
=
working
# As of
1 May
2018 - latest Python of each version with binary download
# As of
28 June
2018 - latest Python of each version with binary download
# available.
# available.
# See: https://www.python.org/downloads/mac-osx/
# See: https://www.python.org/downloads/mac-osx/
LATEST_2p7
=
2.7.15
LATEST_2p7
=
2.7.15
...
@@ -21,7 +21,8 @@ LATEST_3p2=3.2.5
...
@@ -21,7 +21,8 @@ LATEST_3p2=3.2.5
LATEST_3p3
=
3.3.5
LATEST_3p3
=
3.3.5
LATEST_3p4
=
3.4.4
LATEST_3p4
=
3.4.4
LATEST_3p5
=
3.5.4
LATEST_3p5
=
3.5.4
LATEST_3p6
=
3.6.5
LATEST_3p6
=
3.6.6
LATEST_3p7
=
3.7.0
function
check_python
{
function
check_python
{
...
@@ -80,7 +81,9 @@ function fill_pyver {
...
@@ -80,7 +81,9 @@ function fill_pyver {
echo
$LATEST_2p7
echo
$LATEST_2p7
elif
[
$ver
==
"2.6"
]
;
then
elif
[
$ver
==
"2.6"
]
;
then
echo
$LATEST_2p6
echo
$LATEST_2p6
elif
[
$ver
==
3
]
||
[
$ver
==
"3.6"
]
;
then
elif
[
$ver
==
3
]
||
[
$ver
==
"3.7"
]
;
then
echo
$LATEST_3p7
elif
[
$ver
==
"3.6"
]
;
then
echo
$LATEST_3p6
echo
$LATEST_3p6
elif
[
$ver
==
"3.5"
]
;
then
elif
[
$ver
==
"3.5"
]
;
then
echo
$LATEST_3p5
echo
$LATEST_3p5
...
...
tests/test_fill_pyver.sh
View file @
3572e30d
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
[
"
$(
fill_pyver 2.7.8
)
"
==
"2.7.8"
]
||
ingest
[
"
$(
fill_pyver 2.7.8
)
"
==
"2.7.8"
]
||
ingest
[
"
$(
fill_pyver 2.6
)
"
==
$LATEST_2p6
]
||
ingest
[
"
$(
fill_pyver 2.6
)
"
==
$LATEST_2p6
]
||
ingest
[
"
$(
fill_pyver 2.6.2
)
"
==
"2.6.2"
]
||
ingest
[
"
$(
fill_pyver 2.6.2
)
"
==
"2.6.2"
]
||
ingest
[
"
$(
fill_pyver 3
)
"
==
$LATEST_3p6
]
||
ingest
[
"
$(
fill_pyver 3
)
"
==
$LATEST_3p7
]
||
ingest
[
"
$(
fill_pyver 3.7
)
"
==
$LATEST_3p7
]
||
ingest
[
"
$(
fill_pyver 3.6
)
"
==
$LATEST_3p6
]
||
ingest
[
"
$(
fill_pyver 3.6
)
"
==
$LATEST_3p6
]
||
ingest
[
"
$(
fill_pyver 3.6.0
)
"
==
"3.6.0"
]
||
ingest
[
"
$(
fill_pyver 3.6.0
)
"
==
"3.6.0"
]
||
ingest
[
"
$(
fill_pyver 3.5
)
"
==
$LATEST_3p5
]
||
ingest
[
"
$(
fill_pyver 3.5
)
"
==
$LATEST_3p5
]
||
ingest
...
...
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