Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

Commit 8c8161e

Browse files
author
Rory McCann
committed
use centtralised version
1 parent 1f78d28 commit 8c8161e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

apache_log_parser/_version.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"""Store the version info so that setup.py and __init__ can access it. """
2+
__version__ = "1.4.0"

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
from setuptools import setup
44

5+
exec(open("./apache_log_parser/_version.py").read())
6+
57
setup(name="apache-log-parser",
6-
version="1.4.0",
8+
version=__version__,
79
author="Rory McCann",
810
author_email="[email protected]",
911
packages=['apache_log_parser'],

0 commit comments

Comments
 (0)