<div dir="ltr">On Thu, Dec 5, 2013 at 11:21 PM, Ralf Gommers <span dir="ltr"><<a href="mailto:ralf.gommers@gmail.com" target="_blank">ralf.gommers@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hmm, taking a compile flag and encoding it in the package layout seems like a fundamentally wrong approach.</div>

</blockquote><div><br></div><div style>well, it's pretty ugly hack, but sometimes an ugly hack that does the job is better than nothing.</div><div style><br></div><div style>IIUC, the Intel MKL libs do some sort of dynamic switching at run time too -- and that is a great feature.</div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"> And in order to not litter the source tree and all installs with lots of empty dirs,</div>

</blockquote><div><br></div><div style>where "lots" what, 3? Is that so bad in a project the size of numpy?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"> the changes to __init__.py will have to be made at build time based on whether you're building Windows binaries or something else.</div></blockquote><div><br></div><div style>That might in fact be nicer than the "litter", but also may be a less robust and more annoying way to do it.</div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"> Path manipulation is usually fragile as well.</div></blockquote><div><br></div>

<div style>My first instinct was that you'd re-name directories on the fly, which might be more robust, but wouldn't work in any kind of secure environment. so a no-go. </div><div style><br></div><div style>But could you elaborate on the fragile nature of sys.path manipulation? What might go wrong there?</div>

<div style><br></div><div style>Also, it's not out of the question that once such a system was in place, that it could be used on systems other than Windows....</div><div style><br></div><div style>-Chris</div><div style>

<br></div></div><div><br></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>