[Python-modules-commits] [django-auth-ldap] 05/08: Use pyldap for both Python2 and Python3.
Michael Fladischer
fladi at moszumanska.debian.org
Thu Jul 6 20:41:27 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 359c7222f79c1c37a46f5ee1b092db29c5104ba6
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 6397eff..82f2511 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.13",
@@ -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