From 727c2c8e258ac865fd4b448a3c90d50527e872f2 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 27 Jul 2019 11:15:35 +0100 Subject: Use version from z80count package --- setup.py | 4 ++-- z80count/z80count.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index ed3ec62..614e98b 100644 --- a/setup.py +++ b/setup.py @@ -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 ") 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', -- cgit v1.2.3