Remove the virtualenv from the PYTHONPATH

Parts of the virtualenv were added to the PYTHONPATH presumably for the
shell but the shell should gets its thrift stuff from shell/gen-py.
Removing the virtualenv from the PYTHONPATH fixes a build problem on
CentOS 5 (packaging build).

Change-Id: I54345d4d772588f8dc42341f5cc51492df6a90ed
This commit is contained in:
Casey Ching
2016-01-19 18:56:53 -08:00
committed by Tim Armstrong
parent 05931e0e7f
commit ddad0607c2

View File

@@ -37,9 +37,4 @@ for EGG in ${IMPALA_HOME}/shell/ext-py/*/dist/*.egg; do
PYTHONPATH=${PYTHONPATH}:${EGG}
done
# Add path to generated thrift modules
for PKG_DIR in ${IMPALA_HOME}/infra/python/env/lib/python*/site-packages; do
PYTHONPATH=${PYTHONPATH}:${PKG_DIR}
done
export PYTHONPATH