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

Michael Fladischer fladi at moszumanska.debian.org
Sun Mar 19 08:08:20 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 19e6f4f1a8014ada6b079683e2f997506a52c6b9
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 732b9f7..8575f63 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.10",
@@ -40,7 +37,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