From b2dbedebad343284ae6d0f1f44930d2d4a290d5f Mon Sep 17 00:00:00 2001 From: yangarbiter Date: Mon, 16 Sep 2019 11:19:17 -0700 Subject: [PATCH] fix pypi README.md loading --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2618e96..5e1acdc 100755 --- a/setup.py +++ b/setup.py @@ -80,7 +80,7 @@ name='libact', version='0.1.5', description='Pool-based active learning in Python', - long_description=open('README.md').read(), + long_description=open('README.md', 'r', newline='', encoding='utf-8').read(), long_description_content_type="text/markdown", author='Y.-Y. Yang, S.-C. Lee, Y.-A. Chung, T.-E. Wu, H.-T. Lin', author_email='b01902066@csie.ntu.edu.tw, b01902010@csie.ntu.edu.tw, '