build: fixup #! lines for private helper scripts
commitb130523eef3e075c3e7522d0b6cc0c2c463e569d
authorDavid Aguilar <davvid@gmail.com>
Wed, 25 Sep 2019 08:35:54 +0000 (25 01:35 -0700)
committerDavid Aguilar <davvid@gmail.com>
Wed, 25 Sep 2019 08:54:47 +0000 (25 01:54 -0700)
treeee0add79fef25e291f189e5c40c4975ac2023e1c
parent7b9dc07427b7a58676fe3999318d9dd183d857e9
build: fixup #! lines for private helper scripts

Add distutils commands to handle fixing up the #! lines for our private
share/git-cola/bin scripts (specifically, git-xbase).

This ensures that the #! lines are updated for git-xbase when building
with alternate pythons.  Previously, this script would retain the
original `env python`, which may not be the same python as was used
during installation.

Related-to: #991
Signed-off-by: David Aguilar <davvid@gmail.com>
extras/__init__.py
extras/build_helpers.py [new file with mode: 0644]
extras/install_helpers.py [new file with mode: 0644]
setup.py
share/doc/git-cola/relnotes.rst