forked from infinityworks/hpilo-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (42 loc) · 1.28 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
import io
from setuptools import setup, find_packages
VERSION = "0.4.4"
PACKAGE_NAME = "hpilo-exporter"
SOURCE_DIR_NAME = "src"
def readme():
with io.open('README.md', 'r', encoding='utf-8') as f:
return f.read()
setup(
name=PACKAGE_NAME,
version=VERSION,
description="Prometheus exporter for HP iLO metrics",
author="Joe Stringer",
author_email="[email protected]",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/infinityworks/hpilo-exporter",
package_dir={'': SOURCE_DIR_NAME},
packages=find_packages(SOURCE_DIR_NAME, exclude=('*.tests',)),
include_package_data=True,
zip_safe=False,
package_data={},
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
],
install_requires=[
"prometheus-client",
"python-hpilo",
],
entry_points={
'console_scripts': [
'hpilo-exporter = hpilo_exporter.main:main',
],
}
)