mirror of https://github.com/fail2ban/fail2ban
py3.12: install setuptools (packaged now)
parent
f966d88ce5
commit
f1efea6a4f
|
@ -61,6 +61,8 @@ jobs:
|
||||||
python -c 'import readline' 2> /dev/null || python -m pip install readline || echo 'readline not available'
|
python -c 'import readline' 2> /dev/null || python -m pip install readline || echo 'readline not available'
|
||||||
# asyncore/asynchat:
|
# asyncore/asynchat:
|
||||||
if dpkg --compare-versions "$F2B_PYV" ge 3.12; then
|
if dpkg --compare-versions "$F2B_PYV" ge 3.12; then
|
||||||
|
#sudo apt-get -y install python${F2B_PY/2/}-setuptools || echo 'setuptools not unavailable'
|
||||||
|
python -m pip install setuptools || echo "can't install setuptools"
|
||||||
python -m pip install pyasynchat || echo "can't install pyasynchat";
|
python -m pip install pyasynchat || echo "can't install pyasynchat";
|
||||||
python -m pip install pyasyncore || echo "can't install pyasyncore";
|
python -m pip install pyasyncore || echo "can't install pyasyncore";
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue