Re: [C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-15 Thread Ben Fitzpatrick
>I'm sorry to say that I don't really understand the concept of making the >Python portion only an interface to the >underlying C++ code. Please could you >explain what that means? David, Sorry, I must not have communicated this well. I'll try again. It depends on how your code works, but th

Re: [C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-15 Thread Neal Becker
@python.org] > On Behalf Of David Aldrich Sent: Monday, September 06, 2010 11:16 AM To: > Development of Python/C++ integration Subject: [C++-sig] Advice sought on > making a large C++ application a Python extension > > Hi > > We have a large C++ application that we develop

Re: [C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-15 Thread David Aldrich
Hi Ben Thanks very much for your reply. Sorry that my response has been slow but I have been trying to digest yours. I have also taken a detour to investigate CMake. >As to how to make your functionality available with a Python >extension - I'm not sure exactly what kind of app you have, >but

Re: [C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-07 Thread Ben Fitzpatrick
ments@python.org [mailto:cplusplus-sig-bounces+bfitzpatrick=vtiinstruments@python.org] On Behalf Of David Aldrich Sent: Monday, September 06, 2010 11:16 AM To: Development of Python/C++ integration Subject: [C++-sig] Advice sought on making a large C++ application a Python extension Hi We have a l

Re: [C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-06 Thread Benoit Leveau
David Aldrich wrote: Hi Ravi Thanks for your reply. Yes. PyOGRE or cctbx are excellent exmples of larger projects which use boost.python. You may want to use py++ to automate binding generation to save yourself quite some time. Ok, I will look at py++. py++ is very good for the goal you hav

Re: [C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-06 Thread David Aldrich
Hi Ravi Thanks for your reply. > Yes. PyOGRE or cctbx are excellent exmples of larger projects which use > boost.python. You may want to use py++ to automate binding generation to > save yourself quite some time. Ok, I will look at py++. > No. The python modules can be compiled using regular ma

Re: [C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-06 Thread Ravi
On Monday 06 September 2010 08:15:39 David Aldrich wrote: > I have only looked at the boost.python tutorial that demonstrates a 'Hello > world' Python extension. For our project we would be dealing with > something very much bigger, with many classes, singleton classes and > (possibly) global data

[C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-06 Thread David Aldrich
Hi We have a large C++ application that we develop in-house. It consists of a large number of source files, some of which are linked directly and some of which are first built as static libraries. It has been suggested that we make the application's functionality available as a Python extensio