-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
42 lines (37 loc) · 1.46 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
import pathlib
import setuptools
from importlib.machinery import SourceFileLoader
version = SourceFileLoader("version", "prometheus_summary/version.py").load_module()
def readfile(filename) -> str:
return pathlib.Path(filename).read_text("utf-8").strip()
setuptools.setup(
name="prometheus-summary",
version=version.__version__,
author="RefaceAI",
author_email="[email protected]",
description="Prometheus summary with quantiles over configurable sliding time window",
long_description=readfile("README.md"),
long_description_content_type="text/markdown",
license="Apache License 2.0",
url="https://github.com./RefaceAI/prometheus-summary",
packages=["prometheus_summary"],
install_requires=[
"prometheus_client>=0.11.0",
"quantile-estimator>=0.1.0",
],
platforms="Platform Independent",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Mathematics",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.13",
],
)