-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
68 lines (60 loc) · 1.76 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
62
63
64
65
66
67
68
from setuptools import setup, find_packages
import west_logs_analyzer
import os
def extra_dependencies():
import sys
ret = []
if sys.version_info < (3, 6):
ret.append('argparse')
return ret
def read(*names):
values = dict()
extensions = ['.txt', '.rst']
for name in names:
value = ''
for extension in extensions:
filename = name + extension
if os.path.isfile(filename):
value = open(name + extension).read()
break
values[name] = value
return values
long_description = """
%(README)s
News
====
%(CHANGES)s
""" % read('README', 'CHANGES')
setup(
name='west_logs_analyzer',
version=west_logs_analyzer.__version__,
description='command line utility to monitor error levels using ErrorGUI storage by comparing stacktraces Jaccard similarity',
long_description=long_description,
classifiers=[
"Development Status :: 1 - Development",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Topic :: Documentation",
],
keywords='west logs analyzer',
author='Ihar Malkevich',
author_email='[email protected]',
maintainer='Ihar Malkevich',
maintainer_email='[email protected]',
url='https://github.com/imalkevich/west_logs_analyzer',
license='MIT',
packages=find_packages(),
entry_points={
'console_scripts': [
'west_logs_analyzer = west_logs_analyzer.west_logs_analyzer:command_line_runner',
]
},
install_requires=[
'cx_Oracle',
'datasketch',
'PTable'
] + extra_dependencies(),
#test_require = ['coverage', 'codecov']
)