MNT: setup.py, open long_description README.md as UTF-8

Fixes: https://github.com/kernc/backtesting.py/issues/121
This commit is contained in:
Kernc
2020-08-01 14:45:06 +02:00
parent d146b43582
commit d1923eb58f

View File

@@ -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,