Python vs multilib module packaging question
Joe Orton
jorton at redhat.com
Mon Jan 10 11:45:26 UTC 2005
On Mon, Jan 10, 2005 at 01:25:34PM +0200, Pekka Pietikainen wrote:
> On Mon, Jan 10, 2005 at 10:28:33AM +0000, Joe Orton wrote:
> > In subversion.spec I used:
> >
> > %define pydir %(python -c 'from distutils import sysconfig; print
> > sysconfig.get_python_lib()')
> >
> > to find the directory in which to package Python modules, but on x86_64
> > this produces /usr/lib/python2.3/site-packages rather than /usr/lib64,
> > which is presumably wrong.
> >
> > Is that a Python bug, or is there some other sysconfig.* thing which
> > should be used to make this work properly?
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143136
>
> is related btw. and has a possible way of fixing the problem
> in one of the comments. Still no idea whether it's python or the spec files
> that need to be fixed.
Thanks. Michael's fix there is to use sysconfig.get_python_lib(1)
rather than just sysconfig.get_python_lib(). I'll do that for
Subversion too unless anyone can tell me that it's a bad idea :)
joe
More information about the fedora-devel-list
mailing list