On Saturday, April 1, 2017 at 8:57:04 AM UTC-7, David Gessel wrote:
>
> Also, given your helpful hint (thanks) I tracked down this : 
> https://code.activestate.com/lists/python-tutor/23472/
>
> however, adding the paths to site.py didn't help.  There are two further 
> hints, but I'm not sure where to apply them - adding the paths to the Trac 
> code or creating *.pth files (as suggested in site.py) but it isn't clear 
> where to install them or if they'll only enumerate subdirectories of an 
> existing path directory (sort of implied).
>

You could try editing site-packages.pth, as described in:
https://superuser.com/a/247649

Or maybe create or edit a file with a name like mod_python.pth in 
/usr/local/lib/python2.7/site-packages. Which .pth files exist in that 
directory?

To make the svn bindings available on Linux and OSX, I have to create an 
svn.pth and two symbolic links:
$pwd
/Users/rjollos/Documents/Workspace/trac-dev/pve/lib/python2.7/site-packages
$ls -l svn libsvn
libsvn -> 
/usr/local/Cellar/subversion/1.9.5_1/lib/python2.7/site-packages/libsvn
svn -> /usr/local/Cellar/subversion/1.9.5_1/lib/python2.7/site-packages/svn
$cat svn.pth
/usr/local/Cellar/subversion/1.9.5_1/lib/svn-python/libsvn

So I guess something similar might be required for FreeBSD with mod_python.

When you build mod_python, does everything get installed 
into /usr/local/lib/python2.7/site-packages/mod_python ?

- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to