From babadee23c7cb4053dd8b263f6e1ed9071af9949 Mon Sep 17 00:00:00 2001 From: Pavel Kardash Date: Fri, 9 Jun 2017 10:16:49 +0300 Subject: [PATCH] Pypi release 1.0 prepare --- README.rst | 8 ++++---- setup.cfg | 5 ++++- setup.py | 5 +++++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 7f3ccf1..544b5f2 100644 --- a/README.rst +++ b/README.rst @@ -13,6 +13,7 @@ Travis-CI Build Status Installation ------------ +- Via python's package manager: `pip install synapse-ldap-password-provider` - Via python's package manager from git: `pip install https://github.com/slipeer/synapse-ldap-password-provider/tarball/master` Usage @@ -60,15 +61,14 @@ Otherwise it will not work properly. If you seach identity server with LDAP inte Account Lockout Policy ---------------------- -If you do not want your internal users to be blocked from outside - by scrambling passwords through this service, then you need - implement a more rigid account lockout policy then in yor LDAP server +If you do not want your internal users to be blocked from outside by scrambling passwords through this service, then you need +implement a more rigid account lockout policy then on your LDAP server. Troubleshooting and Debugging ----------------------------- -``matrix-synapse-ldap3`` logging is included in the Synapse homeserver log +``synapse-ldap-password-provider`` logging is included in the Synapse homeserver log (typically ``homeserver.log``). The LDAP plugin log level can be increased to ``DEBUG`` for troubleshooting and debugging by making the following modifications to your Synapse server's logging configuration file: diff --git a/setup.cfg b/setup.cfg index dbfa54c..6bb86ee 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,5 @@ [flake8] -max-line-length = 90 \ No newline at end of file +max-line-length = 90 + +[metadata] +description-file=README.rst \ No newline at end of file diff --git a/setup.py b/setup.py index 66f2583..bb73f74 100755 --- a/setup.py +++ b/setup.py @@ -28,6 +28,11 @@ def read(fname): version="1", py_modules=["synapse_ldap_password_provider"], description="LDAP3 password provider for Synapse", + url="https://github.com/slipeer/synapse-ldap-password-provider", + download_url="https://github.com/" + "slipeer/synapse-ldap-password-provider/archive/1.0.tar.gz", + author="Slipeer", + author_email="slipeer@gmail.com", install_requires=[ "Twisted>=15.1.0", "ldap3>=2",