python,python3: move shebang handle in install script
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 4 Feb 2019 14:36:25 +0000 (16:36 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Tue, 12 Feb 2019 10:31:55 +0000 (12:31 +0200)
commited862da9367a6f488a9afee78bfc99dbc9b6906a
tree3ff7c914ada009270814d63832a3a2475e44020b
parent1bf7679211425bb0f63f22ce00c700c7d84eb2d4
python,python3: move shebang handle in install script

This extends the Python[3] shebang fixup to all packages.
Only Python scripts in `/usr/bin` will be handled at the moment. Later it
may make sense to also cover executables in `/bin`, though typically Python
executables shouldn't be placed there.

Previously the shebang handling was only done for python[3]-pip &
python[3]-setuptools.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/python-package-install.sh
lang/python/python/files/python-package-pip.mk
lang/python/python/files/python-package-setuptools.mk
lang/python/python3/files/python3-package-pip.mk
lang/python/python3/files/python3-package-setuptools.mk