libdir and python on x86_64

Thomas Vander Stichele thomas at apestaart.org
Thu Jun 8 09:34:51 UTC 2006


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




More information about the fedora-extras-list mailing list