Commit ad739d19 authored by Casey Faist's avatar Casey Faist

move env var check to pip-install step

parent d853e34a
......@@ -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
# -----------
......
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment