开发者

virtualenv, python and subversion

开发者 https://www.devze.com 2023-02-07 12:51 出处:网络
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:

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
0

精彩评论

暂无评论...
验证码 换一张
取 消