From fbc7531374fa84db2d516ac8918c5c22eaf6cdc2 Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Sun, 6 Nov 2022 11:54:00 -0800 Subject: [PATCH] Include version string in all outputs --- ptulsconv/__init__.py | 3 ++- ptulsconv/__main__.py | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ptulsconv/__init__.py b/ptulsconv/__init__.py index 2d81473..3772ed0 100644 --- a/ptulsconv/__init__.py +++ b/ptulsconv/__init__.py @@ -1,5 +1,6 @@ from ptulsconv.docparser.ptuls_grammar import protools_text_export_grammar -__version__ = '1.0.0' +__version__ = '1.0.1' __author__ = 'Jamie Hardt' __license__ = 'MIT' +__copyright__ = "%s %s (c) 2022 %s. All rights reserved." % (__name__, __version__, __author__) diff --git a/ptulsconv/__main__.py b/ptulsconv/__main__.py index 8ab3c03..cdeedfd 100644 --- a/ptulsconv/__main__.py +++ b/ptulsconv/__main__.py @@ -2,7 +2,7 @@ import datetime import sys -from ptulsconv import __name__, __version__, __author__ +from ptulsconv import __name__, __version__, __author__,__copyright__ from ptulsconv.commands import convert from ptulsconv.reporting import print_status_style, print_banner_style, print_section_header_style, print_fatal_error @@ -59,9 +59,10 @@ def main(): parser.add_option_group(informational_options) + print_banner_style(__copyright__) + (options, args) = parser.parse_args(sys.argv) - print_banner_style("%s %s (c) 2022 %s. All rights reserved." % (__name__, __version__, __author__)) print_section_header_style("Startup") print_status_style("This run started %s" % (datetime.datetime.now().isoformat()))