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 )
2
2
3
3
* Bug Fixes
4
4
* Fixed a couple broken examples
Original file line number Diff line number Diff line change 53
53
# noinspection PyUnresolvedReferences
54
54
from pyperclip import PyperclipException
55
55
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
-
66
56
# next(it) gets next item of iterator it. This is a replacement for calling it.next() in Python 2 and next(it) in Py3
67
57
from six import next
68
58
105
95
else :
106
96
BROKEN_PIPE_ERROR = IOError
107
97
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'
109
110
110
111
# Pyparsing enablePackrat() can greatly speed up parsing, but problems have been seen in Python 3 in the past
111
112
pyparsing .ParserElement .enablePackrat ()
Original file line number Diff line number Diff line change 62
62
# The short X.Y version.
63
63
version = '0.7'
64
64
# The full version, including alpha/beta/rc tags.
65
- release = '0.7.8 '
65
+ release = '0.7.9 '
66
66
67
67
# The language for content autogenerated by Sphinx. Refer to documentation
68
68
# for a list of supported languages.
Original file line number Diff line number Diff line change 6
6
import sys
7
7
from setuptools import setup
8
8
9
- VERSION = '0.7.9a '
9
+ VERSION = '0.7.9 '
10
10
DESCRIPTION = "cmd2 - a tool for building interactive command line applications in Python"
11
11
LONG_DESCRIPTION = """cmd2 is a tool for building interactive command line applications in Python. Its goal is to make
12
12
it 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 24
24
25
25
26
26
def test_ver ():
27
- assert cmd2 .__version__ == '0.7.9a '
27
+ assert cmd2 .__version__ == '0.7.9 '
28
28
29
29
30
30
def test_empty_statement (base_app ):
You can’t perform that action at this time.
0 commit comments