Olaf Meeuwissen wrote: > Hi all, > > I've been looking into setting up a server with multiple Trac envs, > using a combination of virtualenv and WSGI to keep the environments > separate. As I'd also like to keep the server's Python environment > separate from that used by the Trac environments, I created another > `virtualenv --no-site-packages` and used that for WSGIPythonHome. > To this WSGIPythonHome virtualenv you can easy_install whatever you > need for all the Trac environments. > > I got that to work fine as long as you don't have a Trac environment > that uses a Subversion repository. Trac requires the Subversion SWIG > binding (as opposed to PySVN which is just an easy_install away) and > I have no clue how to install that (short of `make swig-py; sudo make > install-swig-py`, which is a no-go on a production machine). > > Is there an easy way to install the Subversion SWIG bindings in a > virtualenv, or two?
Subversion installs the bindings to $PREFIX/lib[64]/svn-python/ so if you set $PREFIX to be some temp folder, and then move the svn/ and libsvn/ folders into the virtualenv site-packages it should work fine. --Noah
signature.asc
Description: OpenPGP digital signature
