forked from AICoE/log-anomaly-detector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (66 loc) · 1.77 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
""" Setup.py for packaging log-anomaly-detector as library """
from setuptools import setup, find_packages
long_description = "Log Anomaly Detection - Machine learning to detect abnormal events logs"
REQUIRED_PKG = [
"Click",
"elasticsearch5",
"gensim==3.8.1",
"matplotlib",
"Cython==0.29.24",
"tensorflow==2.7.0",
"numpy==1.21.4",
"pandas==1.3.3",
"prometheus_client",
"Flask==1.0.4",
"scikit-learn==1.0.1",
"scipy==1.7.1",
"tqdm",
"SQLAlchemy",
"PyMySQL",
"scikit-image",
"sompy @ git+https://github.com/sevamoo/SOMPY.git",
"boto3",
"pyyaml==5.3.1",
"numba",
"kafka-python",
"jaeger-client",
"opentracing_instrumentation",
"prometheus_flask_exporter",
"gunicorn==19.9.0",
"flask_sqlalchemy",
"tornado==5.1.1",
"pymongo==3.12.1",
"mysql-connector-python==8.0.27",
]
setup(
name="log-anomaly-detector",
version="0.6.0",
py_modules=['lad'],
packages=find_packages(),
setup_requires=["pytest-runner"],
tests_require=[
"pytest",
"pytest-sugar",
"pytest-xdist"],
zip_safe=False,
classifiers=(
"Development Status :: 1 - Planning",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
),
python_requires=">3.5",
url="https://github.com/AICoE/log-anomaly-detector",
author="Zak Hassan",
author_email="[email protected]",
description="Log anomaly detector for streaming logs",
long_description=long_description,
long_description_content_type="text/markdown",
dependency_links=[
"git+https://github.com/sevamoo/SOMPY.git",
],
install_requires=REQUIRED_PKG,
entry_points="""
[console_scripts]
log-anomaly-detector=lad:cli
""",
)