-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
61 lines (52 loc) · 2.07 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
from setuptools import setup, find_packages
from os.path import join, dirname, abspath
import io
here = abspath(dirname(__file__))
with open(join(here, "VERSION")) as VERSION_FILE:
__versionstr__ = VERSION_FILE.read().strip()
with open(join(here, "requirements.txt")) as REQUIREMENTS:
INSTALL_REQUIRES = REQUIREMENTS.read().split("\n")
with io.open(join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
CONSOLE_SCRIPTS = ["sumomongodbatlascollector=sumomongodbatlascollector.main:main"]
setup(
name="sumologic-mongodb-atlas",
version=__versionstr__,
packages=find_packages(exclude=["tests*"]),
package_data={"sumomongodbatlascollector": ["mongodbatlas.yaml"]},
install_requires=INSTALL_REQUIRES,
extras_require={
"aws": ["boto3>=1.34.149", "botocore>=1.34.149"],
"gcp": [
"google-api-python-client>=2.129.0",
"oauth2client>=4.1.3",
"google-cloud-datastore>=2.19.0",
],
"azure": ["azure-cosmosdb-table>=1.0.6", "bson>=0.5.10"],
},
# PyPI metadata
author="SumoLogic",
author_email="[email protected]",
description="Sumo Logic collection solution for mongodb atlas",
license="PSF",
long_description=long_description,
long_description_content_type="text/markdown",
keywords="sumologic python rest api log management analytics logreduce mongodb atlas agent security siem collector forwarder",
url="https://github.com/SumoLogic/sumologic-mongodb-atlas",
zip_safe=True,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
],
entry_points={
"console_scripts": CONSOLE_SCRIPTS,
},
)