File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,8 @@ file(COPY "${PYTHON_PACKAGE_SRC_DIR}/../examples/python/"
133
133
file (COPY "${PYTHON_PACKAGE_SRC_DIR} /../examples/python/"
134
134
DESTINATION "${PYTHON_PACKAGE_DST_DIR} /open3d/examples" )
135
135
136
- # Generate typing stub files (.pyi)
136
+ # Generate typing stub files (.pyi) and py.typed marker file.
137
137
message (STATUS "Generating typing stubs..." )
138
138
message (STATUS "pybind11-stubgen open3d -o ${PYTHON_PACKAGE_DST_DIR} /stubs" )
139
- execute_process (COMMAND ${CMAKE_COMMAND} -E env PYTHONPATH= "${PYTHON_PACKAGE_DST_DIR} " pybind11-stubgen open3d -o "${PYTHON_PACKAGE_DST_DIR} " )
139
+ execute_process (COMMAND ${CMAKE_COMMAND} -E env PYTHONPATH= "${PYTHON_PACKAGE_DST_DIR} " pybind11-stubgen open3d -o "${PYTHON_PACKAGE_DST_DIR} " )
140
+ file (WRITE "${PYTHON_PACKAGE_DST_DIR} /open3d/py.typed" )
You can’t perform that action at this time.
0 commit comments