[Distutils] Distribution format for Python3 libraries

Nick Coghlan ncoghlan at gmail.com
Sun Nov 17 14:44:15 CET 2013


On 17 November 2013 14:05, Donald Stufft <donald at stufft.io> wrote:
>
> On Nov 16, 2013, at 8:58 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> The specific case affecting IPython was the need to define platform
> dependent dependencies. Metadata 2.0 will handle that, but isn't going to
be
> available until pip 1.6 at the earliest. (That does suggest "Does this let
> IPython start publishing wheels?" would make a good acceptance criterion
for
> PEP 426 et al. It can join the setuptools metadata replacement criteria,
the
> Linux distro integration criteria and the Twisted plugin model handling
> criteria).
>
> That’s not true, Wheel let’s you use environment markers.
>
> https://github.com/dstufft/twine/blob/master/setup.cfg#L9-L13

More accurately, it appears setuptools *does* support PEP 345 style
environment markers, it just isn't documented at
http://pythonhosted.org/setuptools/setuptools.html#declaring-dependencies*sigh*

I filed a setuptools issue about the missing docs, but also suggested the
IPython folks wait for pip 1.5 to get the install-time script handling and
other wheel related fixes.

Cheers,
Nick.

-- 
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20131117/8fe28ebe/attachment.html>


More information about the Distutils-SIG mailing list