<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 26, 2015 at 7:01 AM, Robert Collins <span dir="ltr"><<a href="mailto:robertc@robertcollins.net" target="_blank">robertc@robertcollins.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Since Nathaniel seems busy, I've taken the liberty of drafting a<br>
narrow PEP based on the conversations that arose from the prior<br>
discussion.<br>
<br>
It (naturally) has my unique flavor, but builds on the work Nathaniel<br>
had put together, so I've put his name as a co-author even though he<br>
hasn't seen a word of it until now :) - all errors and mistakes are<br>
therefore mine...<br>
<br>
Current draft text in rendered form at:<br>
<a href="https://gist.github.com/rbtcollins/666c12aec869237f7cf7" rel="noreferrer" target="_blank">https://gist.github.com/rbtcollins/666c12aec869237f7cf7</a></blockquote><div><br></div><div>I have the feeling that I like where this PEP is going, but it's quite difficult to read. It would be very helpful to add one or two examples. Suggestions:<br></div><div><br>(1) Super simple example: for a pure Python package with one dependency and a build tool which has no dependencies itself.<br><br>(2) Complex example: to build a Scipy wheel on Windows with MinGW the command is ``python setup.py config --compiler=mingw32 build --compiler=mingw32 bdist_wheel``. <br><br></div><div>I tried to do (1) with flit as the build tool, the pypa.yaml should include:<br><br></div><div>    bootstrap-requires:<br></div><div>      - requests<br></div><div>      - docutils<br></div><div>      - requirement:python_version>="3"<br><br></div><div>So you have to encode flit's dependencies in your pypa.yaml, which will break as soon as flit grows a new dependency. Or did I misunderstand?<br><br></div><div>Maybe (2) simply is not possible / out of scope, but I have the feeling that there'll be a need for users to be able pass stuff (via pip or some other mechanism) to the build tool. If it is out of scope, I'd be interested to see what you think are use-cases with complex requirements that are enabled by this PEP.<br></div><div><br></div><div>Cheers,<br></div><div>Ralf<br><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
I've run it past Donald and he has a number of concerns - I think<br>
we'll need to discuss them here, and possibly in another hangout, to<br>
get a path forward.<br>
<br>
Cheers,<br>
Rob<br>
<span class=""><font color="#888888"><br>
--<br>
Robert Collins <<a href="mailto:rbtcollins@hp.com">rbtcollins@hp.com</a>><br>
Distinguished Technologist<br>
HP Converged Cloud<br>
_______________________________________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</font></span></blockquote></div><br></div></div>