forked from amundsen-io/amundsen
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
58 lines (50 loc) · 1.84 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
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import os
from setuptools import find_packages, setup
__version__ = '3.11.0'
requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt')
with open(requirements_path) as requirements_file:
requirements = requirements_file.readlines()
requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements-common.txt')
with open(requirements_path) as requirements_file:
requirements_common = requirements_file.readlines()
requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements-dev.txt')
with open(requirements_path) as requirements_file:
requirements_dev = requirements_file.readlines()
oidc = ['flaskoidc>=1.0.0']
atlas = ['apache-atlas==0.0.11']
rds = ['amundsen-rds==0.0.6',
'mysqlclient>=1.3.6,<3',
'sqlalchemy>=1.3.6,<1.4',
'alembic>=1.2,<2.0']
gremlin = [
'amundsen-gremlin>=0.0.9',
'gremlinpython==3.4.3',
'gremlinpython==3.4.3'
]
all_deps = requirements + requirements_common + requirements_dev + oidc + atlas + rds + gremlin
setup(
name='amundsen-metadata',
version=__version__,
description='Metadata service for Amundsen',
url='https://www.github.com/amundsen-io/amundsen/tree/main/metadata',
maintainer='Amundsen TSC',
maintainer_email='[email protected]',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
zip_safe=False,
install_requires=requirements + requirements_common,
extras_require={
'all': all_deps,
'dev': requirements_dev,
'atlas': atlas,
'oidc': oidc,
'rds': rds,
'gremlin': gremlin
},
python_requires=">=3.7",
classifiers=[
'Programming Language :: Python :: 3.7',
],
)