<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>On Apr 16, 2014, at 4:50, Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:</div><blockquote type="cite"><p dir="ltr">Note that my main interest here is in making commands like:</p>
<p dir="ltr"> py -3 -m pip install foo</p>
<p dir="ltr">cross platform rather than Windows specific. At the moment we don't have a way to explicitly invoke Python 3 that works everywhere.</p></blockquote><div>It might be a lot simpler to get just that than the full py script:</div><div><br></div><div>If you just run python (off the path), unless -3 is specified, in which case you run python3 instead.</div><div><br></div><div>Doesn't that over all known distros, third-party installations, and pristine local installs of 3.x?</div><div><br></div><div>If you also want to make -2 portable, it seems like that requires some configuration (as long as some distros install 3.x as python, and others install 2.x as just python and not also python2). But is that a requirement!</div></body></html>