forked from NIXStats/nixstatsagent
-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
61 lines (54 loc) · 1.88 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
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# by Al Nikolov <root@toor.fi.eu.org>
import os
import sys
import setuptools
here = os.path.abspath(os.path.dirname(__file__))
readme = open(os.path.join(here, 'README.md')).read()
if sys.version.startswith('3.'):
install_requires = ['psutil', 'netifaces', 'configparser', 'future', 'distro', 'certifi']
elif sys.version.startswith('2.7'):
install_requires = ['psutil==5.6.7', 'netifaces', 'configparser==3.5.0', 'future', 'certifi']
else:
install_requires = ['psutil', 'netifaces', 'configparser', 'future', 'certifi']
setuptools.setup(
name='agent360',
version='1.3.0',
description='360 agent',
long_description_content_type='text/markdown',
long_description=readme,
url='https://github.com/plesk/agent360',
author='360',
author_email='360support@webpros.com',
maintainer='360',
maintainer_email='360support@webpros.com',
license='BSD-3-Clause',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: System :: Monitoring',
],
keywords='360 system monitoring agent',
install_requires=install_requires,
packages=setuptools.find_packages(),
entry_points={
'console_scripts': [
'agent360=agent360.agent360:main',
'hello360=agent360.agent360:hello',
],
},
data_files=[('share/doc/agent360', [
'agent360-example.ini',
'LICENSE',
'README.md',
])],
)