[RTEMS Project] #4037: Python script distribution standardisation

RTEMS trac trac at rtems.org
Mon Aug 3 07:16:27 UTC 2020


#4037: Python script distribution standardisation
-------------------------+---------------------
 Reporter:  Chris Johns  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:  6.1
Component:  admin        |     Version:  6
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+---------------------

Comment (by Sebastian Huber):

 openSUSE 15.2 installs Python 3 by default and Python 2 is **not**
 available by default. There is no "python" command by default, only
 "python3".

 I think we should ask the waf community how they want to deal with this.

 About a year ago I started a discussion about "Which Python version for
 new tool code?". It seems RHEL 7 was the only relevant distribution not
 providing a Python 3, but this changed during the discussion:

 https://lists.rtems.org/pipermail/devel/2019-August/055010.html

 CentOS 7.7 ships it also. Is there anything left which doesn't ship Python
 3? If not, then why don't we change the shebang to `#!/usr/bin/env
 python3`?

--
Ticket URL: <http://devel.rtems.org/ticket/4037#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list