<div dir="ltr"><div class="gmail_extra">So no penalty to moving it around with --incdir for subsequent wrapper compilations?</div><div class="gmail_extra"><br></div><div class="gmail_extra">fwiw, `distutils.sysconfig.get_python_inc(<font color="#0000ff">prefix=sys.prefix</font>)` might be better, per this link:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://groups.google.com/forum/#!topic/python-virtualenv/cGHNERdF1yE">https://groups.google.com/forum/#!topic/python-virtualenv/cGHNERdF1yE</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Not sure how far back that prefix arg goes, though.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><font face="monospace, monospace">>>> import distutils<br></font></div><div class="gmail_extra"><div class="gmail_extra"><font face="monospace, monospace">>>> import sys</font></div><div class="gmail_extra"><font face="monospace, monospace">>>> distutils.sysconfig.get_python_inc()</font></div><div class="gmail_extra"><font face="monospace, monospace">'/usr/include/python2.7'</font></div><div class="gmail_extra"><font face="monospace, monospace">>>> distutils.sysconfig.get_python_inc(prefix=sys.prefix)<br></font></div><div class="gmail_extra"><font face="monospace, monospace">'/home/russ/.virtualenvs/sip_fiddling/include/python2.7'</font></div><div class="gmail_extra"><font face="monospace, monospace">>>> </font></div><div><br></div><div>Russ</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 9, 2015 at 12:49 PM, Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>></span> wrote:<br><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 id=":2fq" class="" style="overflow:hidden">get_<u></u>python_inc</div></blockquote></div><br><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><font color="#000099">Russell Warren</font></div><div><font color="#000099">Perspexis Technologies Inc.</font></div><div><font color="#000099"><br></font></div><div><font color="#000099">This information is confidential and intended solely for the use of the individual or entity to whom it is addressed.</font></div><div><span style="color:rgb(0,0,153)">If you have received this email in error, please notify the sender immediately.</span></div></div></div>
</div></div>