Skip to content

Commit 22f3c1d

Browse files
committed
set file coding
1 parent ba598ee commit 22f3c1d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# coding=utf-8
12
import chinaapi
23

34

@@ -24,9 +25,9 @@
2425
'rsa >= 3.1.2',
2526
]
2627

27-
with open('README.rst', encoding='utf-8') as f:
28+
with open('README.rst') as f:
2829
readme = f.read()
29-
with open('HISTORY.rst', encoding='utf-8') as f:
30+
with open('HISTORY.rst') as f:
3031
history = f.read()
3132

3233
setup(

0 commit comments

Comments
 (0)