I agree and I believe Alvaro is working on this for web2py. The issue is simply that this is more complex than needs to be. A modern web hosting provider should not run a 6 years old version of Python.
On May 23, 12:03 am, Russ Ferriday <ru...@topia.com> wrote: > I don't see it as all that bad. > For most serious deployments (in the Plone/Zope context) I and many others > use virtualenv anyway, which gives the application its own python. This is > good in terms of controlling the environment, but in this case means that an > old system python is no longer a problem. > In the Plone/Zope context we also use buildout (google 'buildout pypi) to > assemble packages, and document the whole python environment. Buildout also > allows one to publish recipes, which may also include version specifications, > if one needs to pin versions of a package, for compatibility. > This may be worth looking into for web2py. > Best wishes, > --r > > On May 22, 2010, at 9:54 PM, mdipierro wrote: > > > > > The situation of python on shared web hosting is very sad. Most of > > them run CentOS which comes with Python 2.4 (which is 6 years old) and > > no mod_pyhton. This is not just a problem for web2py. This is a > > problem for all Python users and one that the larger community should > > address, perhaps by putting some pressure on the hosting providers and/ > > or the CentOS team. > > > On May 22, 11:25 pm, GoldenTiger <goldenboy...@gmail.com> wrote: > >> Thank you everybody. > > >> Gathering information from your answers I can then write that real > >> information for Web2Py about compatibility > > >> At 23 th May 2010 we have actual version of Web2Py is v1.78.3 > > >> 1- It's compatible with python 2.4 but requires 2 libraries not > >> included by default on Python 2.4: > >> - pysqlite > >> - hashlib > >> They can be installed manually > >> If "setuptools" library is installed you can install the required > >> libraries using command: "easy_install-2.4 -U pysqlite hashlib" > > >> 2- Any shared hosting with requirements above should be able to run > >> web2py apps > > >> 3- Web2Py performance at production server: > >> -the main significant difference is that GAE requires that all > >> requests must complete in under 30 seconds > >> - a web2py app designed to run in the GAE infrastucture runs as > >> well as the same app in a shared hosting > > >> Thanks again ^ > > Russ Ferriday - Topia Systems - Open Source content management with Plone and > Zope > ru...@topia.com - mobile: +1 805 234 6915 - skype: ferriday