Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reviewboard/pysvn-installer

A simple installer and packager for PySVN.
https://github.com/reviewboard/pysvn-installer

installer pysvn python subversion

Last synced: 7 days ago
JSON representation

A simple installer and packager for PySVN.

Awesome Lists containing this project

README

        

===============
PySVN Installer
===============

PySVN_ is a tricky package to install, and is often problematic for most
users. This installer simplifies this, making it easy to get PySVN up and
running on most systems and within a Python virtual environment.

*Please note that we do not maintain PySVN. We only maintain this installer.*

.. _PySVN: https://pysvn.sourceforge.io/

Installation - The Short Version
================================

PySVN requires Python development headers and Subversion development libraries.
You can get these from your package packager, or through XCode on macOS. This
is covered in more detail below.

To install::

$ curl https://pysvn.reviewboard.org | python

This will pull down our `installer
`_
and build/install a Python Wheel for the latest version of PySVN.

If you need to install for a different version of Python, use the appropriate
``pythonX.Y`` binary.

Installation - The Longer Version
=================================

Getting the Development Packages
--------------------------------

This will vary based on your system.

For Ubuntu Linux (or other Debian-based systems)::

$ sudo apt-get install python-dev
$ sudo apt-get build-dep python-svn

On RHEL/CentOS::

$ sudo yum install python-devel subversion-devel

On macOS, we recommend installing Homebrew_ and then running:

$ xcode-select --install
$ brew install subversion

(If these instructions are incomplete for your system, let us know.)

Installation Options
--------------------

You can use this script to install a specific version of PySVN, to install
from a downloaded PySVN source tarball, or to build a Python Wheel without
installing.

You will need to `download the installer
`_
and run it directly to use these arguments.

Here are your options:

``--pysvn-version=``:
The specific version of PySVN to download and install. Note that this is
dependent on the version being hosted by the PySVN maintainers,

``--file=``:
The path to a downloaded PySVN source tarball to install. Useful if you're
installing on multiple versions of Python and don't want to re-download
each time.

``--build-only``:
If specified, this will build a Python Wheel in the current directory,
but won't install it. Note that Wheels for PySVN are fairly tied to the
platform and environment they were built on.