Skip to content

Commit 4c39118

Browse files
committed
Also install the stubs within the binary distribution
1 parent 69fa41e commit 4c39118

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/cmake/pythonutils.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ macro (setup_python_module)
156156
RUNTIME DESTINATION ${PYTHON_SITE_DIR} COMPONENT user
157157
LIBRARY DESTINATION ${PYTHON_SITE_DIR} COMPONENT user)
158158

159-
install(FILES __init__.py DESTINATION ${PYTHON_SITE_DIR} COMPONENT user)
159+
install (FILES __init__.py stubs/OpenImageIO-stubs/__init__.pyi stubs/OpenImageIO-stubs/py.typed
160+
DESTINATION ${PYTHON_SITE_DIR} COMPONENT user)
160161

161162
endmacro ()
162163

0 commit comments

Comments
 (0)