Skip to content

Commit f82ed4e

Browse files
committed
Updating version and changelog in preparation for minor bug fix realease
1 parent 63b0c6b commit f82ed4e

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 0.7.9 (TBD)
1+
## 0.7.9 (January 4, 2018)
22

33
* Bug Fixes
44
* Fixed a couple broken examples

cmd2.py

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,6 @@
5353
# noinspection PyUnresolvedReferences
5454
from pyperclip import PyperclipException
5555

56-
# On some systems, pyperclip will import gtk for its clipboard functionality.
57-
# The following code is a workaround for gtk interfering with printing from a background
58-
# thread while the CLI thread is blocking in raw_input() in Python 2 on Linux.
59-
try:
60-
# noinspection PyUnresolvedReferences
61-
import gtk
62-
gtk.set_interactive(0)
63-
except ImportError:
64-
pass
65-
6656
# next(it) gets next item of iterator it. This is a replacement for calling it.next() in Python 2 and next(it) in Py3
6757
from six import next
6858

@@ -105,7 +95,18 @@
10595
else:
10696
BROKEN_PIPE_ERROR = IOError
10797

108-
__version__ = '0.7.9a'
98+
# On some systems, pyperclip will import gtk for its clipboard functionality.
99+
# The following code is a workaround for gtk interfering with printing from a background
100+
# thread while the CLI thread is blocking in raw_input() in Python 2 on Linux.
101+
if six.PY2 and sys.platform.startswith('lin'):
102+
try:
103+
# noinspection PyUnresolvedReferences
104+
import gtk
105+
gtk.set_interactive(0)
106+
except ImportError:
107+
pass
108+
109+
__version__ = '0.7.9'
109110

110111
# Pyparsing enablePackrat() can greatly speed up parsing, but problems have been seen in Python 3 in the past
111112
pyparsing.ParserElement.enablePackrat()

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
# The short X.Y version.
6363
version = '0.7'
6464
# The full version, including alpha/beta/rc tags.
65-
release = '0.7.8'
65+
release = '0.7.9'
6666

6767
# The language for content autogenerated by Sphinx. Refer to documentation
6868
# for a list of supported languages.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import sys
77
from setuptools import setup
88

9-
VERSION = '0.7.9a'
9+
VERSION = '0.7.9'
1010
DESCRIPTION = "cmd2 - a tool for building interactive command line applications in Python"
1111
LONG_DESCRIPTION = """cmd2 is a tool for building interactive command line applications in Python. Its goal is to make
1212
it quick and easy for developers to build feature-rich and user-friendly interactive command line applications. It

tests/test_cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
def test_ver():
27-
assert cmd2.__version__ == '0.7.9a'
27+
assert cmd2.__version__ == '0.7.9'
2828

2929

3030
def test_empty_statement(base_app):

0 commit comments

Comments
 (0)