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 8ef0d1f7d95bdc52904cd1d075f2f409f8523cb6
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 8ef0d1f

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