-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (55 loc) · 2.04 KB
/
setup.py
File metadata and controls
63 lines (55 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# -*- coding: utf-8 -*-
#
# who_ldap, LDAP authentication for WSGI applications.
# Copyright (C) 2010-2014 by contributors <see CONTRIBUTORS file>
#
# This file is part of who_ldap
# <https://github.com/m-martinez/who_ldap.git>
#
# This software is subject to the provisions of the BSD-like license at
# http://www.repoze.org/LICENSE.txt. A copy of the license should accompany
# this distribution. THIS SOFTWARE IS PROVIDED 'AS IS' AND ANY AND ALL
# EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO,
# THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND
# FITNESS FOR A PARTICULAR PURPOSE.
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(HERE, 'README.rst')).read()
CHANGELOG = open(os.path.join(HERE, 'CHANGES.rst')).read()
REQUIRES = [
'repoze.who>=2.3',
'ldap3>=2.4.1',
'setuptools',
'zope.interface',
]
TESTS_REQUIRE = ['nose', 'coverage']
setup(
name='who_ldap',
version='4.0.0',
description='LDAP plugin for repoze.who',
long_description='\n\n'.join([README, CHANGELOG]),
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
('Topic :: System :: Systems Administration :: '
'Authentication/Directory :: LDAP')
],
keywords='ldap web application server wsgi repoze repoze.who',
author='Marco Martinez',
url='https://github.com/m-martinez/who_ldap.git',
license='BSD-derived (http://www.repoze.org/LICENSE.txt)',
include_package_data=True,
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=REQUIRES,
extras_require={'test': TESTS_REQUIRE},
tests_require=TESTS_REQUIRE,
test_suite='nose.collector'
)