readbeyond / aeneas

aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)
http://www.readbeyond.it/aeneas/
GNU Affero General Public License v3.0
2.51k stars 230 forks source link

Import colorama for color coded text on windows #135

Open danielbair opened 7 years ago

danielbair commented 7 years ago

If you import the python module 'colorama' you don't need to check for 'is_posix' when printing to the terminal, and this would also enable windows machines to get colored information/diagnostics text display.

https://pypi.python.org/pypi/colorama

readbeyond commented 7 years ago

Thanks for the suggestion, this issue will be dealt with in v2.

I would actually like to keep the current dependencies as minimal as possible. Since aeneas is not really producing many colored messages (basically: normal, OK/WARNING/ERROR), maybe I will look into the colorama source, and package appropriate functions inside globalfunctions, or move there code that is currently duplicated in user-facing scripts.