diff --git a/bin/compile b/bin/compile
index 388a44bd56320d2c5479033ade3eef4b341c5807..f36fa6b1ee37be6edea9f989f8d9445f6fc3600c 100755
--- a/bin/compile
+++ b/bin/compile
@@ -286,11 +286,6 @@ source "$BIN_DIR/steps/sqlite3"
 buildpack_sqlite3_install
 mtime "sqlite3.install.time" "${start}"
 
-# Source compile variables
-# shellcheck source=.python-compile-env
-if [ -f .python-compile-env ]; then
-  source .python-compile-env
-fi
 
 # pip install
 # -----------
diff --git a/bin/steps/pip-install b/bin/steps/pip-install
index 1589d87fbc8d30e63be9b723138e16abde123046..53771b211b43d29729894c97e40fbb3877728cfe 100755
--- a/bin/steps/pip-install
+++ b/bin/steps/pip-install
@@ -16,6 +16,15 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then
 
     set +e
 
+    # Set SLUGIFY_USES_TEXT_UNIDECODE, for Airflow support
+    if [[ -r $ENV_DIR/SLUGIFY_USES_TEXT_UNIDECODE ]]; then
+        SLUGIFY_USES_TEXT_UNIDECODE="$(cat "$ENV_DIR/SLUGIFY_USES_TEXT_UNIDECODE")"
+        export SLUGIFY_USES_TEXT_UNIDECODE
+        echo "SLUGIFY_USES_TEXT_UNIDECODE set to " + SLUGIFY_USES_TEXT_UNIDECODE
+    fi
+
+    set +e
+
     # Measure that we're using pip.
     mcount "tool.pip"