On Apr 24, 3:03 am, Rob <rob.nikan...@gmail.com> wrote:
> Maybe this is more of a general python question, but when I run `sudo
> python setup.py install` it insists on putting the django package in ~/
> Library/Python/2.6/site-packages.  I want to install it in the system
> site-packages, so it get's picked up by apache and mod_wsgi.  For now
> I'll hand copy the files, but there must be a way with setup.py.  ?

Try the --prefix or --install-base options to `setup.py install`.
`python setup.py install --help` will run down the options for you; I
think --prefix=/Library/Python/2.6/site-packages/ is worth a shot?

pjm

-- 
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