[Distutils] Wheels and console script entry point wrappers (Was: Replacing pip.exe with a Python script)

Donald Stufft donald at stufft.io
Wed Jul 17 02:03:14 CEST 2013


On Jul 16, 2013, at 8:00 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> 
> On 17 Jul 2013 04:19, "Vinay Sajip" <vinay_sajip at yahoo.co.uk> wrote:
> >
> >
> >
> > >If I were writing a firm proposal, I'd go for something like entry points as metadata
> >
> > My extended metadata already covers this, though I use the name "exports" (suggested by PJE) because you can share not just code but data, and "entry points" generally implies code. The current version of distil creates wrappers for both gui and console scripts, and adds the appropriate native executable wrappers (32- or 64-bit, according to the running Python) on Windows.
> 
> Yeah, originally we were going to postpone dealing with entry points to a metadata extension (Daniel even had a proto-PEP kicking around in the pre-JSON days).
> 
> However, I now think it makes more sense to standardise them as an "exports" field in PEP 426. So run with the assumption that something like that will be part of the standard metadata - either derived from entry_points.txt for existing metadata, or specified directly for next generation metadata.
> 
> Cheers,
> Nick.
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

Are these only the scripts portion of entry points, or the whole kit and caboodle of pluggable entry points? Because I think the first makes sense, the second I'm hesitant on.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130716/cc6ae34d/attachment.html>
-------------- 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/20130716/cc6ae34d/attachment.pgp>


More information about the Distutils-SIG mailing list