Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
0a169e76
Commit
0a169e76
authored
Oct 22, 2018
by
Casey Faist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix extra slash in python install location
parent
2f430abf
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
6 deletions
+19
-6
CHANGELOG.md
CHANGELOG.md
+4
-0
python-3.5.6
builds/runtimes/python-3.5.6
+5
-2
python-3.6.7
builds/runtimes/python-3.6.7
+5
-2
python-3.7.1
builds/runtimes/python-3.7.1
+5
-2
No files found.
CHANGELOG.md
View file @
0a169e76
# Python Buildpack Changelog
# 142 (2018-10-22)
Python 3.7.1, 3.6.7 and 3.5.6 now available on all Heroku stacks.
# 141 (2018-10-10)
Switch to cautious upgrade for Pipenv install to ensure the pinned pip version
...
...
builds/runtimes/python-3.5.6
View file @
0a169e76
...
...
@@ -15,7 +15,7 @@ sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1
echo
"Building Python…"
SOURCE_TARBALL
=
'https://python.org/ftp/python/3.5.6/Python-3.5.6.tgz'
curl
-L
$SOURCE_TARBALL
|
tar
xz
mv
Python-3.
7.0
src
mv
Python-3.
5.6
src
cd
src
./configure
--prefix
=
$OUT_PREFIX
--with-ensurepip
=
no
...
...
@@ -26,4 +26,7 @@ make install
# https://github.com/docker-library/python
find
"
${
OUT_PREFIX
}
"
\(
-type
d
-a
\(
-name
test
-o
-name
tests
\)
\)
-exec
rm
-rf
'{}'
+
ln
$OUT_PREFIX
/bin/python3
$OUT_PREFIX
/bin/python
# Remove spare /
LOCATION
=
${
OUT_PREFIX
%?
}
ln
$LOCATION
/bin/python3
$LOCATION
/bin/python
builds/runtimes/python-3.6.7
View file @
0a169e76
...
...
@@ -15,7 +15,7 @@ sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1
echo
"Building Python…"
SOURCE_TARBALL
=
'https://python.org/ftp/python/3.6.7/Python-3.6.7.tgz'
curl
-L
$SOURCE_TARBALL
|
tar
xz
mv
Python-3.
7.0
src
mv
Python-3.
6.7
src
cd
src
./configure
--prefix
=
$OUT_PREFIX
--with-ensurepip
=
no
...
...
@@ -26,4 +26,7 @@ make install
# https://github.com/docker-library/python
find
"
${
OUT_PREFIX
}
"
\(
-type
d
-a
\(
-name
test
-o
-name
tests
\)
\)
-exec
rm
-rf
'{}'
+
ln
$OUT_PREFIX
/bin/python3
$OUT_PREFIX
/bin/python
# Remove spare /
LOCATION
=
${
OUT_PREFIX
%?
}
ln
$LOCATION
/bin/python3
$LOCATION
/bin/python
builds/runtimes/python-3.7.1
View file @
0a169e76
...
...
@@ -15,7 +15,7 @@ sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1
echo
"Building Python…"
SOURCE_TARBALL
=
'https://python.org/ftp/python/3.7.1/Python-3.7.1.tgz'
curl
-L
$SOURCE_TARBALL
|
tar
xz
mv
Python-3.7.
0
src
mv
Python-3.7.
1
src
cd
src
./configure
--prefix
=
$OUT_PREFIX
--with-ensurepip
=
no
...
...
@@ -26,4 +26,7 @@ make install
# https://github.com/docker-library/python
find
"
${
OUT_PREFIX
}
"
\(
-type
d
-a
\(
-name
test
-o
-name
tests
\)
\)
-exec
rm
-rf
'{}'
+
ln
$OUT_PREFIX
/bin/python3
$OUT_PREFIX
/bin/python
# Remove spare /
LOCATION
=
${
OUT_PREFIX
%?
}
ln
$LOCATION
/bin/python3
$LOCATION
/bin/python
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