<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 14, 2015 at 12:59 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
> On Jan 14, 2015, at 12:03 PM, Aron Ahmadia <<a href="mailto:aron@ahmadia.net">aron@ahmadia.net</a>> wrote:<br>
><br>
> Ah, I understand what you're doing now.  You're trying to have `pip` install the modules file to the correct location.<br>
><br>
> At your top-level setup.py file you're overriding install():<br>
><br>
> <a href="https://bitbucket.org/petsc/petsc/src/8f5bdbf243df394d73fcb8729f6a9331011281dc/setup.py?at=next#cl-157" target="_blank">https://bitbucket.org/petsc/petsc/src/8f5bdbf243df394d73fcb8729f6a9331011281dc/setup.py?at=next#cl-157</a><br>
><br>
> The setup.py build command doesn't take a prefix argument, so you shouldn't build/dump anything that is hardcoded to the prefix there (since as you say, you don't have it).<br>
><br>
> You must defer that module dump command until you're installing (it doesn't actually make much sense for an in-place/development build anyway).  Is that hard to do?<br>
<br>
</div></div>   We can always special case dumping in the install but the general PETSc install process is based on prefix during configure so you might have to start special casing the delay of more and more things. Essentially pip would restrict us to a configure ; make; make install that only accepted prefix at the install time. Do we want to be stuck with this restriction? Pip is new and evolving why do they still cling to prefix only at install time?<br></blockquote><div><br></div><div>Definitely not. This is a senseless restriction, and ignores by far the greater number of packages that conform to the GNU standard.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  Barry<br>
<br>
<br>
><br>
> A<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>