[Python-modules-commits] [django-auth-ldap] 03/03: Use pyldap for both Python2 and Python3.
Michael Fladischer
fladi at moszumanska.debian.org
Sun Jul 30 17:47:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch patch-queue/debian/master
in repository django-auth-ldap.
commit 1511608ffefdd9d638df0e037ea253f8db82856f
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Fri Mar 17 20:24:08 2017 +0100
Use pyldap for both Python2 and Python3.
Gbp-Pq: Name 0003-Use-pyldap-for-both-Python2-and-Python3.patch
---
setup.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/setup.py b/setup.py
index 6d06024..b8b13f9 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.14",
@@ -47,7 +44,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