forked from t2y/iostat-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (47 loc) · 1.77 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
48
49
50
51
import os
import re
import sys
from setuptools import setup
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
main_py = open('iostat/__main__.py').read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", main_py))
setup(
name='iostat-tool',
version=metadata['version'],
description='parse and visualize iostat output',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries',
],
keywords=['iostat'],
author='Tetsuya Morimoto',
author_email='[email protected]',
url='https://github.com/t2y/iostat-tool',
license='Apache License 2.0',
platforms=['unix', 'linux', 'osx', 'windows'],
packages=['iostat'],
include_package_data=True,
install_requires=['matplotlib'],
tests_require=['tox', 'pytest', 'pytest-pep8', 'pytest-flakes'],
entry_points={
'console_scripts': [
'iostat-cli=iostat.__main__:main',
],
},
)