forked from mathiasose/slacker_log_handler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (40 loc) · 1.5 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
# -*- coding: utf-8 -*-
import os
from setuptools import setup
VERSION = '1.7.1'
def readme(*paths):
with open(os.path.join(*paths), 'r') as f:
return f.read()
def requirements(*paths):
with open(os.path.join(*paths), 'r') as f:
return list(line.strip() for line in f.readlines() if line.strip() != '')
setup(
name='slacker_log_handler',
packages=['slacker_log_handler'],
version=VERSION,
description='Posts log events to Slack via API',
long_description=readme('README.rst'),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Communications :: Chat',
'Topic :: Office/Business :: Groupware',
],
url='https://github.com/mathiasose/slacker_log_handler',
download_url='https://github.com/mathiasose/slacker_log_handler/archive/{v}.tar.gz'.format(v=VERSION),
author='Mathias Ose',
author_email='mathias.ose@gmail.com',
keywords=['slack', 'logging'],
install_requires=requirements('requirements.txt'),
include_package_data=True,
zip_safe=False
)