There's a canonical way to say "I want to run another python process in the
same environment as the one I'm already running in". You look at
sys.executable and run the binary named there.

On Jun 16, 2017 12:32 PM, "Freddy Rietdijk" <[email protected]> wrote:

> I'm wondering about this one as well. Even when it is not a different
> interpreter version it could also be a different environment. Who "owns"
> environment variables like PYTHONHOME and PYTHONPATH?
>
> On Fri, Jun 16, 2017 at 9:13 PM, Daniel Holth <[email protected]> wrote:
>
>> Build systems should be able to run under a different version of Python
>> than the one that is running 'pip install'. Does PEP 517 have anything to
>> say about that? Then a flit back end could have a small amount of Python
>> 2.7 compatible interface code and create the wheel with Python 3 anyway.
>>
>> _______________________________________________
>> Distutils-SIG maillist  -  [email protected]
>> https://mail.python.org/mailman/listinfo/distutils-sig
>>
>>
>
> _______________________________________________
> Distutils-SIG maillist  -  [email protected]
> https://mail.python.org/mailman/listinfo/distutils-sig
>
>
_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to