[Python-Dev] PEP 427: pure / plat distinction

Antoine Pitrou solipsis at pitrou.net
Mon Oct 22 22:13:39 CEST 2012


On Mon, 22 Oct 2012 15:39:07 -0400
Daniel Holth <dholth at gmail.com> wrote:
> On Mon, Oct 22, 2012 at 3:27 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> >
> > Hello,
> >
> > How does the pure / plat distinction as outlined in PEP 427 cope with
> > Debian's system of separating installed files into pyshared (for *.py
> > and *.egg-info files) and pythonX.Y/dist-packages (for *.pyc and *.so
> > files)?
> >
> > Thanks,
> >
> > Antoine.
> 
> It is only there because distutils has a purelib/platlib distinction,
> so the spec represents it. See
> http://hg.python.org/cpython/file/49de26395d1a/Lib/distutils/command/install.py#l85

Ok, so does this mean Debian would have to build their own installer if
they want to spread the wheel's contents as appropriate for their
directory layout?

Regards

Antoine.


More information about the Python-Dev mailing list