|
From: <ai...@us...> - 2009-07-03 00:57:47
|
Revision: 10115
http://plplot.svn.sourceforge.net/plplot/?rev=10115&view=rev
Author: airwin
Date: 2009-07-03 00:57:47 +0000 (Fri, 03 Jul 2009)
Log Message:
-----------
Configure 3rd python location that allows pyqt4_example.py to run within
build tree.
Modified Paths:
--------------
trunk/examples/python/CMakeLists.txt
trunk/examples/python/plplot_python_start.py.cmake
Modified: trunk/examples/python/CMakeLists.txt
===================================================================
--- trunk/examples/python/CMakeLists.txt 2009-07-02 21:23:16 UTC (rev 10114)
+++ trunk/examples/python/CMakeLists.txt 2009-07-03 00:57:47 UTC (rev 10115)
@@ -189,6 +189,7 @@
set(python_location1 ${CMAKE_SOURCE_DIR}/bindings/python)
set(python_location2 ${CMAKE_BINARY_DIR}/bindings/python)
+set(python_location3 ${CMAKE_BINARY_DIR}/bindings/qt_gui/pyqt4)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/plplot_python_start.py.cmake
${CMAKE_CURRENT_BINARY_DIR}/plplot_python_start.py
@@ -197,6 +198,7 @@
set(python_location1 ${PYTHON_INSTDIR})
set(python_location2)
+set(python_location3)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/plplot_python_start.py.cmake
${CMAKE_CURRENT_BINARY_DIR}/plplot_python_start.py_install
Modified: trunk/examples/python/plplot_python_start.py.cmake
===================================================================
--- trunk/examples/python/plplot_python_start.py.cmake 2009-07-02 21:23:16 UTC (rev 10114)
+++ trunk/examples/python/plplot_python_start.py.cmake 2009-07-03 00:57:47 UTC (rev 10115)
@@ -7,3 +7,4 @@
import sys
sys.path.insert (0, "@python_location1@")
sys.path.insert (0, "@python_location2@")
+sys.path.insert (0, "@python_location3@")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|