Re: Packaging python modules

2011-07-23 Thread Richard Shaw
On Sat, Jul 23, 2011 at 4:58 PM, Paul Howarth wrote: > The python interpreter expects to find all parts of a module in the > same directory, so if there are C bits, everything goes in > %{python_sitearch}. Thanks! That's what I needed! I'm trying to fix a package which is C based but has python w

Re: Packaging python modules

2011-07-23 Thread Paul Howarth
On Sat, 23 Jul 2011 16:26:34 -0500 Richard Shaw wrote: > I was reviewing the guidelines and maybe I'm over thinking things but > one part that doesn't seem to be clear... > > Ok I understand that if you have a pure python module it goes in > %{python_sitelib} (/usr/lib) and if you have a C exten

Packaging python modules

2011-07-23 Thread Richard Shaw
I was reviewing the guidelines and maybe I'm over thinking things but one part that doesn't seem to be clear... Ok I understand that if you have a pure python module it goes in %{python_sitelib} (/usr/lib) and if you have a C extension module it goes in %{python_sitearch} (/usr/lib for 32bit or /u