virtualenv, python and subversion
I'm trying to use the python s开发者_JS百科ubversion SWIG libraries in a virtualenv --no-site-packages
environment. How can I make this work?
You can install it inside virtualenv from svn:
source /home/you/venv/python/bin/activate
pip install -e svn+http://pysvn.tigris.org/svn/pysvn/tags/pysvn/Extension/1.7.6/#egg=pysvn
This blog post answers my question nicely. http://codersbuffet.blogspot.com/2009/09/mercurial-subversion-and-virtualenv.html
According to Maciek Sawicki answer:
. ap/bin/activate
(ap) $ pip install http://pysvn.barrys-emacs.org/source_kits/pysvn-1.7.6.tar.gz
精彩评论