mirror of
https://github.com/apache/impala.git
synced 2025-12-30 21:02:41 -05:00
Uses impala-python when running packaging scripts to use a known python version with setuptools available. This supports running on systems where the `python` binary is available (as Python 2) but doesn't include setuptools. In this configuration IMPALA_SYSTEM_PYTHON2_OVERRIDE= is set to disable building with python2, and only python3 is used for shell packaging. Also ensures that we use IMPALA_SYSTEM_PYTHON2/3 when using system python for building. Testing: - Manual build with python as a minimal Python 2 install, and Python 3.8 (including setuptools). Change-Id: I51c257010ef8fb1790482cdc3315aede908ef095 Reviewed-on: http://gerrit.cloudera.org:8080/19619 Reviewed-by: Joe McDonnell <joemcdonnell@cloudera.com> Tested-by: Michael Smith <michael.smith@cloudera.com>
3.5 KiB
Executable File
3.5 KiB
Executable File