Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FEATURE] new python console implementation.
Simpler, easier and better :-)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12727 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jan 10, 2010
1 parent 4e09a05 commit 49e5a14
Show file tree
Hide file tree
Showing 3 changed files with 236 additions and 256 deletions.
7 changes: 1 addition & 6 deletions python/CMakeLists.txt
Expand Up @@ -99,12 +99,7 @@ ELSE (BINDINGS_GLOBAL_INSTALL)
ENDIF (BINDINGS_GLOBAL_INSTALL)


# python console
PYQT4_WRAP_UI(PYUI_FILE ${CMAKE_SOURCE_DIR}/src/ui/qgspythondialog.ui)

ADD_CUSTOM_TARGET(pythonconsole ALL DEPENDS ${PYUI_FILE})


# Step 4: install built libs to python's site packages
INSTALL(FILES __init__.py utils.py console.py ${PYUI_FILE} ${CMAKE_CURRENT_BINARY_DIR}/qgisconfig.py ${BINDINGS_LIBS} DESTINATION ${SITE_PKG_PATH}/qgis)
INSTALL(FILES __init__.py utils.py console.py ${CMAKE_CURRENT_BINARY_DIR}/qgisconfig.py ${BINDINGS_LIBS} DESTINATION ${SITE_PKG_PATH}/qgis)

0 comments on commit 49e5a14

Please sign in to comment.