[Distutils] Wheel support added to distlib
Daniel Holth
dholth at gmail.com
Wed Feb 20 01:18:47 CET 2013
Wheel is only defined for 1 dist per archive.
On Feb 19, 2013 6:57 PM, "Vinay Sajip" <vinay_sajip at yahoo.co.uk> wrote:
> Daniel Holth <dholth <at> gmail.com> writes:
>
>
> > Wheel carefully preserves the meaningless purelib - platlib distinction
> even
> > though they are the same path. If you have a mixed archive you should use
> > platlib.
> >
> > It is legal but inadvisable to have both! The other one would go into
> > .data/platlib or .data/purelib
> >
>
> There's a further issue, as relates to .dist-info. If a wheel were to
> incorporate dependencies, then installing a wheel would lead to different
> results from e.g. installing from source, unless the wheel contained a
> .dist-info for all the distributions in the wheel. The spec makes no
> mention of
> multiple .dist-info files - were these ever intended to be there? I had
> assumed
> not. If multiple dists in a wheel are to be entertained, it would make more
> sense to *always* have .data/purelib and .data/platlib (I know they are
> generally always the same, but whatever :-).
>
> Sorry I never brought this up earlier - I just assumed that wheels were for
> one distribution, only in a binary format. They're still a win if that's
> the
> case, it's just that playing with the wheeler.py script got me thinking
> about
> dependencies...
>
> Regards,
>
> Vinay Sajip
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130219/9729284d/attachment-0001.html>
More information about the Distutils-SIG
mailing list