[C++-sig] boost::python PyUnicodeUCS4_FromEncodedObject

Stefan Seefeld seefeld at sympatico.ca
Fri Mar 28 18:08:19 CET 2008

Venkatraman S wrote:
> On Thu, Mar 27, 2008 at 2:58 PM, Stefan Seefeld <seefeld at sympatico.ca 
> <mailto:seefeld at sympatico.ca>> wrote:
>     Can you print out the compile and link commands this generates ? I'm
>     using distutils myself, but found its extension handling limited and
>     broken, and so have reimplemented the 'build_ext' command. I wouldn't be
>     surprized if distutils was causing the error you are experiencing.
> Well, i compiled Python again with unicode support(UCS4) and it worked.
> But still, would like to know as to how you reimplemented build_ext - 
> can you share some information.

It's brute-force, really: I made it a wrapper around other build systems
(GNU make / autotools based, in my case). The result is that I'm dealing 
with a hybrid system: make/autotools for individual extension modules, 
and distutils for the overall project (especially the packaging).
This seems to be a good compromize between effort and features.



       ...ich hab' noch einen Koffer in Berlin...

More information about the Cplusplus-sig mailing list