On Thu, Jan 25, 2024 at 4:43 PM Wikinaut <mail@tgries.de> wrote:
I recently found the "pipx" wrapper very useful and wanted to ask you if this could be facilitate the fresh installation of the mailman3-suite. Has anyone in the list already experiences installing mailman and mailmanweg through "pipx"?
Here are my general tipps for using pipx
# https://pipx.pypa.io/stable/installation/#on-linux
sudo apt install pipx python3-venv
To install a package systemwide for all users, I recommend the tip from https://github.com/pypa/pipx/issues/754#issuecomment-951162846 .
sudo PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install <package>
Hey! You have a penchant for mailmanweg, instead of mailmanweb! Enegwey (anyway, as we say in Kenya) if pipx doesn't create a virtual environment, then there is no difference with installing MM3 using apt! apt install foobar pipx install foobar The fact that you can give pipx some environment variables doesn't make it some form of virtualization/containerization, or does it? Looking at the old paths, pipx behaved like an MM3 installation method without activating the virtual environment. That was a mess as binaries weren't installed in the correct $PATH. I can't wrap my head around the new platformdirs.user_data_dir()/pipx/*. Let me stop yapping :-)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]