-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
71 lines (69 loc) · 3.63 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
# Copyright 2016-2024 The Wazo Authors (see the AUTHORS file)
# SPDX-License-Identifier: GPL-3.0-or-later
from setuptools import find_packages, setup
setup(
name='wazo_auth',
version='1.0',
description='Wazo auth',
author='Wazo Authors',
author_email='dev@wazo.community',
url='http://wazo.community',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
package_data={
'wazo_auth.plugins.http': ['*/api.yml'],
'wazo_auth.plugins.external_auth': ['*/api.yml'],
},
entry_points={
'console_scripts': [
'wazo-auth = wazo_auth.main:main',
'wazo-auth-bootstrap = wazo_auth.bootstrap:main',
'wazo-auth-init-db=wazo_auth.init_db:main',
'wazo-auth-upgrade-db=wazo_auth.main:upgrade_db',
'wazo-auth-wait=wazo_auth.wait:main',
],
'wazo_auth.backends': [
'wazo_user = wazo_auth.plugins.backends.wazo_user:WazoUser',
'ldap_user = wazo_auth.plugins.backends.ldap_user:LDAPUser',
'broken_init = wazo_auth.plugins.backends.broken:BrokenInitBackend',
'broken_verify_password = wazo_auth.plugins.backends.broken:BrokenVerifyPasswordBackend', # noqa
],
'wazo_auth.http': [
'api = wazo_auth.plugins.http.api.plugin:Plugin',
'idp = wazo_auth.plugins.http.idp.plugin:Plugin',
'backends = wazo_auth.plugins.http.backends.plugin:Plugin',
'config = wazo_auth.plugins.http.config.plugin:Plugin',
'email_confirm = wazo_auth.plugins.http.email_confirm.plugin:Plugin',
'external = wazo_auth.plugins.http.external.plugin:Plugin',
'group_policy = wazo_auth.plugins.http.group_policy.plugin:Plugin',
'groups = wazo_auth.plugins.http.groups.plugin:Plugin',
'ldap_config = wazo_auth.plugins.http.ldap_config.plugin:Plugin',
'password_reset = wazo_auth.plugins.http.password_reset.plugin:Plugin',
'policies = wazo_auth.plugins.http.policies.plugin:Plugin',
'sessions = wazo_auth.plugins.http.sessions.plugin:Plugin',
'status = wazo_auth.plugins.http.status.plugin:Plugin',
'tenants = wazo_auth.plugins.http.tenants.plugin:Plugin',
'tokens = wazo_auth.plugins.http.tokens.plugin:Plugin',
'user_email = wazo_auth.plugins.http.user_email.plugin:Plugin',
'user_group = wazo_auth.plugins.http.user_group.plugin:Plugin',
'user_policy = wazo_auth.plugins.http.user_policy.plugin:Plugin',
'user_registration = wazo_auth.plugins.http.user_registration.plugin:Plugin',
'user_session = wazo_auth.plugins.http.user_session.plugin:Plugin',
'users = wazo_auth.plugins.http.users.plugin:Plugin',
'saml = wazo_auth.plugins.http.saml.plugin:Plugin',
'saml_config = wazo_auth.plugins.http.saml_config.plugin:Plugin',
],
'wazo_auth.external_auth': [
'google = wazo_auth.plugins.external_auth.google.plugin:GooglePlugin',
'microsoft = wazo_auth.plugins.external_auth.microsoft.plugin:MicrosoftPlugin',
'mobile = wazo_auth.plugins.external_auth.mobile.plugin:Plugin',
],
'wazo_auth.metadata': [
'default_user = wazo_auth.plugins.metadata.default_user:DefaultUser',
'default_internal = wazo_auth.plugins.metadata.default_internal:DefaultInternal',
'default_external_api = wazo_auth.plugins.metadata.default_external_api:DefaultExternalAPI', # noqa
'user_admin_status = wazo_auth.plugins.metadata.user_admin_status:UserAdminStatus',
],
},
)