Skip to content

Commit 49d431d

Browse files
authored
Merge pull request #9807 from typhoonzero/fix_python_version_module
fix python package have no version.py
2 parents 161344b + 86a3221 commit 49d431d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/setup.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ if '${WITH_FLUID_ONLY}'== 'OFF':
102102
package_data['py_paddle']=['*.py','_swig_paddle.so']
103103

104104
package_dir={
105-
'': '${CMAKE_CURRENT_SOURCE_DIR}',
105+
'': '${PADDLE_BINARY_DIR}/python',
106106
# The paddle.fluid.proto will be generated while compiling.
107107
# So that package points to other directory.
108108
'paddle.fluid.proto.profiler': '${PADDLE_BINARY_DIR}/paddle/fluid/platform',

0 commit comments

Comments
 (0)