<div dir="ltr">On Thu, Mar 27, 2014 at 2:23 PM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><p dir="ltr">On 28 Mar 2014 05:42, "Daniel Holth" <<a href="mailto:dholth@gmail.com" target="_blank">dholth@gmail.com</a>> wrote:<br>
> I became convinced that build was an inherently arbitrary-code<br>
> process, and not something to be universally handled by a declarative<br>
> system,</p>
</div><p dir="ltr">It wasn't an accident that last years PyCon panel was subtitled "setup.py *install* must die" :)</p>
<p dir="ltr">As others have suggested, declarative build will never be more than an 80% solution, and then beyond that, it should be a question of plumbing to invoke the project's own build system (and ideally that plumbing will be per build system, not per project).</p>
</blockquote><div style>Agreed -- I have been poking at this a bit, and trying to make gattai work for me:</div><div style><br></div><div style><a href="http://sourceforge.net/projects/gattai/">http://sourceforge.net/projects/gattai/</a><br>
</div><div style><br></div><div style>(It's a by and for python build system that essentially invokes the native build systems : make, setup.py, nmake, etc... But that's not really the point). the point is that I hit a wall pretty quickly with its declarative approach (JSON files). I find I can't do what I need to do with straight declaration (and I'm hacking gattai to support that)</div>
<div style><br></div><div style>However, for the most part, all I need to be able to do is run arbitrary code to set up the declarations. The stuff that's been talked about: finding the right libraries to link to, that sort of thing.</div>
<div style><br></div><div style>I actually think that aspect of the setup.py approach works pretty well, even though it does sometimes get kind of messy.</div><div style><br></div><div style>-Chris</div><div style><br></div>
<div style><br></div><div style><br></div></div>-- <br><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R (206) 526-6959 voice<br>7600 Sand Point Way NE (206) 526-6329 fax<br>
Seattle, WA 98115 (206) 526-6317 main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a>
</div></div>