Ryan J Ollos wrote:
> It doesn't seem to work to create an svn.pth and libsvn.pth in
> `site-packages`, however.

That's because the .pth files should be pointing to the directory
containing the "svn" and "libsvn" directories, which you were trying to
avoid in the first place with --no-site-packages.

> and the .pth files DO cause the relevant paths to
> be appended to the python path.
> 
> (tracdev)$ python
>>>> import sys
>>>> sys.path
> ... '/home/rjollos/tracdev/lib/python2.6/site-packages',
> '/usr/lib/pymodules/python2.6/libsvn', '/usr/lib/pymodules/python2.6/svn']

No, if you have '/usr/lib/pymodules/python2.6/svn' in your sys.path, you
can't "import svn"...

-- Remy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to