Skip to content

Commit

Permalink
PY3: Do not encode README in getBdistFriendlyString
Browse files Browse the repository at this point in the history
This may break the bdist_mpkg and bdist_wininst commands
  • Loading branch information
jjhelmus committed Oct 30, 2015
1 parent b7346ef commit 13d5619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def getBdistFriendlyString(s):
Solve the issue with restructuredText README
"ordinal not in range error" when using bdist_mpkg or bdist_wininst
'''
return unicodedata.normalize('NFKD', u(s)).encode('ascii','ignore')
return unicodedata.normalize('NFKD', u(s))



Expand Down

0 comments on commit 13d5619

Please sign in to comment.