[Python-Dev] Python 3 as a Default in Linux Distros (original) (raw)

Toshio Kuratomi a.badger at gmail.com
Thu Jul 25 18:08:14 CEST 2013


On Thu, Jul 25, 2013 at 10:25:26PM +1000, Nick Coghlan wrote:

On 25 July 2013 20:38, Toshio Kuratomi <a.badger at gmail.com> wrote: > > On Jul 24, 2013 6:37 AM, "Brett Cannon" <brett at python.org> 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. Thanks!

For other Linux distributors following along, here's my message to distutils-sig:

http://mail.python.org/pipermail/distutils-sig/2013-July/022001.html

-Toshio -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20130725/aebd5ae7/attachment.pgp>



More information about the Python-Dev mailing list