[Distutils] Upcoming changes to PEP 426/440

Donald Stufft donald at stufft.io
Mon Jul 1 00:52:46 CEST 2013


On Jun 30, 2013, at 6:51 PM, Gabriel de Perthuis <g2p.code at gmail.com> wrote:

> On Sun, 30 Jun 2013 18:46:51 -0400, Donald Stufft wrote:
>> On Jun 30, 2013, at 6:39 PM, Gabriel de Perthuis <g2p.code at gmail.com> wrote:
>> 
>>> So it would prefer that dev and test be extras with well known names,
>>> so that dev, test, and any other extras define dependencies with a
>>> minimum of ambiguity and without the need for a second level of
>>> qualifiers.
>> 
>> "Well known names" is way more ambiguous than a top level field.
>> It's easy to have minor variances across various packages, "test" vs
>> "tests", "docs", "doc", "documentation". Both top level and "kind"
>> share the fact that there is a limited number of allowed names,
>> which makes it simple to validate that the same name is being used
>> everywhere (because anything outside of those limited numbers are
>> rejected).
> 
> These well-known names would also have some tool support.
> Something like `pip install-dev` would be sufficient.
> 
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

But when defining them, it's very easy to accidentally use "tests" instead of "test".

-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130630/6ef9d052/attachment.pgp>


More information about the Distutils-SIG mailing list