File tree Expand file tree Collapse file tree 5 files changed +16
-15
lines changed
Expand file tree Collapse file tree 5 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 1- ## 0.7.9 (TBD )
1+ ## 0.7.9 (January 4, 2018 )
22
33* Bug Fixes
44 * Fixed a couple broken examples
Original file line number Diff line number Diff line change 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
6757from six import next
6858
10595else :
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
111112pyparsing .ParserElement .enablePackrat ()
Original file line number Diff line number Diff line change 6262# The short X.Y version.
6363version = '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.
Original file line number Diff line number Diff line change 66import sys
77from setuptools import setup
88
9- VERSION = '0.7.9a '
9+ VERSION = '0.7.9 '
1010DESCRIPTION = "cmd2 - a tool for building interactive command line applications in Python"
1111LONG_DESCRIPTION = """cmd2 is a tool for building interactive command line applications in Python. Its goal is to make
1212it quick and easy for developers to build feature-rich and user-friendly interactive command line applications. It
Original file line number Diff line number Diff line change 2424
2525
2626def test_ver ():
27- assert cmd2 .__version__ == '0.7.9a '
27+ assert cmd2 .__version__ == '0.7.9 '
2828
2929
3030def test_empty_statement (base_app ):
You can’t perform that action at this time.
0 commit comments