From d1923eb58fc1b4a12d78539ed57d96068a3f825c Mon Sep 17 00:00:00 2001 From: Kernc Date: Sat, 1 Aug 2020 14:45:06 +0200 Subject: [PATCH] MNT: setup.py, open long_description README.md as UTF-8 Fixes: https://github.com/kernc/backtesting.py/issues/121 --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f37eead..db807eb 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,8 @@ if __name__ == '__main__': 'Source': 'https://github.com/kernc/backtesting.py/', 'Tracker': 'https://github.com/kernc/backtesting.py/issues', }, - long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), + long_description=open(os.path.join(os.path.dirname(__file__), 'README.md'), + encoding='utf-8').read(), long_description_content_type='text/markdown', packages=find_packages(), include_package_data=True,