-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·61 lines (53 loc) · 2.13 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
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = "ldifgen",
version = "0.1",
author = "GONICUS GmbH",
author_email = "[email protected]",
description = "Generation tool for LDAP contents",
keywords = "system config management ldap groupware",
license = "LGPL",
url = "http://www.gonicus.de",
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: System :: Systems Administration',
'Topic :: System :: Systems Administration :: Authentication/Directory',
'Topic :: System :: Software Distribution',
'Topic :: System :: Monitoring',
],
packages = find_packages('.'),
package_dir={'': '.'},
include_package_data = True,
package_data = {
'ldifgen': ['data/*', 'templates/*'],
},
zip_safe = True,
install_requires = [
'python_ldap',
'unidecode'
],
entry_points = """
[console_scripts]
ldifgen = ldifgen.main:main
[ldifgen.extension]
dob = ldifgen.extension.dob:DOBExtension
givenName = ldifgen.extension.givenname:GivenNameExtension
sn = ldifgen.extension.sn:SnExtension
structName = ldifgen.extension.structname:StructNameExtension
select_multiple = ldifgen.extension.multi_select:MultiSelectExtension
generate_unique_dn = ldifgen.extension.unique_dn:UniqueDNExtension
generate_unique_uid = ldifgen.extension.unique_uid:UniqueUidExtension
generate_unique_uid_static = ldifgen.extension.unique_uid:UniqueStaticUidExtension
generate_password = ldifgen.extension.password:PasswordExtension
generate_unique_id = ldifgen.extension.unique_id:UniqueIdExtension
generate_phone_number = ldifgen.extension.phone:PhoneExtension
extract_cn = ldifgen.extension.extract_cn:ExtractCN
add_gosa_acls = ldifgen.extension.gosa:AddGOsaAcls
""",
)