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
4a3d291d
Commit
4a3d291d
authored
Feb 02, 2018
by
Liu Junxiao
Committed by
Junxiao Liu
Feb 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace all amazonaws files to aliyun OSS
parent
084ca97d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
cryptography
bin/steps/cryptography
+1
-1
gdal
bin/steps/gdal
+1
-1
geo-libs
bin/steps/geo-libs
+3
-3
pylibmc
bin/steps/pylibmc
+1
-1
python
bin/steps/python
+3
-3
utils
bin/utils
+1
-1
No files found.
bin/steps/cryptography
View file @
4a3d291d
...
...
@@ -15,7 +15,7 @@ if [[ "$STACK" == "heroku-16" ]]; then
fi
# The location of the pre-compiled libffi binary.
VENDORED_LIBFFI
=
"http
s://lang-python.s3.amazonaws.com
/
$STACK
/libraries/vendor/libffi.tar.gz"
VENDORED_LIBFFI
=
"http
://helmsman-backend.oss-cn-shenzhen.aliyuncs.com/heroku/lang-python
/
$STACK
/libraries/vendor/libffi.tar.gz"
PKG_CONFIG_PATH
=
"/app/.heroku/vendor/lib/pkgconfig:
$PKG_CONFIG_PATH
"
...
...
bin/steps/gdal
View file @
4a3d291d
...
...
@@ -10,7 +10,7 @@
# This script is invoked by [`bin/compile`](/).
# The location of the pre-compiled cryptography binary.
VENDORED_GDAL
=
"http
s://lang-python.s3.amazonaws.com
/
$STACK
/libraries/vendor/gdal.tar.gz"
VENDORED_GDAL
=
"http
://helmsman-backend.oss-cn-shenzhen.aliyuncs.com/heroku/lang-python
/
$STACK
/libraries/vendor/gdal.tar.gz"
PKG_CONFIG_PATH
=
"/app/.heroku/vendor/lib/pkgconfig:
$PKG_CONFIG_PATH
"
...
...
bin/steps/geo-libs
View file @
4a3d291d
...
...
@@ -10,9 +10,9 @@
# This script is invoked by [`bin/compile`](/).
# The location of the pre-compiled cryptography binary.
VENDORED_GDAL
=
"http
s://lang-python.s3.amazonaws.com
/
$STACK
/libraries/vendor/gdal.tar.gz"
VENDORED_GEOS
=
"http
s://lang-python.s3.amazonaws.com
/
$STACK
/libraries/vendor/geos.tar.gz"
VENDORED_PROJ
=
"http
s://lang-python.s3.amazonaws.com
/
$STACK
/libraries/vendor/proj.tar.gz"
VENDORED_GDAL
=
"http
://helmsman-backend.oss-cn-shenzhen.aliyuncs.com/heroku/lang-python
/
$STACK
/libraries/vendor/gdal.tar.gz"
VENDORED_GEOS
=
"http
://helmsman-backend.oss-cn-shenzhen.aliyuncs.com/heroku/lang-python
/
$STACK
/libraries/vendor/geos.tar.gz"
VENDORED_PROJ
=
"http
://helmsman-backend.oss-cn-shenzhen.aliyuncs.com/heroku/lang-python
/
$STACK
/libraries/vendor/proj.tar.gz"
PKG_CONFIG_PATH
=
"/app/.heroku/vendor/lib/pkgconfig:
$PKG_CONFIG_PATH
"
...
...
bin/steps/pylibmc
View file @
4a3d291d
...
...
@@ -15,7 +15,7 @@ if [[ "$STACK" == "heroku-16" ]]; then
fi
# The location of the pre-compiled libmemcached binary.
VENDORED_MEMCACHED
=
"http
s://lang-python.s3.amazonaws.com
/
$STACK
/libraries/vendor/libmemcache.tar.gz"
VENDORED_MEMCACHED
=
"http
://helmsman-backend.oss-cn-shenzhen.aliyuncs.com/heroku/lang-python
/
$STACK
/libraries/vendor/libmemcache.tar.gz"
# Syntax sugar.
# shellcheck source=bin/utils
...
...
bin/steps/python
View file @
4a3d291d
...
...
@@ -41,13 +41,13 @@ if [ ! "$SKIP_INSTALL" ]; then
mcount
"version.python.
$PYTHON_VERSION
"
echo
"http://helmsman-
firmware.oss-cn-hongkong.aliyuncs.com/dokku/
$STACK
/
$PYTHON_VERSION
.tar.gz is being downloaded..."
if
!
curl
"http://helmsman-
firmware.oss-cn-hongkong.aliyuncs.com/dokku/
$STACK
/
$PYTHON_VERSION
.tar.gz"
-s
|
tar
zxv
-C
.heroku/python &> /dev/null
;
then
echo
"http://helmsman-
backend.oss-cn-shenzhen.aliyuncs.com/heroku/lang-python/
$STACK
/runtimes
/
$PYTHON_VERSION
.tar.gz is being downloaded..."
if
!
curl
"http://helmsman-
backend.oss-cn-shenzhen.aliyuncs.com/heroku/lang-python/
$STACK
/runtimes
/
$PYTHON_VERSION
.tar.gz"
-s
|
tar
zxv
-C
.heroku/python &> /dev/null
;
then
puts-warn
"Requested runtime (
$PYTHON_VERSION
) is not available for this stack (
$STACK
)."
puts-warn
"Aborting. More info: https://devcenter.heroku.com/articles/python-support"
exit
1
fi
echo
"http://helmsman-
firmware.oss-cn-hongkong.aliyuncs.com/dokku/
$STACK
/
$PYTHON_VERSION
.tar.gz is downloaded successfully"
echo
"http://helmsman-
backend.oss-cn-shenzhen.aliyuncs.com/heroku/lang-python/
$STACK
/runtimes
/
$PYTHON_VERSION
.tar.gz is downloaded successfully"
# Record for future reference.
echo
"
$PYTHON_VERSION
"
>
.heroku/python-version
...
...
bin/utils
View file @
4a3d291d
...
...
@@ -4,7 +4,7 @@ shopt -s nullglob
# The standard library.
if
[[
!
-f
/tmp/stdlib.sh
]]
;
then
curl
--retry
3
-s
http
s://lang-common.s3.amazonaws.com
/buildpack-stdlib/v8/stdlib.sh
>
/tmp/stdlib.sh
curl
--retry
3
-s
http
://helmsman-backend.oss-cn-shenzhen.aliyuncs.com/heroku/lang-common
/buildpack-stdlib/v8/stdlib.sh
>
/tmp/stdlib.sh
fi
# shellcheck source=/dev/null
source
/tmp/stdlib.sh
...
...
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