Skip to content

Commit 672bc5d

Browse files
authored
Merge pull request #73 from dhirschfeld/cleanup
Minor cleanup of setup.py
2 parents cb47d0f + c5d2fbe commit 672bc5d

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

ldapauthenticator/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
from ldapauthenticator.ldapauthenticator import LDAPAuthenticator
22

3-
__all__ = [LDAPAuthenticator]
3+
4+
__version__ = '1.2.0'

ldapauthenticator/ldapauthenticator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import ldap3
2-
from ldap3.utils.conv import escape_filter_chars
31
import re
42

53
from jupyterhub.auth import Authenticator
4+
import ldap3
5+
from ldap3.utils.conv import escape_filter_chars
66
from tornado import gen
77
from traitlets import Unicode, Int, Bool, List, Union
88

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
from setuptools import setup
22

3+
from ldapauthenticator import __version__ as version
4+
5+
36
setup(
47
name='jupyterhub-ldapauthenticator',
5-
version='1.1',
8+
version=version,
69
description='LDAP Authenticator for JupyterHub',
710
url='https://github.com/yuvipanda/ldapauthenticator',
811
author='Yuvi Panda',
912
author_email='yuvipanda@riseup.net',
1013
license='3 Clause BSD',
1114
packages=['ldapauthenticator'],
1215
install_requires=[
13-
'ldap3',
1416
'jupyterhub',
17+
'ldap3',
18+
'tornado',
19+
'traitlets',
1520
]
1621
)

0 commit comments

Comments
 (0)