[Python-modules-commits] [django-auth-ldap] 05/08: Use pyldap for both Python2 and Python3.

Michael Fladischer fladi at moszumanska.debian.org
Fri May 12 13:37:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository django-auth-ldap.

commit 4969741b48239ef38e47c0bc07b0dd4b42920f70
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Fri Mar 17 20:24:08 2017 +0100

    Use pyldap for both Python2 and Python3.
---
 setup.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/setup.py b/setup.py
index 7ce54de..362fad8 100644
--- a/setup.py
+++ b/setup.py
@@ -5,9 +5,6 @@ import sys
 from setuptools import setup
 
 
-PY3 = (sys.version_info[0] == 3)
-
-
 setup(
     name="django-auth-ldap",
     version="1.2.11",
@@ -49,7 +46,7 @@ setup(
     keywords=["django", "ldap", "authentication", "auth"],
     install_requires=[
         "django",
-        "pyldap" if PY3 else "python-ldap >= 2.0",
+        "pyldap",
     ],
     setup_requires=[
         "setuptools >= 0.6c11",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-auth-ldap.git



More information about the Python-modules-commits mailing list