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

Michael Fladischer fladi at moszumanska.debian.org
Sat Mar 18 07:30:25 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 68abde3da3e2e208de5be75e69a10fcdcf341b75
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 7d827f6..303478e 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