[Distutils] PEP 426 updated (with more than you ever wanted to know about version schemes)

Daniel Holth dholth at gmail.com
Tue Feb 12 14:48:28 CET 2013


On Tue, Feb 12, 2013 at 4:01 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> On Tue, Feb 12, 2013 at 6:48 PM, Ronald Oussoren <ronaldoussoren at mac.com>
> wrote:
> > I agree with that.  The hook could be one or two new header fields in
> the PKG-INFO
> > file, with a PEP that describes those keys and how the builder is
> invoked and what
> > it is supposed to do. Am I understanding this correctly?
> >
> > Something like:
> >
> > Extension: pepYYY-builder
> > pepYYY-builder/dist: bento (>=1.1)
> > pepYYY-builder/build: bento.builder:run
>
> I'm actually thinking the top level script approach isn't a bad
> builder API, it's the "commands" architecture legacy of distutils
> that's a concern.
>
> The standard hook could start out as simple as "./sdist2wheel.py
> <destination_dir>", with any builder specific settings passed as
> extension fields or in a separate builder-specific metadata file.
>
> if you wanted to mess with the build process beyond the basics
> supported by the standard hook, you would need to know which specific
> builder is involved and make the appropriate direct invocation instead
> of going through sdist2wheel.
>

All wonderful but we can finish the binary format wheel first :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130212/95aef8ae/attachment-0001.html>


More information about the Distutils-SIG mailing list