-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (57 loc) · 2.14 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
import os
from setuptools import setup
from setuptools import find_packages
NAME = 'LDAPUserFolder'
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
_boundary = '\n' + ('-' * 60) + '\n\n'
setup(name='Products.%s' % NAME,
version=read('VERSION.txt').strip(),
description='A LDAP-enabled Zope 2 user folder',
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",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 2 :: Only",
"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',
'dataflake.fakeldap',
'python-ldap',
],
tests_require = ['Products.GenericSetup >= 1.4.0'],
test_suite='Products.LDAPUserFolder.tests',
extras_require={
'exportimport': ['Products.GenericSetup >= 1.4.0'],
'testing': ['nose', 'coverage'],
},
entry_points="""
[zope2.initialize]
Products.%s = Products.%s:initialize
""" % (NAME, NAME),
)