Please see my response inline to your questions below.

Thanks.

Andriy


----------------------------------------
> >Here is a link to debian package:
> >
> >http://packages.debian.org/wheezy/uwsgi
> >
> >I would recommend virtualenv for uwsgi/python deployment.
>
> Thanks, but as this is for an appliance, a virtual env't would be
> overkill.

It is just a tool to create isolated python environment. Since it is written in 
python the debian package size is 2M. This is optional but widely recommended 
way to go.

http://packages.debian.org/squeeze/python-virtualenv

$ virtualenv env
New python executable in env/bin/python
Installing setuptools............done.
Installing pip...............done.

$ du -hs env/
4.1M    env/

More here: http://docs.python-guide.org/en/latest/dev/virtualenvs.html
> BTW, before I run it, what does "pip install uwsgi" really do?
>
> At this point, unless it's highly recommended, installing an older
> package should be good enough to get started.

Development version has more features and better support for other programming 
languages. You should be good with LTS release since your primary target is 
python. 

> To install uWSGI as a package, I googled for this but didn't find what
> to add to /etc/apt/sources.list so that the command woud run
> successfuly:
>
> http://projects.unbit.it/uwsgi/
>
> # apt-get install uwsgi uwsgi-plugin-python
> ...
> E: Unable to locate package uwsgi
> E: Unable to locate package uwsgi-plugin-python

The link you found has no debian repository layout, nor recompiled deb packages.

> Am I correct in understanding that the latest uWSGI package is, for
> some reason, not available for Debian 6.0 a.k.a. Squeeze?
>
> http://packages.debian.org/search?searchon=names&keywords=uwsgi

That is question to debian package maintainers I guess.

Anyway here are options:
1. Add debian wheezy repository and install from there
2. Compile uwsgi from source.
3. Use easy_install or pip as suggested earlier.                                
          
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to