[mythtv-commits] Ticket #13505: Rewrite python shebangs during 'make install' step
MythTV
noreply at mythtv.org
Fri Jan 3 17:04:46 UTC 2020
#13505: Rewrite python shebangs during 'make install' step
-------------------------------+-----------------------------
Reporter: rcrdnalor | Owner: Bill Meek
Type: Patch - Feature | Status: accepted
Priority: minor | Milestone: 31.0
Component: Bindings - Python | Version: Master Head
Severity: medium | Resolution:
Keywords: python shebang | Ticket locked: 0
-------------------------------+-----------------------------
Comment (by rcrdnalor):
@Gary Buhrmaster:
Thank You for looking at this ticket and creating a patch!
I tested your patch (program-scripts-python-shebang-fixup.patch)
with a clean setup of Ubuntu 19.10 (only python3 available).
I confirm that the following python files have the correct shebang
(#!/usr/bin/python3) and the executable flag set after a `make install`
step
of todays master (v31-Pre-1659-g1d4d51b0d9) with the patch applied
(program-scripts-python-shebang-fixup.patch):
{{{
/usr/local/share/mythtv/metadata/Movie/tmdb3.py
/usr/local/share/mythtv/metadata/Television/ttvdb.py
/usr/local/share/mythtv/metadata/Music/mbutils.py
/usr/local/share/mythtv/hardwareprofile/deleteProfile.py
/usr/local/share/mythtv/hardwareprofile/sendProfile.py
}}}
Note: All above scripts are called directly from various mythtv programs,
therefore, they need the correct shebangs ant the exe flag set.
These python scripts are now compliant to the scripts installed by the
Python Bindings:
{{{
/usr/local/bin/mythpython
/usr/local/bin/mythwikiscripts
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13505#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list