-
Notifications
You must be signed in to change notification settings - Fork 960
/
setup.py
49 lines (40 loc) · 1.61 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
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import os
from setuptools import find_packages, setup
__version__ = '4.2.0'
oidc = ['flaskoidc>=1.0.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()
all_deps = requirements + requirements_common + requirements_dev + oidc
setup(
name='amundsen-search',
version=__version__,
description='Search Service for Amundsen',
url='https://github.com/amundsen-io/amundsen/tree/main/search',
maintainer='Amundsen TSC',
maintainer_email='[email protected]',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
zip_safe=False,
dependency_links=[],
install_requires=requirements + requirements_common,
extras_require={
'all': all_deps,
'dev': requirements_dev,
'oidc': oidc
},
python_requires=">=3.8",
classifiers=[
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
)