On Sunday, December 4, 2016 at 1:56:23 PM UTC-8, RjOllos wrote:
> # Modify Apache to point to interpreter and lib directories in pve >>> >> I totally don't know how ;D I'm newbie in virtualenv. I understand, that >> after login i have to . pve/bin/activate ;D >> > > Let me get back to you on that, shortly. > > - Ryan > To make the Subversion bindings visible to a virtualenv, here is what I've done on OSX (Debian will be the same except paths will obviously be different). $ cd pve/lib/python2.7/site-packages # Create two symbolic links $ls -al svn libsvn lrwxr-xr-x 1 rjollos staff 69 Dec 1 09:41 libsvn -> /usr/local/Cellar/subversion/1.9.5/lib/python2.7/site-packages/libsvn lrwxr-xr-x 1 rjollos staff 66 Dec 1 09:41 svn -> /usr/local/Cellar/subversion/1.9.5/lib/python2.7/site-packages/svn # Create svn.path with a link $cat svn.pth /usr/local/Cellar/subversion/1.9.5/lib/python2.7/site-packages/libsvn In your Apache config, you need to set python-path. Here is the configuration from one of my servers: WSGIDaemonProcess $site python-path=$site/pve/lib/python2.7/site-packages:$site/pve/bin maximum-requests=1000 processes=2 threads=25 inactivity-timeout=120 You probably don't need to worry about maximum-requests and the options that follow it. - 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.
