From 46a8ac71387b975e5427ac6d4fe9cdd14d20d0dc Mon Sep 17 00:00:00 2001 From: Niander Assis <4544122+niander@users.noreply.github.com> Date: Tue, 1 Mar 2022 14:31:32 -0800 Subject: [PATCH 1/3] Use proper PEP 508 as evironment marker --- setup.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index bd4ca35..cfb162e 100644 --- a/setup.py +++ b/setup.py @@ -15,13 +15,11 @@ 'jmespath', 'pygments', 'pyyaml', - 'tabulate' + 'tabulate', + # On Windows, colorama is required for legacy terminals. + 'colorama; sys_platform == "win32"' ] -# On Windows, colorama is required for legacy terminals. -if sys.platform == 'win32': - DEPENDENCIES.append('colorama') - with open('README.rst', 'r') as f: README = f.read() From ef40a3c04fe4be084dc29e884d265efc9d638e79 Mon Sep 17 00:00:00 2001 From: Niander Assis Date: Tue, 1 Mar 2022 14:40:31 -0800 Subject: [PATCH 2/3] Update version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cfb162e..f62f98c 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ import sys from setuptools import setup -VERSION = '0.9.0' +VERSION = '0.9.1' DEPENDENCIES = [ 'argcomplete', From 5b7a901e8829c3d726be00681cfa80ab226b5ff4 Mon Sep 17 00:00:00 2001 From: Jiashuo Li <4003950+jiasli@users.noreply.github.com> Date: Wed, 16 Mar 2022 13:14:49 +0800 Subject: [PATCH 3/3] Update HISTORY.rst --- HISTORY.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index 2f71174..f730cb4 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,11 @@ Release History =============== +0.9.1 ++++++ + +* Use proper PEP 508 environment marker to install colorama on Windows only (#257) + 0.9.0 +++++