On 25 July 2013 20:38, Toshio Kuratomi <[email protected]> wrote:
>
> On Jul 24, 2013 6:37 AM, "Brett Cannon" <[email protected]> wrote:
>> The key, though, is adding python2 and getting your code to use that
>> binary  specifically so that shifting the default name is more of a
>> convenience than something which might break existing code not ready for the
>> switch.
>>
> Applicable to this, does anyone know whether distutils, setuptools, distlib,
> or any of the other standard build+install tools are doing shebang
> requiring?  Are they doing the right thing wrt python vs python2?

It occurs to me they're almost certainly using "sys.executable" to set
the shebang line, so probably not :(

distutils-sig could probably offer a better answer though, most of the
packaging folks don't hang out here.

Cheers,
Nick.

-- 
Nick Coghlan   |   [email protected]   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to