[C++-sig] pyplusplus howto?

Allen Bierbaum abierbaum at gmail.com
Sun Feb 12 18:12:33 CET 2006


>
> > - I use an SCons based build with my existing pyste base wrapping.  I
> > have setup SCons so it can detect when the dependencies for an
> > individual pyste file change (normally used for just wrapping one
> > class) and this then triggers regeneration of that portion of the
> > wrappers.  This works out very nicely but I can't see yet how to do
> > this with pyplusplus.  To help clarify this point, this is what the
> > pyste dependencies look like at a high-level:
> >
> > ClassA.h --> ClassA.pyste --> ClassABindings.cpp
> > ClassB.h --> ClassB.pyste --> ClassBBindings.cpp
> > ClassC.h --> ClassC.pyste --> ClassCBindings.cpp
> > Class[A,B,C].h --> Class[A,B,C].pyste --> mainBindings.cpp
> >
> > This type of setup allow an individual "build" chain for each part of
> > the bindings and this is only rebuilt as needed.  Is there some way to
> > do this with pyplusplus?
>
> The answer to this question is not simple. The quick and honest answer is that
> pyplusplus right now does not support such behaviour. There are few
> reasons for this.
> The long answer is that it is possible to implement such behaviour
> with pyplusplus.
> I need to think a little about your use case.

What type of details would you like to know about my use case?  Right
now it is a fairly standard use of Pyste with muliple mode
(--multiple).  I would guess that anyone else working on a large
binding would also be using this type of functionality and would need
it with pyplusplus.

-Allen

>
> > -Allen
> > _______________________________________________
> > C++-sig mailing list
> > C++-sig at python.org
> > http://mail.python.org/mailman/listinfo/c++-sig
> >
>
> Thanks
>
> --
> Roman Yakovenko
> C++ Python language binding
> http://www.language-binding.net/
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>



More information about the Cplusplus-sig mailing list