View Single Post
Old 05-12-2021, 11:18 AM   #3
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I've never done that on Kindle, but I see no reason why this wouldn't behave, as the builds are essentially identical:

Code:
 139   │ # NOTE: Document pip usage... (*NOT* recommended!)
 140   │ if [ "${COMPILE_PY3}" = "true" ] ; then
 141   │     # NOTE: Technically available on Python 2.7, too, but let's not encourage that...
 142   │     echo ""
 143   │     echo "If you *absolutely* need to, pip can be bootstrapped and updated."
 144   │     echo "This is *NOT* recommended, as it will only be able to install pure-python modules (as there is no available C/C++ compiler)."
 145   │     echo "In addition to that, any extra third-party modules will be *lost* during a Python update!"
 146   │     echo "As for the user site-packages, remember that by default HOME is either in a tmpfs, or, worse, the rootfs..."
 147   │     echo "TL;DR: Don't do this unless you *know* what you're doing!"
 148   │     echo ""
 149   │     echo "That said..."
 150   │     echo "Boostrapping pip:"
 151   │     echo "python${PY3VER} -m ensurepip"
 152   │     echo "Updating pip:"
 153   │     echo "${PY3HOME}/bin/pip${PY3VER} install -U setuptools pip"
 154   │     echo "Symlinking pip into PATH"
 155   │     echo "ln -sf ${PY3HOME}/bin/pip /usr/bin/pip"
 156   │     echo ""
 157   │ fi
(That's from my Kobo Python distrib).
NiLuJe is offline   Reply With Quote