[OE-core] [PATCH] Use env in python-shebangs
Martin Hundebøll
martin at hundeboll.net
Fri Oct 31 10:17:01 UTC 2014
To make fake env or virtualenv possible, make sure python scripts use
"#!/usr/bin/env python" as shebang.
Comments to previous patches/rfcs rejected the idea of either explicit
use of python2 in the env-shebang or a python2-symlink in the bitbake
environment, so this is dropped.
Still we would like to make the lifes easier for those unfortunate souls
that live in a python3-first world/distro :)
Thanks for the previous comments!
Martin Hundebøll (1):
scripts: use '/usr/bin/env' in shebangs with python
bitbake/lib/progressbar.py | 2 +-
scripts/lib/wic/conf.py | 2 +-
scripts/lib/wic/creator.py | 2 +-
scripts/lib/wic/imager/baseimager.py | 2 +-
scripts/lib/wic/kickstart/__init__.py | 2 +-
scripts/lib/wic/kickstart/custom_commands/micboot.py | 2 +-
scripts/lib/wic/kickstart/custom_commands/micpartition.py | 2 +-
scripts/lib/wic/msger.py | 2 +-
scripts/lib/wic/plugin.py | 2 +-
scripts/lib/wic/pluginbase.py | 2 +-
scripts/lib/wic/utils/errors.py | 2 +-
scripts/lib/wic/utils/fs_related.py | 2 +-
scripts/lib/wic/utils/misc.py | 2 +-
scripts/lib/wic/utils/partitionedfs.py | 2 +-
scripts/lib/wic/utils/runner.py | 2 +-
scripts/pybootchartgui/pybootchartgui.py | 2 +-
16 files changed, 16 insertions(+), 16 deletions(-)
--
2.1.3
More information about the Openembedded-core
mailing list