Thanks for posting this.  You are right -- OSX is not an easy platform
for development, because apple has nothing akin to apt-get.  (Why they
have not done this, I cannot guess.  Surely it cannot be because
people find macports and fink to be reliable and useful.)

A couple of points:

1. I found that:

    sudo easy_install mysql-python

worked well, which saves a bit of editing and compiling.

2. Using this (at least with fastcgi) is problematic, because the
webserver user ("_www" on OSX) tries to write eggs to locations in
which it lacks permissions.  I guess the solution is to add the
following:

    os.environ['PYTHON_EGG_CACHE'] = "..."

to the fastcgi script, in which the ... is replaced with something
that is sensible and safe.  But I'm not too sure what is sensible
(e.g. things in /tmp get erased by cron jobs) and I certainly have no
idea what is safe, so I punted and switched to sqlite3, which seems to
work well.

3. A DMG would be terrific.

Thanks much for posting this.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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