This repository has been archived by the owner on Jun 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 128
/
setup.py
63 lines (60 loc) · 1.55 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
""" Setup.py for packaging log-anomaly-detector as library """
from setuptools import setup, find_packages
with open("README.rst", "r", encoding="utf-8") as fh:
long_description = fh.read()
REQUIRED_PKG = [
"Click",
"elasticsearch5",
"gensim",
"matplotlib",
"numpy",
"pandas",
"prometheus_client",
"Flask==1.0.4",
"scikit-learn",
"scipy",
"tqdm",
"SQLAlchemy",
"PyMySQL",
"sompy",
"pyyaml",
"boto3",
"pyyaml",
"numba",
"kafka-python",
"jaeger-client",
"opentracing_instrumentation",
"prometheus_flask_exporter"
]
setup(
name="log-anomaly-detector",
version="0.0.1b5",
py_modules=['app'],
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.6",
),
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@76b60ebd6ffd550b0f7faaf632451dfd68827bf7#egg=sompy",
],
install_requires=REQUIRED_PKG,
entry_points="""
[console_scripts]
log-anomaly-detector=app:cli
""",
)