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 +++++ diff --git a/setup.py b/setup.py index bd4ca35..f62f98c 100644 --- a/setup.py +++ b/setup.py @@ -8,20 +8,18 @@ import sys from setuptools import setup -VERSION = '0.9.0' +VERSION = '0.9.1' DEPENDENCIES = [ 'argcomplete', '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()