From 6a29ced8c1b10fad62ed2366e4bfec18b9d6831e Mon Sep 17 00:00:00 2001 From: Erik Rose Date: Wed, 3 Jan 2018 11:23:27 -0500 Subject: Update readme. Bump version to 1.6.1. --- README.rst | 4 ++++ docs/conf.py | 2 +- setup.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index f6fc878..bc58962 100644 --- a/README.rst +++ b/README.rst @@ -437,6 +437,10 @@ Blessings is under the MIT License. See the LICENSE file. Version History =============== +1.6.1 + * Don't crash if ``number_of_colors()`` is called when run in a non-terminal + or when ``does_styling`` is otherwise false. + 1.6 * Add ``does_styling`` property. This takes ``force_styling`` into account and should replace most uses of ``is_a_tty``. diff --git a/docs/conf.py b/docs/conf.py index e9ed9eb..658fbc0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,7 +50,7 @@ copyright = u'2011, Erik Rose' # built documents. # # The short X.Y version. -version = '1.6' +version = '1.6.1' # The full version, including alpha/beta/rc tags. release = version diff --git a/setup.py b/setup.py index ec4cfd1..0c366e1 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ if sys.version_info >= (3,): setup( name='blessings', - version='1.6', + version='1.6.1', description='A thin, practical wrapper around terminal coloring, styling, and positioning', long_description=open('README.rst').read(), author='Erik Rose', -- cgit v1.2.1