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
02ace48a
Commit
02ace48a
authored
Mar 03, 2025
by
jxltom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update url
parent
6b530c9a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
compile
bin/compile
+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/compile
View file @
02ace48a
...
...
@@ -39,7 +39,7 @@ export BUILD_DIR CACHE_DIR ENV_DIR
# The user can provide BUILDPACK_VENDOR_URL to specify a custom target.
# Note: this is designed for non-Heroku use, as it does not use the user-provided
# environment variable mechanism (the ENV_DIR).
VENDOR_URL
=
"https://wj-backend.oss-
cn-hongkong
.aliyuncs.com/heroku/lang-python/
$STACK
"
VENDOR_URL
=
"https://wj-backend.oss-
accelerate
.aliyuncs.com/heroku/lang-python/
$STACK
"
if
[[
-n
${
BUILDPACK_VENDOR_URL
:-}
]]
;
then
VENDOR_URL
=
"
$BUILDPACK_VENDOR_URL
"
fi
...
...
bin/steps/gdal
View file @
02ace48a
...
...
@@ -10,7 +10,7 @@
# This script is invoked by [`bin/compile`](/).
# The location of the pre-compiled cryptography binary.
VENDORED_GDAL
=
"http://wj-backend.oss-
cn-hongkong
.aliyuncs.com/heroku/lang-python/
$STACK
/libraries/vendor/gdal.tar.gz"
VENDORED_GDAL
=
"http://wj-backend.oss-
accelerate
.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 @
02ace48a
...
...
@@ -10,9 +10,9 @@
# This script is invoked by [`bin/compile`](/).
# The location of the pre-compiled cryptography binary.
VENDORED_GDAL
=
"http://wj-backend.oss-
cn-hongkong
.aliyuncs.com/heroku/lang-python/
$STACK
/libraries/vendor/gdal.tar.gz"
VENDORED_GEOS
=
"http://wj-backend.oss-
cn-hongkong
.aliyuncs.com/heroku/lang-python/
$STACK
/libraries/vendor/geos.tar.gz"
VENDORED_PROJ
=
"http://wj-backend.oss-
cn-hongkong
.aliyuncs.com/heroku/lang-python/
$STACK
/libraries/vendor/proj.tar.gz"
VENDORED_GDAL
=
"http://wj-backend.oss-
accelerate
.aliyuncs.com/heroku/lang-python/
$STACK
/libraries/vendor/gdal.tar.gz"
VENDORED_GEOS
=
"http://wj-backend.oss-
accelerate
.aliyuncs.com/heroku/lang-python/
$STACK
/libraries/vendor/geos.tar.gz"
VENDORED_PROJ
=
"http://wj-backend.oss-
accelerate
.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 @
02ace48a
...
...
@@ -15,7 +15,7 @@ if [[ "$STACK" != "cedar-14" ]]; then
fi
# The location of the pre-compiled libmemcached binary.
VENDORED_MEMCACHED
=
"http://wj-backend.oss-
cn-hongkong
.aliyuncs.com/heroku/lang-python/
$STACK
/libraries/vendor/libmemcache.tar.gz"
VENDORED_MEMCACHED
=
"http://wj-backend.oss-
accelerate
.aliyuncs.com/heroku/lang-python/
$STACK
/libraries/vendor/libmemcache.tar.gz"
# Syntax sugar.
# shellcheck source=bin/utils
...
...
bin/steps/python
View file @
02ace48a
...
...
@@ -83,13 +83,13 @@ if [ ! "$SKIP_INSTALL" ]; then
mcount
"version.python.
$PYTHON_VERSION
"
echo
"http://wj-backend.oss-
cn-hongkong
.aliyuncs.com/heroku/lang-python/
$STACK
/runtimes/
$PYTHON_VERSION
.tar.gz is being downloaded..."
if
!
curl
"http://wj-backend.oss-
cn-hongkong
.aliyuncs.com/heroku/lang-python/
$STACK
/runtimes/
$PYTHON_VERSION
.tar.gz"
-s
|
tar
zxv
-C
.heroku/python &> /dev/null
;
then
echo
"http://wj-backend.oss-
accelerate
.aliyuncs.com/heroku/lang-python/
$STACK
/runtimes/
$PYTHON_VERSION
.tar.gz is being downloaded..."
if
!
curl
"http://wj-backend.oss-
accelerate
.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://wj-backend.oss-
cn-hongkong
.aliyuncs.com/heroku/lang-python/
$STACK
/runtimes/
$PYTHON_VERSION
.tar.gz is downloaded successfully"
echo
"http://wj-backend.oss-
accelerate
.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 @
02ace48a
...
...
@@ -4,7 +4,7 @@ shopt -s nullglob
# The standard library.
if
[[
!
-f
/tmp/stdlib.sh
]]
;
then
curl
--retry
3
-s
http://wj-backend.oss-
cn-hongkong
.aliyuncs.com/heroku/lang-common/buildpack-stdlib/v8/stdlib.sh
>
/tmp/stdlib.sh
curl
--retry
3
-s
http://wj-backend.oss-
accelerate
.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