forked from codeaffen/p3exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (43 loc) · 1.43 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
from setuptools import setup, find_packages
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='p3exporter',
version='1.2.0',
description='Python Programmable Prometheus exporter',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://codeaffen.org/projects/p3exporter',
author='Christian Meißner',
author_email='[email protected]',
license='GPLv3',
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
keywords='monitoring prometheus exporter example',
packages=find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False,
package_data={'p3exporter': ['static/*', 'templates/*']},
install_requires=[
'flask',
'inflection',
'netifaces',
'prometheus-client',
'PyYAML'
],
entry_points={
'console_scripts': [
'p3exporter=p3exporter:main',
],
},
)