Fix setuptools version
This commit is contained in:
12
install
12
install
@@ -447,7 +447,9 @@ wo_install() {
|
||||
rm -rf /opt/wo
|
||||
python3 -m venv /opt/wo
|
||||
source /opt/wo/bin/activate
|
||||
python3 -m pip install -U pip setuptools wheel
|
||||
python3 -m pip uninstall setuptools
|
||||
python3 -m pip install -I setuptools==57.5.0
|
||||
python3 -m pip install -U pip wheel
|
||||
if [ "$wo_linux_distro" = "Debian" ] || [ "$wo_linux_distro" = "Raspbian" ]; then
|
||||
if [ "$wo_distro_codename" = "stretch" ]; then
|
||||
python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@1.4.y#egg=python-apt
|
||||
@@ -497,12 +499,16 @@ wo_travis_install() {
|
||||
if [ -f ./setup.py ]; then
|
||||
if [ -d /opt/wo/lib/python3."$python_ver"/site-packages/apt ]; then
|
||||
source /opt/wo/bin/activate
|
||||
python3 -m pip install -U pip setuptools wheel
|
||||
python3 -m pip uninstall setuptools
|
||||
python3 -m pip install -I setuptools==57.5.0
|
||||
python3 -m pip install -U pip wheel
|
||||
else
|
||||
rm -rf /opt/wo
|
||||
python3 -m venv /opt/wo
|
||||
source /opt/wo/bin/activate
|
||||
python3 -m pip install -U pip setuptools wheel
|
||||
python3 -m pip uninstall setuptools
|
||||
python3 -m pip install -I setuptools==57.5.0
|
||||
python3 -m pip install -U pip wheel
|
||||
if [ "$wo_linux_distro" = "Debian" ] || [ "$wo_linux_distro" = "Raspbian" ]; then
|
||||
if [ "$wo_distro_codename" = "stretch" ]; then
|
||||
python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@1.4.y#egg=python-apt
|
||||
|
||||
Reference in New Issue
Block a user