Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass utf-8 encoding when opening the README
This was causing an error on my setup where LC_ALL wasn't set to UTF-8. ``` Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/pz/w736zydx5pxdjbn0l0h_28_80000gr/T/pip-install-9c1pe10m/click-spinner/setup.py", line 6, in <module> readme = f.read() File "/Users/user/.pyenv/versions/3.5.5/Python.framework/Versions/3.5/lib/python3.5/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 373: ordinal not in range(128) ``` Even though this usually happens on wrongly configured environments I think it makes sense to enforce it.
- Loading branch information