Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[pyqgis] add missing install of __init__.py for modules
  • Loading branch information
3nids committed Jun 5, 2018
1 parent e3f02ea commit 358d15c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/CMakeLists.txt
Expand Up @@ -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}")
Expand Down

0 comments on commit 358d15c

Please sign in to comment.