Alan W. Irwin wrote: > Hi Hazen: > > I sometimes do my best work while asleep. :-) > > Anyhow, I woke up this morning with an improved idea about how your pyqt > example should really be handled. I was overfocussed yesterday on the > build > of the plplot_pyqt extension module and assumed that should happen in the > new build system, but instead you should just simply build and install the > plplot_pyqt extension module as part of the ordinary core build. > > So I suggest you use svn move to move everything except pyqt_test.py from > examples/plplot_pyqt to bindings/python/pyqt4 and initially proceed using > that directory along the lines I mentioned to make the touch + python > config.py work as part of the core build followed up (after consulting > again > with me) by the finishing steps I mentioned to actually build and install > the plplot_pyqt extension module as part of the core build using the source > files that are generated (indirectly via "python config.py") by sip. > > With this approach there is nothing extra to build in the new build system > for the installed examples at all, and your pyqt_test.py example would > simply use the plplot_pyqt extension module that is built and installed by > the plplot core build. IOW, pyqt_test.py would be handled from the core > build system perspective very similarly to the way that prova.py is dealt > with. > > I hope this new idea makes better sense to you than the previous idea. In > any case, I think I have a clear overview now of exactly what needs to be > done, and I would be happy to answer any further questions you may have > about that overview.
I've moved the pyqt4 bindings into bindings/python/pyqt4 and I have started in on trying to figure out how to get them built. I was able to create the required config.py.in using the cmake file() command. Now I'm struggling to get the "python config.py" command to happen. Is add_custom_command() the right way to do this? Do I understand correctly that source_dir/bindings/python/pyqt4/CMakeLists.txt is used by cmake to create the Makefile in binary_dir/bindings/python/pyqt4? thanks, -Hazen ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel