This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
forked from adamhadani/logtools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·97 lines (83 loc) · 3.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/usr/bin/env python
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = 'logtools',
version = '0.8.6-dev',
description = 'Log analysis and filtering tools',
author = 'Adam Ever-Hadani',
author_email = '[email protected]',
url = 'https://github.com/adamhadani/logtools',
keywords = ['logging', 'sampling', 'geoip', 'filterbots', 'aggregate',
'logparse', 'logmerge', 'logjoin', 'urlparse', 'logplot', 'qps', 'filter'],
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
"Topic :: Internet :: Log Analysis",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Text Processing :: Filters",
"Topic :: Utilities",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators"
],
long_description = """\
A log files analysis / filtering framework.
logtools encompasses of a few easy-to-use, easy to configure command-line
tools, typically used in conjunction with Apache logs.
The idea is to standardize log parsing and filtering using a coherent
configuration methodology and UNIX command-line interface (STDIN input streaming, command-line piping etc.)
so as to create a consistent environment for creating reports, charts and other such
log mining artifacts that are typically employed in a Website context.
This software is distributed under the Apache 2.0 license.
""",
packages = find_packages(),
scripts = ['scripts/aggregate', 'scripts/colsum',
'scripts/percentiles', 'scripts/triggered-regexp'],
include_package_data = False,
install_requires = [
"pygooglechart>=0.2.1",
"prettytable>=0.5",
"sqlalchemy>=0.7.9",
"sqlsoup>=0.9.0",
"acora>=1.7",
"python-dateutil>=2.1"
],
entry_points = {
'console_scripts': [
'filterbots = logtools:filterbots_main',
'geoip = logtools:geoip_main',
'logparse = logtools:logparse_main',
'urlparse = logtools:urlparse_main',
'logmerge = logtools:logmerge_main',
'logjoin = logtools:logjoin_main',
'logplot = logtools:logplot_main',
'logsample = logtools:logsample_main',
'logfilter = logtools:logfilter_main',
'logtail = logtools:logtail_main',
'qps = logtools:qps_main',
'sumstat = logtools:sumstat_main'
]
},
tests_require = ['nose>=0.11', "coverage>=3.4"],
test_suite = "nose.collector",
zip_safe = True
)