-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
55 lines (48 loc) · 1.86 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
# -*- coding: utf-8 -*-
from os import path
from setuptools import setup
# Imports content of requirements.txt into setuptools' install_requires
with open('requirements.txt') as f:
requirements = f.read().splitlines()
def get_version():
with open('hume.py') as f:
for line in f:
if line.startswith('__version__'):
return eval(line.split('=')[-1])
# Imports content of README.md into setuptools' long_description
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.txt'), encoding='utf-8') as f:
long_description = f.read()
setup(name='humed',
version=get_version(),
description="Agnostic sysadmin/devops instrumentation tool. Includes hume and humed.",
long_description=long_description,
keywords="""hume, humed, nagios, logstash, slack, syslog, kant, fluentd, devops,
sysadmin, agnostic, prometheus""",
author='Arturo "Buanzo" Busleiman',
author_email='[email protected]',
url='https://github.com/buanzo/hume',
license='MIT License',
zip_safe=False,
python_requires='>=3.6',
py_modules=['hume', 'humed', 'humetools', 'humeconfig'],
namespace_packages=[],
include_package_data=True,
install_requires=requirements,
entry_points={
'console_scripts': [
'hume = hume:run',
'humed = humed:main',
'humeconfig = humeconfig:run',
],
},
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: PyPy',
])