Skip to content
Permalink
Browse files

[pyqgis] add missing install of __init__.py for modules

  • Loading branch information
3nids committed Jun 5, 2018
1 parent e3f02ea commit 358d15c0f5c2a3b415340271e0b7b1aabb8b9a3f
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/CMakeLists.txt
@@ -325,6 +325,7 @@ FOREACH(module ${PY_MODULES})
file(READ ${pyfile} CONTENTS)
file(APPEND ${QGIS_PYTHON_OUTPUT_DIRECTORY}/${module}/__init__.py "${CONTENTS}")
ENDFOREACH(pyfile)
INSTALL(FILES ${QGIS_PYTHON_OUTPUT_DIRECTORY}/${module}/__init__.py DESTINATION "${QGIS_PYTHON_DIR}/${module}")

FILE(GLOB PY_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${module}/*.py)
INSTALL(FILES ${PY_FILES} DESTINATION "${QGIS_PYTHON_DIR}/${module}")

0 comments on commit 358d15c

Please sign in to comment.
You can’t perform that action at this time.