-
Notifications
You must be signed in to change notification settings - Fork 64
/
setup.py
executable file
·37 lines (31 loc) · 1.15 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
import codecs
import unittest
from setuptools import setup, find_packages
from os import path
def read(*parts):
return codecs.open(path.join(path.dirname(__file__), *parts),
encoding="utf-8").read()
def tests_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('tests', pattern='test_*.py')
return test_suite
setup(name='logstash_formatter',
version='0.5.17',
description='JSON formatter meant for logstash',
long_description=read('README.rst'),
url='https://github.com/exoscale/python-logstash-formatter',
author='Pierre-Yves Ritschard',
author_email='[email protected]',
license='MIT, see LICENSE file',
packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3'
],
zip_safe=False,
test_suite='setup.tests_suite')