mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7cf8712d3c | |||
| 2b62692ab2 | |||
| 9188d94723 | |||
| 2ba3e06f4e | |||
| a91e9c2fc1 | |||
| da96cdf21e | |||
| 0b2e4e9b22 |
@@ -1,5 +1,14 @@
|
||||
# Python Buildpack Changelog
|
||||
|
||||
|
||||
## v66 (2015-10-09)
|
||||
|
||||
Improved compatibility with multi and node.js buildpacks.
|
||||
|
||||
## v65 (2015-10-08)
|
||||
|
||||
Reverted v64.
|
||||
|
||||
## v64 (2015-10-08)
|
||||
|
||||
Improved compatibility with multi and node.js buildpacks.
|
||||
|
||||
+8
-7
@@ -25,8 +25,6 @@ CACHED_DIRS=".heroku"
|
||||
# Static configurations for virtualenv caches.
|
||||
VIRTUALENV_LOC=".heroku/venv"
|
||||
LEGACY_TRIGGER="lib/python2.7"
|
||||
PROFILE_PATH="$BUILD_DIR/.profile.d/python.sh"
|
||||
WEBCONCURRENCY_PROFILE_PATH="$BUILD_DIR/.profile.d/python.webconcurrency.sh"
|
||||
|
||||
DEFAULT_PYTHON_VERSION="python-2.7.10"
|
||||
DEFAULT_PYTHON_STACK="cedar"
|
||||
@@ -57,10 +55,6 @@ TMP_APP_DIR=$CACHE_DIR/tmp_app_dir
|
||||
|
||||
bpwatch start compile
|
||||
|
||||
|
||||
# We'll need to send these statics to other scripts we `source`.
|
||||
export BUILD_DIR CACHE_DIR BIN_DIR PROFILE_PATH
|
||||
|
||||
# Syntax sugar.
|
||||
source $BIN_DIR/utils
|
||||
|
||||
@@ -92,6 +86,13 @@ fi
|
||||
ORIG_BUILD_DIR=$BUILD_DIR
|
||||
BUILD_DIR=$APP_DIR
|
||||
|
||||
# Set up outputs under new context
|
||||
PROFILE_PATH="$BUILD_DIR/.profile.d/python.sh"
|
||||
WEBCONCURRENCY_PROFILE_PATH="$BUILD_DIR/.profile.d/python.webconcurrency.sh"
|
||||
|
||||
# We'll need to send these statics to other scripts we `source`.
|
||||
export BUILD_DIR CACHE_DIR BIN_DIR PROFILE_PATH
|
||||
|
||||
# Prepend proper path buildpack use.
|
||||
export PATH=$BUILD_DIR/.heroku/python/bin:$BUILD_DIR/.heroku/vendor/bin:$PATH
|
||||
export PYTHONUNBUFFERED=1
|
||||
@@ -218,7 +219,7 @@ bpwatch stop dump_cache
|
||||
if [[ ! "$DOCKER_BUILD" ]]; then
|
||||
|
||||
bpwatch start appdir_commit
|
||||
rm -rf $ORIG_BUILD_DIR
|
||||
deep-rm $ORIG_BUILD_DIR
|
||||
deep-mv $BUILD_DIR $ORIG_BUILD_DIR
|
||||
bpwatch stop appdir_commit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user