74 | | ==== for Python 2.5 |
75 | | One easy way to get Python 2.5 bindings is to install Collabnet Subversion Edge [http://www.open.collab.net/go/csvne2_r2a/]. The bindings can be found in the <install_directory>\csvn\lib\svn-python directory. |
76 | | |
77 | | ==== for ActivePython 2.5 |
78 | | One way to get the bindings is to install the [http://www.open.collab.net/downloads/subversion/ CollabNet Subversion Server]. |
79 | | |
80 | | While installing ("Apache Configuration" page / "mod_dav_svn Configuration") you have to select the "Enable viewVC" option. The installer then goes to the "ViewVC Configuration" page and asks for the location of the "Active Python Directory". |
81 | | |
82 | | Be sure to prepend the directory containing the Subversion libraries, from the server install (e.g. `C:\Program Files (x86)\CollabNet\Subversion Server`) to the `PATH`, or the bindings won't load. |
| 74 | ==== for Python 2.7 |
| 75 | For Subversion 1.7.x there are bindings available from http://alagazam.net. |
| 76 | |
| 77 | An alternative is to use the Subversion 1.7.0 bindings from !CollabNet server edition: [http://www.open.collab.net/products/subversion/getit.html CollabNet Subversion Edge 2.1.0 (for Windows 32 or 64 bit)]. |
| 78 | |
| 79 | You'll find there a full Python 2.7.1 installation (below the `Python25` top-level folder!) and the corresponding bindings below `lib/svn-python`. It seems that even though that Python installation was built with !VisualStudio 2010 (`msvcr100.dll`), you can also use those svn bindings with the Python from python.org which was built with !VisualStudio 2008 (`msvcr90.dll`). I'm a bit disappointed, where's the DLL hell gone? |
| 80 | |
| 81 | For the 1.6.x bindings, there's no "official" release to be found for Python 2.7, but thanks to dawuid, who contributed [attachment:svn-win32-1.6.15_py_2.7.zip] (md5 `9dba3d11c4bbb91e29deb28f569e821b`). I tested them, and they seem to work great. Simply unzip in your <python27install>\Lib\site-packages folder. Note that you must have the folder containing the matching Subversion libraries in your PATH (e.g. "C:\Program Files (x86)\Subversion\bin"). |
105 | | ==== for Python 2.7 |
106 | | For Subversion 1.7.x there are also bindings available from http://alagazam.net (see Python 2.6 section above). |
107 | | |
108 | | An alternative is to use the Subversion 1.7.0 bindings from !CollabNet server edition: [http://www.open.collab.net/products/subversion/getit.html CollabNet Subversion Edge 2.1.0 (for Windows 32 or 64 bit)]. |
109 | | |
110 | | You'll find there a full Python 2.7.1 installation (below the `Python25` top-level folder!) and the corresponding bindings below `lib/svn-python`. It seems that even though that Python installation was built with !VisualStudio 2010 (`msvcr100.dll`), you can also use those svn bindings with the Python from python.org which was built with !VisualStudio 2008 (`msvcr90.dll`). I'm a bit disappointed, where's the DLL hell gone? |
111 | | |
112 | | //For the 1.6.x bidings, there's no "official" release to be found for Python 2.7, but thanks to dawuid, who contributed [attachment:svn-win32-1.6.15_py_2.7.zip] (md5 `9dba3d11c4bbb91e29deb28f569e821b`). I tested them, and they seem to work great. Simply unzip in your <python27install>\Lib\site-packages folder. Note that you must have the folder containing the matching Subversion libraries in your PATH (e.g. "C:\Program Files (x86)\Subversion\bin"). |
| 104 | ==== for Python 2.5 |
| 105 | One easy way to get Python 2.5 bindings is to install Collabnet Subversion Edge [http://www.open.collab.net/go/csvne2_r2a/]. The bindings can be found in the <install_directory>\csvn\lib\svn-python directory. |
| 106 | |
| 107 | ==== for ActivePython 2.5 |
| 108 | One way to get the bindings is to install the [http://www.open.collab.net/downloads/subversion/ CollabNet Subversion Server]. |
| 109 | |
| 110 | While installing ("Apache Configuration" page / "mod_dav_svn Configuration") you have to select the "Enable viewVC" option. The installer then goes to the "ViewVC Configuration" page and asks for the location of the "Active Python Directory". |
| 111 | |
| 112 | Be sure to prepend the directory containing the Subversion libraries, from the server install (e.g. `C:\Program Files (x86)\CollabNet\Subversion Server`) to the `PATH`, or the bindings won't load. |