[Distutils] moving things forward (was: wheel including files it shouldn't)

Donald Stufft donald at stufft.io
Tue May 3 12:47:20 EDT 2016


It will likely get decided as part of the build system PEP, whenever that gets picked up again.

> On May 3, 2016, at 12:41 PM, Brett Cannon <brett at python.org> wrote:
> 
> 
> 
> On Wed, 27 Apr 2016 at 10:53 Donald Stufft <donald at stufft.io <mailto:donald at stufft.io>> wrote:
> This isn't really a problem with what you're doing. Rather it's an issue with the toolchain and and open question whether or not wheels should conceptually be able to be produced from a checkout, or if they should only be produced from a sdist. Problems like this are why I advocate the Checkout -> sdist -> wheel being the only path, but others feel differently.
> 
> And Daniel Holth said he did feel differently, so obviously this hasn't moved forward in terms of finding consensus.
> 
> Where does all of this sit in regards to trying to separate building from installation? From my perspective as mailing list lurker, it's sitting at an impasse as Nick hasn't made a final call nor has a BDFL delegate on the topic been chosen to settle the matter (obviously if I missed something then please let me know). Could we choose a Great Decider on this topic of build/installation separation and get final RFC/PEPs written so we can get passed this impasse and move forward?
> 
> -Brett
> 
> 
> 
> — Donald Stufft
> 
> On Apr 27 2016, at 1:38 pm, Ethan Furman <ethan at stoneleaf.us <mailto:ethan at stoneleaf.us>> wrote:
> On 04/26/2016 07:10 AM, Donald Stufft wrote:
> 
> > Alternatively, he could have just produced a wheel from any checkout at
> > all if the MANIFEST.in excluded a file that would otherwise have been
> > installed.
> 
> Yes. My MANIFEST.in starts with an 'exclude enum/*' and then includes
> all files it wants.
> 
> > This sort of thing is why I'm an advocate that we should only
> > build sdists from checkouts, and wheels from sdists (at the low level
> > anyways, even if the UI allows people to appear to create a wheel
> > straight from a checkout).
> 
> My current process is:
> 
>    python3.5 setup.py sdist --format=gztar,zip bdist_wheel upload
> 
> What should I be doing instead?
> 
> --
> ~Ethan~
> 
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org <mailto:Distutils-SIG at python.org>
> https://mail.python.org/mailman/listinfo/distutils-sig <https://mail.python.org/mailman/listinfo/distutils-sig>_______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org <mailto:Distutils-SIG at python.org>
> https://mail.python.org/mailman/listinfo/distutils-sig <https://mail.python.org/mailman/listinfo/distutils-sig>


-----------------
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/20160503/94962c1a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160503/94962c1a/attachment.sig>


More information about the Distutils-SIG mailing list