1
0
mirror of https://github.com/httpie/cli.git synced 2025-06-15 00:15:06 +02:00

Added support for terminal colors under Windows.

Tested on Python 2.7 under Windows 7 with PowerShell and cmd.exe.

Closes #36
This commit is contained in:
Jakub Roztocil
2012-07-17 03:48:10 +02:00
parent 54e3e5bca4
commit 2dba176aa8
3 changed files with 17 additions and 4 deletions

View File

@ -17,6 +17,9 @@ requirements = [
if sys.version_info[:2] in ((2, 6), (3, 1)):
# argparse has been added in Python 3.2 / 2.7
requirements.append('argparse>=1.2.1')
if 'win32' in str(sys.platform).lower():
# Terminal colors for Windows
requirements.append('colorama>=0.2.4')
setup(