[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: libdir and python on x86_64



Hi,

> > It seems to me that, for a set of packages that are going to share the
> > same module namespace, if any of them contains any arch-dependent code,
> > *ALL* of these packages need to go into sitearch.
> > 
> > In Extras, this would apply to both Twisted and Flumotion.
> > 
> > Does this seem correct, or am I missing something ?
> 
> Hrmm... but how will this work with the non-arch-dependent packages 
> being noarch?

Python handles this correctly.  If module namespace A lives in the
arch-dependent path, and module namespace B lives in the
arch-independent one, then they can both be imported just fine.

The problem I'm describing is when A.B is put in the arch-dependent one,
and A.C in the arch-independent one.  Then programs can only import A.B
or A.C, but not both, effectively rendering A useless.

Thomas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]