views:

43

answers:

2

I'm trying to decide on which architecture to choose for developing Django 1.0.x through Django 1.2.1. I've managed to get MySQL, MySQLdb, PIL, and Python 2.65 installed on Snow Leopard using x86 64-bit builds, but I'm curious as to whether or not there is a definitive answer to this question at the moment, and if so, why?

Thank you! Michaux

+1  A: 

Of course it's possible. Advisable? You didn't mention httpd and mod_wsgi, or some other WSGI container. Get one installed and it should be fine.

Ignacio Vazquez-Abrams
Thanks Ignacio, I just needed a vote of confidence from a more experienced developer such as yourself before "going down the rabbit hole". And so my journey continues! No problems so far ;) Thank you very much.
mkelley33
+1  A: 

It certainly is possible: I do it every day.

Some tips:

  • use virtualenv to sandbox your python packages between projects.
  • use mod_passenger (via Passenger.prefpane) to make VirtualHosts easier to deal with.

You may need to fiddle a bit harder with things if you run stuff under mod_python, as I recall having to work hard to get a version compiled that worked with the version of apache that is installed by default, and the python I was using.

Matthew Schinckel
Thanks for the tips!
mkelley33