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
64
|
# -*- coding: utf-8 -*-
#
# repoze.who.plugins.ldap, LDAP authentication for WSGI applications.
# Copyright (C) 2008 by Gustavo Narea <http://gustavonarea.net/>
#
# This file is part of repoze.who.plugins.ldap
# <http://code.gustavonarea.net/repoze.who.plugins.ldap/>
#
# repoze.who.plugins.ldap is freedomware: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by the
# Free Software Foundation, either version 3 of the License, or any later
# version.
#
# repoze.who.plugins.ldap is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# repoze.who.plugins.ldap. If not, see <http://www.gnu.org/licenses/>.
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README')).read()
CHANGELOG = open(os.path.join(here, 'CHANGELOG')).read()
version = open(os.path.join(here, 'VERSION')).readline().rstrip()
setup(
name='repoze.who.plugins.ldap',
version=version,
description="LDAP plugin for repoze.who",
long_description='\n\n'.join([README, CHANGELOG]),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
"Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP"
],
keywords='ldap web application server wsgi repoze repoze.who',
author="Gustavo Narea",
author_email="me@gustavonarea.net",
url="http://code.gustavonarea.net/repoze.who.plugins.ldap/",
download_url="https://launchpad.net/repoze.who.plugins.ldap/+download",
license="GNU General Public License v3",
include_package_data=True,
packages=find_packages(exclude=["*.tests", "demo", "demo.*"]),
namespace_packages=['repoze', 'repoze.who', 'repoze.who.plugins'],
zip_safe=False,
tests_require = ['dataflake.ldapconnection>=0.3'],
install_requires=[
'repoze.who>=1.0.6',
'python-ldap>=2.3.5',
'setuptools',
'zope.interface'
],
test_suite="repoze.who.plugins.ldap.tests.suite"
)
|