Andrew Hodgson via Mailman-users writes:
I'm having trouble getting Gunicorn to see the Mailman-Web installation at mailman_web.wsgi:application.
The basic idea is that Gunicorn expects mailman_web to be an importable module on the Python path. We provide mailman_web as an ordinary package with a trivial __init__.py, and wsgi is a module in that package. Since all the real work of creating the application is done by Django, wsgi.py can just be a standard piece of boilerplate. In sum, as long as the mailman_web directory is on the Python path, Gunicorn should find the right wsgi. If you installed with pip, it's in site-packages, and that is automatically satisfied.
Are you sure it's not finding mailman_web.wsgi:application? I would think more troublesome would be finding settings.py and urls.py. (Of course this is moot if you have success with uwsgi.)
Note the installation documentation I linked to uses mailman-suite which is an older (deprecated?) method of getting the web interface hooked up. I'm trying to migrate to mailman-web so that I can take advantage of changes going forward with a simpler setup.
That's right. I don't know if mailman-suite is actually deprecated or if it is "abandonware". But I can't think of any advantages to it, and mailman-web is definitely simpler.