1 from distutils.core import setup
3 # From inspecting Mark Pilgrims feedparser...
4 # patch distutils if it can't cope with the "classifiers" or "download_url"
5 # keywords (prior to python 2.3.0).
6 from distutils.dist import DistributionMetadata
7 if not hasattr(DistributionMetadata,'classifiers'):
8 DistributionMetadata.classifiers = None
13 description = 'Access log parser in python, ported from '\
14 'Peter Hickman\'s Apache::LogRegex Perl moduleUniversal.',
15 long_description = """\
19 Parser for extracting fields from a single line of an Apache
20 access.log (should work for other servers conforming to the
23 Create the parser with the log format from your server .conf
24 file, parse lines to get dict corresponding to fields defined
29 author='Harry Fuecks',
30 author_email = 'hfuecks@gmail.com',
31 url = 'http://code.google.com/p/apachelog',
32 license = "Artistic License / GPLv2",
33 platforms = ['POSIX', 'Windows'],
34 keywords = ['apache', 'log', 'parser'],
36 "Development Status :: 4 - Beta",
37 "Environment :: Console",
38 "Environment :: Web Environment",
39 "Intended Audience :: Developers",
40 "Intended Audience :: System Administrators",
41 "License :: OSI Approved :: Artistic License",
42 "License :: OSI Approved :: GNU General Public License (GPL)",
43 "Operating System :: OS Independent",
44 "Programming Language :: Python",
45 "Topic :: Internet :: Log Analysis",
46 "Topic :: System :: Logging",
47 "Topic :: Software Development :: Libraries :: Python Modules",
48 "Topic :: Text Processing",
50 py_modules = ['apachelog',]