-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
69 lines (51 loc) · 1.75 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
# -*- coding: utf-8 -*-
"""fab-auth-dynamic-roles
#### A plugin for authentication to sync roles dynamically
#### Supports
##### Auth Modes
- AUTH_OID
- AUTH_OAUTH
##### Applications
- Superset
"""
_major_v = '0'
_minor_v = '1.7'
from os import path
import pathlib
import sys
import pkg_resources
from setuptools import setup, find_packages
if sys.version_info[:3] < (3, 6):
raise RuntimeError("Python version 3.6 or later required.")
with pathlib.Path('requirements.txt').open() as rin:
requirements = [str(req) for req in pkg_resources.parse_requirements(rin)]
setup(
name='fab-auth-dynamic-roles',
version=f'{_major_v}.{_minor_v}',
description='Flask AppBuilder Authentication plugin',
url='https://github.com/hyunjong-lee/fab-auth-dynamic-roles',
author='Hyunjong Lee',
author_email='hyunjong.lee.s@gmail.com',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
packages=[
'fab_auth_dynamic_roles',
],
python_requires='>=3.6',
install_requires=requirements,
test_suite='nose.collector',
tests_require=['nose'],
entry_points={},
project_urls={
'Source': 'https://github.com/hyunjong-lee/fab-auth-dynamic-roles',
},
download_url=f'https://github.com/hyunjong-lee/fab-auth-dynamic-roles/archive/v{_major_v}.{_minor_v}.tar.gz',
keywords=['dynamic roles', 'flask appbuilder', 'keycloak', 'AzureAD', 'superset', 'AUTH_OID', 'AUTH_OAUTH', "OAUTH", "OIDC"],
license='LGPLv2+',
)