Go to file
David Brown 8405ce13a1 scripts: Explicitly call out python2
At least one Linux distribution (Arch) has made python 3 the default
interpreter, and Debian and Ubuntu have expressed a desire to eventually
make this the case.  As such, invoking 'python' or '/usr/bin/python'
will possibly run python 3 instead of version 2.

Distributions have included a 'python2' link for quite some time now,
and given that we have some scripts that require python 3, we should be
explicit about those that require python 2.

In addition, be more consistent about how python is invoked, preferring
the:

  #!/usr/bin/env python2

construct rather than a hardcoded path to python.  This allows the user
to have an alternative python in their path that will be used in
preference to the system provided version.

Jira: ZEP-1548
Change-Id: I125c2af808dc268f74277bc97a092df3acad23c0
Signed-off-by: David Brown <david.brown@linaro.org>
2017-01-12 10:28:02 -07:00
.known-issues
arch
boards boards: arm: v2m_beetle: Add documentation. 2017-01-11 21:40:40 -05:00
doc shell: rename command 'set_module' to 'select' 2017-01-11 19:20:57 +00:00
drivers
ext
include util.h: Add IS_ENABLED() macro for expression-legal ifdef-checking 2017-01-11 23:32:32 +00:00
kernel kernel: have boot banner depend on console existing 2017-01-12 01:00:14 +00:00
lib
misc
samples shell: add stacks command 2017-01-11 20:47:10 +00:00
scripts scripts: Explicitly call out python2 2017-01-12 10:28:02 -07:00
subsys shell: add stacks command 2017-01-11 20:47:10 +00:00
tests tests: Add PWM driver api test 2017-01-12 15:54:16 +00:00
.checkpatch.conf
.gitattributes
.gitignore
.gitreview
.mailmap
defaults.tc
index.rst
Kbuild
Kconfig
Kconfig.zephyr
LICENSE
MAINTAINERS
Makefile
Makefile.inc
Makefile.test
zephyr-env.sh