-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
77 lines (71 loc) · 2.09 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
75
76
77
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
import codecs
import os
def read_file(name):
with codecs.open(
os.path.join(os.path.dirname(__file__), name),
encoding='utf-8'
) as f:
return f.read()
version = '1.3.dev0'
shortdesc = 'LDAP/AD convenience with Node-trees based on python-ldap'
longdesc = '\n\n'.join([read_file(name) for name in [
'README.rst',
'CHANGES.rst',
'TODO.rst',
'LICENSE.rst'
]])
setup(
name='node.ext.ldap',
version=version,
description=shortdesc,
long_description=longdesc,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Software Development',
'Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
],
keywords='ldap authentication node tree access users groups',
author='Node Contributors',
author_email='[email protected]',
url='https://github.com/conestack/node.ext.ldap',
license='Simplified BSD',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['node', 'node.ext'],
include_package_data=True,
zip_safe=False,
install_requires=[
'argparse;python_version<"3.2"',
'bda.cache',
'node>=1.1',
'node.ext.ugm>=1.0',
'passlib',
'python-ldap>=2.4.14',
'setuptools'
],
extras_require={
'test': [
'coverage',
'plone.testing',
'zope.configuration',
'zope.testing',
'zope.testrunner'
]
},
entry_points="""
[console_scripts]
testldap = node.ext.ldap.main:slapd
""",
)