Skip to content

Commit 42730bc

Browse files
committed
MNT: Use codecs.open for README.md.
1 parent a78d732 commit 42730bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from setuptools import setup, find_namespace_packages
22
from os import path
3+
from codecs import open
34
import versioneer
45

56
cur_dir = path.abspath(path.dirname(__file__))
@@ -13,7 +14,7 @@
1314
cmdclass=versioneer.get_cmdclass(),
1415
packages=find_namespace_packages(include=['botcity.*']),
1516
url='https://www.github.com/botcity-dev/botcity-framework-web-python',
16-
long_description=open('README.md').read(),
17+
long_description=open('README.md', 'r', encoding='utf-8').read(),
1718
long_description_content_type='text/markdown',
1819
install_requires=requirements,
1920
include_package_data=True,

0 commit comments

Comments
 (0)