virtualenv, python and subversion

2019-04-24 18:25发布

I'm trying to use the python subversion SWIG libraries in a virtualenv --no-site-packages environment. How can I make this work?

3条回答
可以哭但决不认输i
3楼-- · 2019-04-24 18:47

According to Maciek Sawicki answer:

. ap/bin/activate
(ap) $ pip install http://pysvn.barrys-emacs.org/source_kits/pysvn-1.7.6.tar.gz
查看更多
手持菜刀,她持情操
4楼-- · 2019-04-24 18:48

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
查看更多
登录 后发表回答