> the symlinks I've added.  For completeness sake, here's the full
> listing of my site-packages directory:
> 
> www:/usr/local/lib/python2.5/site-packages# !ls
> ls -lAF
> total 1034
[stuff]
> -rw-r--r-- 1 root staff    885 Aug 30 19:30 easy-install.pth
> lrwxrwxrwx 1 root staff     26 Sep 28 15:51 killdjangokill -> /home/
> jason/killdjangokill/
> lrwxrwxrwx 1 root staff     33 Sep 28 16:32 mysite -> /home/jason/
> killdjangokill/mysite/
> -rw-r--r-- 1 root staff     29 Aug 20 14:27 setuptools.pth

On my system, when I've simply downloaded the SVN version rather
than using the Debian package for Django, I've had to add a .pth
file here as well.

  bash$  echo killdjangokill > killdjangokill.pth
  bash$  echo mysite > mysite.pth

to get them to show up on the path.  Might help you too?

I have my system set up so that I have site-packages/django
double-dereference as a link.  I have it pointing to a place I
control as a non-root user, and then that link points to my
flavor of the moment:

========================================
[EMAIL PROTECTED]:/home/django$ ls -lsF
/usr/lib/python2.4/site-packages/ | grep django
  0 lrwxrwxrwx  1 root root     20 2007-04-29 13:32 django ->
/home/django/django/
  4 -rw-r--r--  1 root root      7 2007-04-29 13:32 django.pth
[EMAIL PROTECTED]:/home/django$ ls -lsF
total 3
0 lrwxrwxrwx 1 tim tim   12 2007-05-26 17:12 django -> trunk/django/
1 drwxr-xr-x 9 tim tim 1024 2007-03-19 21:37 newforms-admin/
1 drwxr-xr-x 9 tim tim 1024 2007-08-11 13:04 per-object-permissions/
1 drwxr-xr-x 9 tim tim 1024 2007-09-24 05:54 trunk/
========================================

It doesn't work quite so well in a shared environment where one
person can screw up which version of Django everybody else is
working from.  However. in such an environment, you can use a
stock install for public use, and then override it for yourself
via the PYTHONPATH environment variable.

I don't know if it's of any help to you, but it suffices for my
needs :)

> Now my problem is that I'm such a rank beginner w/Python & pdb (really
> *well-documented* debugger there, incidentally</sarcasm>) 

[chuckles at having experienced similar frustrations with pdb]

-tim




--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to