Closed sevein closed 3 years ago
@mistydemeo, thanks for looking at this. That marker is also new to me! This seems to be the full list: https://www.python.org/dev/peps/pep-0508/#environment-markers. I wasn't sure about win-unicode-console, but it seems widely used in github.com/search, e.g. https://github.com/jonathanj/eliottree, which installs the dependency using the same marker.
This pull request enables Unicode support when running Python 2.7 from the Windows console. It relies on the win-unicode-console package which monkeypatches the standard library when
platform.system() == 'Windows' and six.PY2
. It can be reverted once fido abandons Python 2.7 (EOL reached) since 3.6+ is perfectly capable.Fixes https://github.com/openpreserve/fido/issues/100.