virtualenv, python and subversion

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

  • How do I install and use MySQLdb for Python 3 on Windows 10?
  • Is it possible to clone only certain commit from a git repo with depth 1?
  • Installing dependent Github-based packages with pip
  • pip: pulling updates from remote git repository
  • pip install github repository fails: No files/directories
  • pip ContextualVersionConflict when pushing new versions on heroku
  • Set up svnperms pre-commit hook
  • Git: git svn rebase failed. RA layer request failed
  • What tools do you use when integrating with Subversion on Windows?
  • Delete all .SVN folders in paths with embedded blanks
  • issue with sqlite while installing SVN::Core
  • ImportError: PyCapsule_Import could not import module “pyexpat”
  • 3 Solutions collect form web for “virtualenv, python and subversion”

    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
    

    According to Maciek Sawicki answer:

    . ap/bin/activate
    (ap) $ pip install http://pysvn.barrys-emacs.org/source_kits/pysvn-1.7.6.tar.gz
    
    Git Baby is a git and github fan, let's start git clone.