mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
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:
committed by
Tim Armstrong
parent
05931e0e7f
commit
ddad0607c2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user