Install python3-distutils when using python3
distutils is not included into main python package on ubuntu. Add python3-distutils explicitly when using PYTHON3=yes. Change-Id: I8aedaaa63d0b5aef6ef9691ee66ea9000ac14cbc
This commit is contained in:
parent
ac2b5a80ad
commit
1644595201
|
@ -10,7 +10,7 @@ if [[ "${PYTHON3}" == "no" ]]; then
|
|||
rpm_python_packages=("python" "python-virtualenv")
|
||||
python3=""
|
||||
else
|
||||
dpkg_python_packages=("python3" "python3-virtualenv")
|
||||
dpkg_python_packages=("python3" "python3-virtualenv" "python3-distutils")
|
||||
rpm_python_packages=("python3" "python3-virtualenv")
|
||||
python3="python3"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue