<div dir="ltr"><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 6:47 AM, Paul Moore <span dir="ltr"><<a href="mailto:p.f.moore@gmail.com" target="_blank">p.f.moore@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">There are a few different points here:<br>
<br>
1. There's no relationship between pip and the py launcher - they are<br>
separate tools/projects. Any co-operation in terms of file locations<br>
would have to be a result of common standards. Those would normally be<br>
platform standards, not Python ones.<br></blockquote><div><br></div><div class="gmail_default" style="color:rgb(0,0,0)">Right, different planets, but orbiting the same star. I was thinking about the consolidation of the Windows registry layout a year or two ago, don't recall who spearheaded that (Steve Dower?). In any case, if the various tools either followed that convention, or we came up with an ini-based one that was consistent with it and usable on Unix (.pyconf or something)...</div><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
2. On Windows, pip.ini is in $env:APPDATA\pip, not ~/pip. Are you<br>
confusing Windows and Unix conventions?<br></blockquote><div><br></div><div><div class="gmail_default" style="color:rgb(0,0,0)">Yeah, our Windows dev environment uses Cygwin, so I'm constantly confused. :) Here's where I see py.exe looking for its ini file (first $LOCALAPPDATA then in $SystemRoot):</div><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><div class="gmail_default" style="color:rgb(0,0,0)">> setenv PYLAUNCH_DEBUG 1</div><div class="gmail_default" style="color:rgb(0,0,0)">> py.exe</div><div class="gmail_default" style="color:rgb(0,0,0)">launcher build: 32bit</div><div class="gmail_default" style="color:rgb(0,0,0)">launcher executable: Console</div><div class="gmail_default" style="color:rgb(0,0,0)">Using local configuration file 'C:\Users\efahlgren\AppData\Local\py.ini'</div><div class="gmail_default" style="color:rgb(0,0,0)">File 'C:\Windows\py.ini' non-existent</div><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><div class="gmail_default" style="color:rgb(0,0,0)">Not sure how to make pip cough up similar verbose output, but when it started complaining about legacy formats, I just followed its directions and this works:</div><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><div class="gmail_default" style="color:rgb(0,0,0)"><div class="gmail_default">> ll $USERPROFILE/pip/pip.ini</div><div class="gmail_default">-rw-r--r-- efahlgren 2017-04-30 15:51 'C:/Users/efahlgren/pip/pip.ini'</div><div class="gmail_default"><br></div><div>Eric</div></div></div></div></div></div>