Hi! I'd like to run multiple apps, each app by its own user and get rid of virtualenv in favor of "pep370-env"
I'm trying to add emperor mode to the django + pep370 example. (http://projects.unbit.it/uwsgi/wiki/Example) My problem is that uWSGI can't find the WSGIHandler ** ImportError: No module named django.core.handlers.wsgi I understand why this is happening but don't know how to give uWSGI the correct PYTHONUSERBASE. My last configuration follows. Thank you. # more /etc/uwsgi/emperor.ini [uwsgi] emperor = /etc/uwsgi/vassals emperor-tyrant = true # more /etc/uwsgi/vassals/myapp.ini [uwsgi] chdir = /var/python/myuser/myapp env PYTHONUSERBASE=/var/python/myuser/.local env = DJANGO_SETTINGS_MODULE=myapp.settings socket = /tmp/myapp.socket module = django.core.handlers.wsgi:WSGIHandler() master = True vacuum = True -- $ gpg --recv-key da5098a7 _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
