提交 399b2384 编写于 作者: J jiangjiajun

modify setup.py

上级 c1f1254e
...@@ -2,7 +2,7 @@ import setuptools ...@@ -2,7 +2,7 @@ import setuptools
setuptools.setup( setuptools.setup(
name="x2paddle", name="x2paddle",
version="dev-0.4", version="0.4.0",
author="dltp-sz", author="dltp-sz",
author_email="dltp-sz@baidu.com", author_email="dltp-sz@baidu.com",
description= description=
......
...@@ -119,7 +119,6 @@ def main(): ...@@ -119,7 +119,6 @@ def main():
args = parser.parse_args() args = parser.parse_args()
try: try:
import paddle.fluid as fluid
import paddle import paddle
v0, v1, v2 = paddle.__version__.split('.') v0, v1, v2 = paddle.__version__.split('.')
if int(v0) != 1 or int(v1) < 5: if int(v0) != 1 or int(v1) < 5:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册