未验证 提交 49d431d4 编写于 作者: T Tao Luo 提交者: GitHub

Merge pull request #9807 from typhoonzero/fix_python_version_module

fix python package have no version.py
...@@ -102,7 +102,7 @@ if '${WITH_FLUID_ONLY}'== 'OFF': ...@@ -102,7 +102,7 @@ if '${WITH_FLUID_ONLY}'== 'OFF':
package_data['py_paddle']=['*.py','_swig_paddle.so'] package_data['py_paddle']=['*.py','_swig_paddle.so']
package_dir={ package_dir={
'': '${CMAKE_CURRENT_SOURCE_DIR}', '': '${PADDLE_BINARY_DIR}/python',
# The paddle.fluid.proto will be generated while compiling. # The paddle.fluid.proto will be generated while compiling.
# So that package points to other directory. # So that package points to other directory.
'paddle.fluid.proto.profiler': '${PADDLE_BINARY_DIR}/paddle/fluid/platform', 'paddle.fluid.proto.profiler': '${PADDLE_BINARY_DIR}/paddle/fluid/platform',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册