[RTEMS Project] #4037: Python script distribution standardisation
RTEMS trac
trac at rtems.org
Wed Aug 5 08:23:09 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 Chris Johns):
I have re-read PEP 394 and I am starting to think we should document and
provide support for our users to run virtual environments. This is a
recommendation in the PEP and I think it makes sense. As stated previously
we need to support Python2 and Python3 for a period of time. Users
restricted to Python2 should have a `python` command or they should have a
`virtualenv` package for Python2. Python3 users should be on `python3.6`
or later and that has the `venv` module which gives them a `python`
command.
I feel hard coding the version of python into the shebang restricts us and
only creates further issues. Getting our users educated to use a virtual
environment will pay off in the long term.
--
Ticket URL: <http://devel.rtems.org/ticket/4037#comment:8>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list