Skip to content

Commit 3ae9487

Browse files
author
zwh
committed
bug fixed
bug description: 1, environment: OS which default character is not 'UTF-8'. For example windows 10 which default character is 'gbk'. 2, operation: python setup.py install Traceback (most recent call last): File "setup.py", line 149, in <module> long_description=open("README.rst", "r").read(), UnicodeDecodeError: 'gbk' codec can't decode byte 0xa2 in position 41: illegal multibyte sequence
1 parent fb756c0 commit 3ae9487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def run(self):
147147
name="dvc",
148148
version=version,
149149
description="Git for data scientists - manage your code and data together",
150-
long_description=open("README.rst", "r").read(),
150+
long_description=open("README.rst", "r", encoding="UTF-8").read(),
151151
author="Dmitry Petrov",
152152
author_email="[email protected]",
153153
download_url="https://github.com/iterative/dvc",

0 commit comments

Comments
 (0)