소스 검색

Fix get_long_description

`open` use different default encodings on different operating systems
PairZhu 1 년 전
부모
커밋
4d2d0f7335
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -69,7 +69,7 @@ def get_install_requires():
 
 
 def get_long_description():
-    with open("README.md") as f:
+    with open("README.md", "r", encoding="utf-8") as f:
         long_description = f.read()
     try:
         # when this package is being released