forked from 4n4nd/prometheus-api-client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (24 loc) · 922 Bytes
/
setup.py
File metadata and controls
29 lines (24 loc) · 922 Bytes
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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
def get_install_requires():
with open("requirements.txt", "r") as requirements_file:
res = requirements_file.readlines()
return [req.split(" ", maxsplit=1)[0] for req in res if req]
setuptools.setup(
name="prometheus-api-client",
version="0.0.2b4",
author="Anand Sanmukhani",
author_email="asanmukh@redhat.com",
description="A small python api to collect data from prometheus",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/AICoE/prometheus-api-client-python",
install_requires=get_install_requires(),
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)