Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
BUG FIX: define read file encoding as utf-8 (#1508)
Browse files Browse the repository at this point in the history
  • Loading branch information
suiguoxin authored and liuzhe-lz committed Aug 30, 2019
1 parent aa4bb1f commit c481e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/pypi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
files = [path.normpath(path.join(dirpath, filename)) for filename in filenames]
data_files.append((path.normpath(dirpath), files))

with open('../../README.md', 'r') as fh:
with open('../../README.md', 'r', encoding="utf-8") as fh:
long_description = fh.read()

setuptools.setup(
Expand Down

0 comments on commit c481e86

Please sign in to comment.