Skip to content
Permalink
Browse files
[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 49e5a14886a9119927240da4b9bdb3d40c7adaef
Showing with 236 additions and 256 deletions.
  1. +1 −6 python/CMakeLists.txt
  2. +235 −132 python/console.py
  3. +0 −118 src/ui/qgspythondialog.ui
@@ -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.