-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (53 loc) · 1.41 KB
/
setup.py
File metadata and controls
61 lines (53 loc) · 1.41 KB
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
import os
import re
import setuptools
NAME = "QuantileFlow"
AUTHOR = "Dhyey Mavani"
AUTHOR_EMAIL = "ddmavani2003@gmail.com"
DESCRIPTION = "This package provides API and functionality to efficiently compute quantiles for anomaly detection in service/system logs. Developed under LogFlow-AI initiative."
LICENSE = "Apache"
KEYWORDS = "QuantileFlow"
URL = "https://github.com/LogFlow-AI/" + NAME
README = ".github/README.md"
CLASSIFIERS = [
"Programming Language :: Python",
]
INSTALL_REQUIRES = [
"numpy",
"pandas",
"pytest",
"coverage",
"scipy",
"matplotlib",
]
ENTRY_POINTS = {
}
SCRIPTS = [
]
HERE = os.path.dirname(__file__)
def read(file):
with open(os.path.join(HERE, file), "r") as fh:
return fh.read()
VERSION = re.search(
r'__version__ = [\'"]([^\'"]*)[\'"]',
read(NAME.replace("-", "_") + "/__init__.py")
).group(1)
LONG_DESCRIPTION = read(README)
if __name__ == "__main__":
setuptools.setup(
name=NAME,
version=VERSION,
packages=setuptools.find_packages(),
author=AUTHOR,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
license=LICENSE,
keywords=KEYWORDS,
url=URL,
classifiers=CLASSIFIERS,
install_requires=INSTALL_REQUIRES,
entry_points=ENTRY_POINTS,
scripts=SCRIPTS,
include_package_data=True
)