mirror of
https://github.com/jeffknupp/sandman2.git
synced 2026-04-25 16:45:50 +03:00
[PR #99] [MERGED] Enable encoding for the read function. #135
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
refactoring
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sandman2-jeffknupp#135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jeffknupp/sandman2/pull/99
Author: @Expire0
Created: 5/12/2019
Status: ✅ Merged
Merged: 5/29/2019
Merged by: @jeffknupp
Base:
master← Head:master📝 Commits (2)
a7f0e34Update setup.py27d16b1Update setup.py📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
setup.py(+2 -2)📄 Description
The encoding is needed or installation will fail for Python3. I tested this change locally and it works with the encoding.
Traceback (most recent call last):
File "setup.py", line 19, in
LONG_DESCRIPTION = read('README.rst')
File "setup.py", line 17, in read
return codecs.open(os.path.join(HERE, *parts), 'r').read()
File "/usr/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 563: ordinal not in range(128)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.