Skip to content

Commit 840853c

Browse files
author
刘一辰
committed
setup.py long_description update
修复 KscSDK#39 导致 python 2.x 无法安装问题。 原因: 2.x版本open不支持encoding参数。 解决方法: 替换原README.rst读取内容为默认字符串。 注:如有必要可做版本判断,2.x 使用 codecs.open或io.open 替代。
1 parent 759e7a6 commit 840853c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
name='ksc-sdk-python',
3737
version=kscore.__version__,
3838
description='Low-level, data-driven core of ksc.',
39-
long_description=open('README.rst').read(),
39+
long_description='A low-level interface to a growing number of KSC Web Services.',
4040
author=AUTHOR,
4141
url='https://github.com/liuyichen/kscore',
4242
author_email=AUTHOR_EMAIL,

0 commit comments

Comments
 (0)