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
10 from apachelog import __version__
15 version = __version__,
16 description = 'Access log parser in python, ported from '\
17 'Peter Hickman\'s Apache::LogRegex Perl moduleUniversal.',
18 long_description = """\
22 Parser for extracting fields from a single line of an Apache
23 access.log (should work for other servers conforming to the
26 Create the parser with the log format from your server .conf
27 file, parse lines to get dict corresponding to fields defined
32 author='Harry Fuecks',
33 author_email = 'hfuecks@gmail.com',
34 url = 'http://code.google.com/p/apachelog',
35 license = "Artistic License / GPLv2",
36 platforms = ['POSIX', 'Windows'],
37 keywords = ['apache', 'log', 'parser'],
39 "Development Status :: 4 - Beta",
40 "Environment :: Console",
41 "Environment :: Web Environment",
42 "Intended Audience :: Developers",
43 "Intended Audience :: System Administrators",
44 "License :: OSI Approved :: Artistic License",
45 "License :: OSI Approved :: GNU General Public License (GPL)",
46 "Operating System :: OS Independent",
47 "Programming Language :: Python",
48 "Topic :: Internet :: Log Analysis",
49 "Topic :: System :: Logging",
50 "Topic :: Software Development :: Libraries :: Python Modules",
51 "Topic :: Text Processing",
53 py_modules = ['apachelog', 'apachelog.processor', 'apachelog.test']