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/"
133133file (COPY "${PYTHON_PACKAGE_SRC_DIR} /../examples/python/"
134134 DESTINATION "${PYTHON_PACKAGE_DST_DIR} /open3d/examples" )
135135
136- # Generate typing stub files (.pyi)
136+ # Generate typing stub files (.pyi) and py.typed marker file.
137137message (STATUS "Generating typing stubs..." )
138138message (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