reorx / httpstat

curl statistics made simple
MIT License
5.98k stars 384 forks source link

using colorama when under windows system #26

Closed buaabyl closed 7 years ago

buaabyl commented 7 years ago

This script work fine under my linux server, but color highlight is not working under window system, If you add colorama library, the color display will be fine.

But still need to modify setup.py by the way.

reorx commented 7 years ago

That's a good idea, we can use the extras_require directive in setup.py to add extra requirements for windows system. Then windows users could install in a way like pip install httpstat[windows] to have colorama installed.

I'll try to add some code later, thanks for the suggestion.