[Python-Dev] Problem with module loading on multi-arch?
"Martin v. Löwis"
martin at v.loewis.de
Fri Mar 17 22:03:06 CET 2006
Neal Becker wrote:
> Sorry, maybe I used confusing terminology.
>
> A reference is here: http://fedoraproject.org/wiki/Packaging/Python
> This is the current setup. For example, this is a standard macro used by
> Redhat in RPM SPEC files for python:
>
> %define python_sitearch %(%{__python} -c "from distutils.sysconfig import
> get_python_lib; print get_python_lib(1)")}
>
> %define python_sitelib %(%{__python} -c "from distutils.sysconfig import
> get_python_lib; print get_python_lib()")}
>
> Clearly this practice is widespread. It would seem that module search needs
> some modification to fully support it.
Ah. That isn't supported at all, at the moment. Redhat should not be
using it. Instead, there shouldn't be a difference between sitearch and
sitelib.
Regards,
Martin
More information about the Python-Dev
mailing list