[Python-Dev] Problem with module loading on multi-arch? (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Fri Mar 17 22:03:06 CET 2006
- Previous message: [Python-Dev] Problem with module loading on multi-arch?
- Next message: [Python-Dev] Problem with module loading on multi-arch?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 pythonsitearch %(%{python} -c "from distutils.sysconfig import getpythonlib; print getpythonlib(1)")} _%define pythonsitelib %(%{python} -c "from distutils.sysconfig import getpythonlib; print getpythonlib()")} 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
- Previous message: [Python-Dev] Problem with module loading on multi-arch?
- Next message: [Python-Dev] Problem with module loading on multi-arch?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]