未验证 提交 b09c1ce0 编写于 作者: T tianshuo78520a 提交者: GitHub

fix whl package push pypi (#31585)

* fix whl package push pypi

* add rst
上级 393b3bd6
...@@ -511,10 +511,10 @@ else: ...@@ -511,10 +511,10 @@ else:
# Log for PYPI # Log for PYPI
if sys.version_info > (3,0): if sys.version_info > (3,0):
with open("@PADDLE_BINARY_DIR@/python/paddle/README.md", "r", encoding='UTF-8') as f: with open("@PADDLE_BINARY_DIR@/python/paddle/README.rst", "r", encoding='UTF-8') as f:
long_description = f.read() long_description = f.read()
else: else:
with open("@PADDLE_BINARY_DIR@/python/paddle/README.md", "r")as f: with open("@PADDLE_BINARY_DIR@/python/paddle/README.rst", "r")as f:
long_description = unicode(f.read(), 'UTF-8') long_description = unicode(f.read(), 'UTF-8')
with redirect_stdout(): with redirect_stdout():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册