[Python-modules-commits] [mockldap] 04/07: Use pyldap for both Python2 and Python3.

Michael Fladischer fladi at moszumanska.debian.org
Sun Mar 19 07:10:50 UTC 2017


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

fladi pushed a commit to branch experimental
in repository mockldap.

commit 8ec15cd8c29ffb579bb8b60ae1f4c0fe3dad5211
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Fri Mar 17 21:26:14 2017 +0100

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

diff --git a/setup.py b/setup.py
index 167fae3..6c58e27 100755
--- a/setup.py
+++ b/setup.py
@@ -5,8 +5,6 @@ import sys
 from setuptools import setup
 
 
-PY3 = (sys.version_info[0] == 3)
-
 try:
     import unittest.mock    # noqa
 except ImportError:
@@ -53,7 +51,7 @@ setup(
     ],
     keywords=['mock', 'ldap'],
     install_requires=[
-        'pyldap' if PY3 else 'python-ldap',
+        'pyldap',
         'funcparserlib==0.3.6',
     ] + requires_mock,
     extras_require={

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



More information about the Python-modules-commits mailing list