[Distutils] Q about best practices now (or near future)

Donald Stufft donald at stufft.io
Fri Jul 19 01:24:16 CEST 2013


On Jul 18, 2013, at 7:20 PM, Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:

> Daniel Holth <dholth <at> gmail.com> writes:
> 
>> PJE is correct that if we surprise people with non-pkg_resources
>> console_scripts then we will break things for people who are more
>> interested in a working packaging experience.
> 
> Do you mean that you think multiple versions have to be supported, and that's 
> why console scripts should remain pkg_resources  - dependent?
> 
> If you don't think that multiple version support is needed, then the non-
> pkg_resources versions of the script should be able to locate the function to 
> call from the script, assuming it can import the module. Are you saying that 
> the import or function call will fail, because the distribution didn't 
> reference setuptools as a dependency, and yet expects it to be there?
> 
> Regards,
> 
> Vinay Sajip
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

I think the point is that people might be dependent on this functionality and changing it out from underneath them could break their world.

-----------------
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/20130718/5cc8d0c1/attachment.pgp>


More information about the Distutils-SIG mailing list