forked from 4teamwork/Products.LDAPMultiPlugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
75 lines (68 loc) · 2.59 KB
/
setup.py
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
65
66
67
68
69
70
71
72
73
74
##############################################################################
#
# Copyright (c) 2010 Jens Vagelpohl and Contributors. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL 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.
#
##############################################################################
__version__ = '2.0dev'
import os
from setuptools import setup
from setuptools import find_packages
NAME = 'LDAPMultiPlugins'
here = os.path.abspath(os.path.dirname(__file__))
def _read(name):
f = open(os.path.join(here, name))
return f.read()
_boundary = '\n' + ('-' * 60) + '\n\n'
setup(name='Products.%s' % NAME,
version=__version__,
description='LDAP-backed plugins for the Zope2 PluggableAuthService',
long_description=( _read('README.txt')
+ _boundary
+ _read('CHANGES.txt')
+ _boundary
+ "Download\n========"
),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Zope2",
"Intended Audience :: Developers",
"License :: OSI Approved :: Zope Public License",
"Programming Language :: Python :: 2",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Software Development",
"Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP",
],
keywords='web application server zope zope2 ldap',
author="Jens Vagelpohl and contributors",
author_email="[email protected]",
url="http://pypi.python.org/pypi/Products.%s" % NAME,
license="ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)",
packages=find_packages(),
include_package_data=True,
namespace_packages=['Products'],
zip_safe=False,
setup_requires=['setuptools-git'],
install_requires=[
'setuptools',
'Zope2',
'python-ldap >= 2.0.6',
'Products.LDAPUserFolder >= 2.9',
'Products.PluggableAuthService >= 1.4.0',
],
extras_require={
'exportimport': [
'Products.GenericSetup >= 1.4.0'
]
},
entry_points="""
[zope2.initialize]
Products.%s = Products.%s:initialize
""" % (NAME, NAME),
)