> Hi everybody,
>
> Is it possible to run apps with different python version in uwsgi , for
> example python-2.4 and python-2.6?
> I tried to use virtualenv parameter but it just didn't work.

Build a fully modular uWSGI:

python uwsgiconfig.py --build core

then for each python version

python uwsgiconfig.py --plugin plugins/python26 core
python uwsgiconfig.py --plugin plugins/python24 core
python uwsgiconfig.py --plugin plugins/python32 core

and so on

Then in your config add

--plugins python26

for python 2.6 and so on.

Another way is building one uwsgi binary for each python version
(using the supplied makefiles):

make -f Makefile.Py26
cp uwsgi uwsgi26

make -f Makefile.Py24
cp uwsgi uwsgi24

...

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to