On Mon, Mar 31, 2008 at 11:36:10AM -0700, Tim S. Knitter wrote:

> > - it shouldn't be installed in /usr/lib/, but at the
> > same location as
> 
> It's final destination once installed is 
> /usr/lib/python2.4/vendor-packages/beadm. 

OK, sounds good - I was being misled by libbe_glue/Makefile, I think.

> > other Python modules, namely /usr/lib/python2.4/vendor-packages - it
> > should just be called 'libbe.so' as per other Python modules
> 
> I tried to find a definitive answer to the naming convention for C ->
> Python library wrappers but was unsuccessful. Can you point me to
> where the naming for wrappers is defined  and I'll change  libbe_glue
> to libbe?

I doubt you'd find anything written down, it's just a de facto standard.
Maybe my point is better raised as a question: what are the reasons
behind creating the new "_glue" convention?

> > - I haven't looked, but what is the purpose of libbe_glue.h?
> 
> To declare the public functions in libbe_glue.c. Also follows the
> libbe.h convention. 

But these functions are only ever called via the Python runtime, no?

thanks,
john

Reply via email to