<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 6:10 PM, Chris Barker - NOAA Federal <span dir="ltr"><<a href="mailto:chris.barker@noaa.gov" target="_blank">chris.barker@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">>> I'm not talking about in place installs, I'm talking about e.g. building a<br>
>> wheel and then tweaking one file and rebuilding -- traditionally build<br>
>> systems go to some effort to keep track of intermediate artifacts and reuse<br>
>> them across builds when possible, but if you always copy the source tree<br>
>> into a temporary directory before building then there's not much the build<br>
>> system can do.<br>
<br>
</span>This strikes me as an optimization -- is it an important one?<br></blockquote><div><br></div><div>Yes, I think it is. At least if we want to move people towards `pip install .` instead of `python setup.py`. <br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I'm doing a lot of tweaking and re-running, I'm usually in develop mode.<br></blockquote><div><br></div><div>Everyone has a slightly different workflow. What if you install into a bunch of different venvs between tweaks? The non-caching for a package like scipy pushes rebuild time from <30 sec to ~10 min.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I can see that when you build a wheel, you may build it, test it,<br>
discover an wheel-specific error, and then need to repeat the cycle --<br>
but is that a major use-case?<br>
<br>
That being said, I have been pretty frustrated debugging conda-build<br>
scripts -- there is a lot of overhead setting up the build environment<br>
each time you do a build...<br>
<br>
But with wheel building there is much less overhead, and far fewer<br>
complications requiring the edit-build cycle.<br>
<br>
And couldn't make-style this-has-already-been-done checking happen<br>
with a copy anyway?<br></blockquote><div><br></div><div>The whole point of the copy is that it's a clean environment. Pip currently creates tempdirs and removes them when it's done building. So no.<br><br></div><div>Ralf<br><br></div></div></div></div>