Keith Christian wrote on 2024-05-24 16:41:
pip install wheel mailman psycopg2-binary
Should, or must, any of Django, Hyperkitty, Postorius, Dart-Sass, or any other supporting programs be installed into this virtual environment ?
As I understand it, mailman-hyperkitty get installed into the venv, but django and postorius are pulled in as a dependency of mailman-web (I believe?)
I don't seem to see any SASS modules when I run pip list | grep -i sass
in the venv.
This handled the SASS stuff:
sudo apt install python3-dev python3-venv sassc lynx
I created a file called requirements.txt
which I use thusly in the venv:
pip install -r requirements.txt
I don't know if I can attach it to messages to the list, so I've included it below:
===%<--- requirements.txt --->%===
mailman mailman-web mailman-hyperkitty
## PyMySQL is used in the database connection def in mailman.cfg: ## PyMySQL ## ## For mailman-web migrate with MySQL, mysqlclient is required! ## mysqlclient
## PostgreSQL: psycopg2-binary
uwsgi
## Wheel is advised, but (mostly) works without. wheel
## module error on missing "xapian_backend" when running
## mailman-web update_index_one_list
##
##
## ModuleNotFoundError: No module named 'xapian_backend'
##
## Requires separate build process (and wheel): see docs
xapian-haystack
Hopefully I'm not too wrong in what I've posted.
rb