[Distutils] The future of invoking pip

Donald Stufft donald at stufft.io
Fri Nov 6 07:10:10 EST 2015


On November 6, 2015 at 4:10:39 AM, Paul Moore (p.f.moore at gmail.com) wrote:
> On 5 November 2015 at 22:59, Donald Stufft wrote:
> > I think we could integrate with py on Windows somehow so that we use the same lookup semantics  
> as py does. I don't know enough about Windows and py.exe to know what exactly those are.  
>  
> Hmm, I'm reluctant to get into complex interactions with C code like
> the launcher on Windows. The number of people we'd have able to
> maintain such code is approaching zero, I suspect :-( We may be able
> to run py.exe as a subprocess, but that could easily get out of hand
> (running pip could then easily start up a chain of 6 processes on
> Windows, which while not disastrous, certainly isn't cheap).
>  
> Paul
> 

Doesn’t py.exe just look at some ini files and environment variables to decide what to invoke? I’m not sure why we couldn’t just replicate that behavior. Is there something that py.exe does that we can’t also do in Python?

-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA




More information about the Distutils-SIG mailing list