Skip to content

Commit

Permalink
Use proper PEP 508 environment marker to install colorama on Windows …
Browse files Browse the repository at this point in the history
…only (#257)
  • Loading branch information
niander authored Mar 16, 2022
1 parent d407b81 commit b4d9e66
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
+++++

Expand Down
10 changes: 4 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit b4d9e66

Please sign in to comment.