On Sep 13, 2010, at 05:04 PM, Antoine Pitrou wrote: >On Mon, 13 Sep 2010 10:55:16 -0400 >Barry Warsaw <ba...@python.org> wrote: >> On Sep 13, 2010, at 04:36 PM, Antoine Pitrou wrote: >> >> - /usr/share/pyshared/foo.cpython-32m.so >> >> - /usr/share/pyshared/foo.cpython-33m.so >> >> + /usr/lib/python/foo.cpython-32m.so >> >> + /usr/lib/python/foo.cpython-33m.so >> > >> >Are these the default paths? The PEP doesn't say how a distribution >> >is supposed to choose its PEP 3149 filesystem layout (instead of >> >/usr/lib/python3.2/site-packages). >> >> Why should it? Distributions are going to make their own decisions >> independent of the PEP. That's why s/would/might/ in the above >> change. I'm open to suggestions for better ways to explain it. > >I meant how these decisions are implemented. Is there a configure >switch (there doesn't seem to be)? Does it require patching Python?
Ah, no. Standard configure switches are used. Debian (inherited by Ubuntu) has a post-installation script for Python packages which create the .py symlinks and do the byte-compilation. The big win here is that much of this can go away now (and in fact there are modifications to this post-installation script already). -Barry
signature.asc
Description: PGP signature
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com