From d46e0efc166cef6efaac798683763e7f8e17d1c4 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 4 Feb 2016 23:05:56 -0500 Subject: [PATCH] sub-env now has a few python variables, just in case. --- bin/utils | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/utils b/bin/utils index 3655142..ff93b53 100755 --- a/bin/utils +++ b/bin/utils @@ -88,6 +88,10 @@ sub-env() { WHITELIST=${2:-''} BLACKLIST=${3:-'^(GIT_DIR|PYTHONHOME|LD_LIBRARY_PATH|LIBRARY_PATH|PATH)$'} + # Python-specific variables. + export PYHONHOME=$BUILD_DIR/.heroku/python + export PYTHONPATH=$BUILD_DIR/ + ( if [ -d "$ENV_DIR" ]; then for e in $(ls $ENV_DIR); do