diff options
author | Juan J. Martinez <jjm@usebox.net> | 2019-07-27 11:15:35 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2019-07-27 11:15:35 +0100 |
commit | 727c2c8e258ac865fd4b448a3c90d50527e872f2 (patch) | |
tree | 1bc2ebbe8ea6559fd515f96d84852ccf3dab2869 | |
parent | 3eac02a47d27ff2b2e4ff93a4ff257df6b47a38c (diff) | |
download | z80count-0.5.3.tar.gz z80count-0.5.3.zip |
Use version from z80count package0.5.3
-rw-r--r-- | setup.py | 4 | ||||
-rw-r--r-- | z80count/z80count.py | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,6 @@ from setuptools import find_packages from setuptools import setup - -version = "0.5.0" +from z80count.z80count import version def readme(): @@ -10,6 +9,7 @@ def readme(): except: return "" + setup( name="z80count", version=version, diff --git a/z80count/z80count.py b/z80count/z80count.py index 882b244..f17fe8b 100644 --- a/z80count/z80count.py +++ b/z80count/z80count.py @@ -21,14 +21,14 @@ # THE SOFTWARE. # -__version__ = "0.5.2" - import json import sys import re import argparse from os import path +version = "0.5.3" + OUR_COMMENT = re.compile(r"(\[[0-9.\s/]+\])") @@ -77,7 +77,7 @@ def parse_command_line(): description='Z80 Cycle Count', epilog="Copyright (C) 2019 Juan J Martinez <jjm@usebox.net>") parser.add_argument( - "--version", action="version", version="%(prog)s " + __version__) + "--version", action="version", version="%(prog)s " + version) parser.add_argument('-d', dest='debug', action='store_true', help="Enable debug (show the matched case)") parser.add_argument('-s', dest='subt', action='store_true', |