Packaging python modules

Richard Shaw hobbes1069 at gmail.com
Sat Jul 23 22:12:33 UTC 2011


On Sat, Jul 23, 2011 at 4:58 PM, Paul Howarth <paul at city-fan.org> 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 wrappers and it calls setup.py from within the
makefile. For some reason it want's to put everything in /usr/lib
instead of /usr/lib64 which --root and --prefix will not fix. I'm
trying --install-purelib now...

Thanks,
RIchard


More information about the devel mailing list