setup.py reads README.md in prep for build, and README.md is
utf-8 encoded.
Specify the encoding when opening the file to avoid build
failures in environments where the default locale isn't utf-8.
For example, some container environments may default to
non-UTF-8, ASCII-based encodings like 'ANSI_X3.4-1968'.
setup.py reads README.md in prep for build, and README.md is utf-8 encoded.
Specify the encoding when opening the file to avoid build failures in environments where the default locale isn't utf-8. For example, some container environments may default to non-UTF-8, ASCII-based encodings like 'ANSI_X3.4-1968'.