Python vs multilib module packaging question

Joe Orton jorton at redhat.com
Mon Jan 10 10:28:33 UTC 2005


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?

Regards,

joe




More information about the fedora-devel-list mailing list