Add new modules and use apachelog.__version__ in setup.py.
[apachelog.git] / setup.py
index c15212c7f186af02d2047e6b0cfa58d9e26894b3..6b0c5d0f6bb2be4882b5c3e799dc1072c23a5010 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -6,10 +6,13 @@ from distutils.core import setup
 from distutils.dist import DistributionMetadata
 if not hasattr(DistributionMetadata,'classifiers'):
     DistributionMetadata.classifiers = None
+
+from apachelog import __version__
+
     
 setup(
     name = 'apachelog',
-    version = '1.1',
+    version = __version__,
     description = 'Access log parser in python, ported from '\
     'Peter Hickman\'s Apache::LogRegex Perl moduleUniversal.',
     long_description = """\
@@ -47,5 +50,5 @@ in the log format.
         "Topic :: Software Development :: Libraries :: Python Modules",
         "Topic :: Text Processing",
         ],
-    py_modules = ['apachelog',]
+    py_modules = ['apachelog', 'apachelog.processor', 'apachelog.test']
     )