title: "You need version 1.5.0 or better of the Subversion Python bindings" using mailer.py
body: <p>I'm trying to send emails when a user locks/unlocks elements in a SVN repository through a hook using the <a href="https://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/mailer/" rel="nofollow">Apache Mailer script</a> (mailer.py). When the suitable hook is executed I'm obtaining the following error:</p>
  
  <blockquote>
    <p>You need version 1.5.0 or better of the Subversion Python bindings.</p>
  </blockquote>
  
  <p>I have installed the following tools:</p>
  
  <ul>
  <li>VisualSVN 3.3.1 (Subversion 1.8.13)</li>
  <li>Python 3.5.1 (I've tried with 32 and 64 bits versions)</li>
  <li>Python SVN Extension (pysvn) v1.8 (for Python v3.5 and SVN 1.8.14)</li>
  </ul>
  
  <p>Furthermore, I have Subversion 1.8.13 source code available.</p>
  
  <p>The suitable hook (post-lock.cmd) has the following unique line:</p>
  
  <pre><code>&lt;pythonHome&gt;python.exe &lt;repositoryHooks&gt;mailer.py "%1" "%2" &lt;repositoryHooks&gt;mailer.conf
  </code></pre>
  
  <p>I've configured the PYTHONPATH as:</p>
  
  <pre><code>&lt;subversion-1.8.13SourceCodePath&gt;\subversion\bindings\swig\python;&lt;pythonHome&gt;/Lib;&lt;visualSVNPath&gt;PythonPackage
  </code></pre>
  
  <p>All the above configuration provokes the mentioned error.</p>
  
  <p>Any idea of where I could obtain the 1.5.0 Python Subversion bindings and how I could configure them to allow the mailer script execution without errors?</p>
  
  <p>Thank you so much in advance.</p>