<div dir="ltr">Thanks a lot for providing the example Sturla, that is exactly what we are looking for!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 December 2015 at 11:34, Sturla Molden <span dir="ltr"><<a href="mailto:sturla.molden@gmail.com" target="_blank">sturla.molden@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/12/15 22:07, David Verelst wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Can this workflow be incorporated into |setuptools|/|numpy.distutils|?<br>
Something along the lines as:<br>
</blockquote>
<br></span>
Take a look at what SciPy does.<br>
<br>
<a href="https://github.com/scipy/scipy/blob/81c096001974f0b5efe29ec83b54f725cc681540/scipy/fftpack/setup.py" rel="noreferrer" target="_blank">https://github.com/scipy/scipy/blob/81c096001974f0b5efe29ec83b54f725cc681540/scipy/fftpack/setup.py</a><br>
<br>
Multiple Fortran files are compiled into a static library using "add_library", which is subsequently linked to the extension module.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Sturla</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
</div></div></blockquote></div><br></div>