[C++-sig] Py++ generated code

Roman Yakovenko roman.yakovenko at gmail.com
Tue Jan 16 17:38:32 CET 2007


On 1/16/07, Alexander Eisenhuth <newsuser at stacom-software.de> wrote:
> Maybe a stupid question:
> And I do not need to compile something and  generate a <...>.pyd-file, if I use
> py++ ?

You still need this step :-). But if you really really want - you can hide it.
Py++ unit tests use next pattern:
    parse source code
    configure the code generator
    compile
    load compiled module
    test functionality

All this done from single Python script. Py++ gives you more power than other
"C++ in Python" embedding tools: weave, Instant and similars. I don't
have enough time
to create a complete example with documentation :-(

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list