-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·54 lines (46 loc) · 1.84 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
from distutils.core import setup
# From inspecting Mark Pilgrims feedparser...
# patch distutils if it can't cope with the "classifiers" or "download_url"
# keywords (prior to python 2.3.0).
from distutils.dist import DistributionMetadata
if not hasattr(DistributionMetadata,'classifiers'):
DistributionMetadata.classifiers = None
from apachelog import __version__
setup(
name = 'apachelog',
version = __version__,
description = 'Access log parser in python, ported from '\
'Peter Hickman\'s Apache::LogRegex Perl moduleUniversal.',
long_description = """\
Apache Log Parser
-----------------
Parser for extracting fields from a single line of an Apache
access.log (should work for other servers conforming to the
Common Log Format).
Create the parser with the log format from your server .conf
file, parse lines to get dict corresponding to fields defined
in the log format.
""",
author='Harry Fuecks',
author_email = '[email protected]',
url = 'http://code.google.com/p/apachelog',
license = "Artistic License / GPLv2",
platforms = ['POSIX', 'Windows'],
keywords = ['apache', 'log', 'parser'],
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Artistic License",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: Log Analysis",
"Topic :: System :: Logging",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing",
],
py_modules = ['apachelog', 'apachelog.processor', 'apachelog.test']
)