Skip to content

Commit

Permalink
Version 1.9.2
Browse files Browse the repository at this point in the history
Also, change way grabserial stores it's version number.
  • Loading branch information
Tim Bird committed Jul 1, 2016
1 parent 30b6a6c commit c89ed51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions grabserial
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# * buffer output chars??
#
# CHANGELOG:
# 2016.07.01 - Version 1.9.2 - change how version is stored
# 2016.05.10 - Version 1.9.1 - allow skipping the tty check with -S
# 2016.05.10 - Version 1.9.0 - support use as a python module
# Note that the main module routine will be grabserial.grab(args,[outputfd])
Expand Down Expand Up @@ -43,9 +44,7 @@
# 2008-06-02 - Version 1.1.0 add support for sending a command to
# the serial port before grabbing output

MAJOR_VERSION=1
MINOR_VERSION=9
REVISION=1
VERSION=(1,9,2)

import os, sys
import getopt
Expand Down Expand Up @@ -262,7 +261,7 @@ def grab(arglist, outputfd=sys.stdout):
if opt in ["-v", "--verbose"]:
verbose=1
if opt in ["-V", "--version"]:
print("grabserial version %d.%d.%d" % (MAJOR_VERSION, MINOR_VERSION, REVISION))
print("grabserial version %d.%d.%d" % VERSION)
sd.close()
sys.exit(0)
if opt in ["-S"]:
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
import os
from setuptools import setup

VERSION = '1.9.1'
VERSION = '1.9.2'

setup(
name='grabserial',
version=VERSION,
scripts=['grabserial',],
#packages=['grabserial',],
author='Tim Bird',
author_email='tbird20d@yahoo.com',

Expand Down

0 comments on commit c89ed51

Please sign in to comment.