Browse Source

Setup.py/Python 3 fails as expects a byte stream instead of str

master
hades 4 years ago
parent
commit
4f90714df1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      setup.py

+ 1
- 1
setup.py View File

@ -49,7 +49,7 @@ if __name__ == "__main__":
from pypandoc import convert
long_description = convert("README.md", "rst")\
.translate({ord("\r"): None})
with open("README.rst", "wb") as readme:
with open("README.rst", "w") as readme:
readme.write(long_description)
else:
long_description = open("README.md").read()

Loading…
Cancel
Save