John,

Regarding Python 2.6 on CentOS you might find this article useful: http://blog.milford.io/2010/06/alt-installing-python-2-6-from-source-in-centos/

I use virtualenv on a VPS running Ubuntu 10.04 LTS with Django 1.2, django-cms and about 10 other installed apps in various combinations. The apps are installed using pip from either the main python repository or directly from source checked out out of github and bitbucket. To date I have had no issues.

The only problem you might come across is when updating source code from a repository is that any changes you make will be overwritten. So for example to use staticfiles with django 1.3 I had to rename directories in django-autocomplete so the javascript and css files would be found automatically. Any time I deploy a new release and update the installed packages using pip then I have to rename the directories again since pip effectively does a clean install.

Regards,

Stuart MacKay
Lisbon, Portugal

I'd like to know what kind of experience people have had, in using
virtualenv (to run a particular version of Python on a VPS) with
Django, and related packages? Not *just* Django (and Python), I'm
fairly sure that will work, but all the other bits and pieces that
tend to be required, like mod_wsgi, or mysqldb_python, and so on?

Is virtualenv really effective, or does it turn out to be a nightmare
to get everything working correctly? I've been looking around the web
(particularly StackOverflow), and it like more like a nightmare. :(

The VPS I am using, turns out to run on CentOS, which uses Python 2.4
for everything, alas. So either I downgrade all my existing 2.6 code
to 2.4, or I install 2.6 on the VPS without breaking it, which would
require virtualenv. (Or changing hosting, which I'm also seriously
considering...)

John C>


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to