data/usr/bin/pkgkde-getqmldepends
Modifies module search path (sys.path)Python module-level function call
SHA-256ae57508b2d0d98f8fa1fee9b9e6d58b1c88f6466ae363ba31d652fa5529dd9c7
MaleculeH₂(DbOs)
Evidence
⋯4 lines
5"""
6Gives a list of Debian qml packages that are needed as dependency.
7This script should become a dh_helper script.
8
9The needed qml packages need to be installed on the system, otherwise the
10dependency is not detected and you will see:
11
12Missing QML module XXX
13
14The arguments are the arguments for qmlimportscanner.
15
16Sample execution:
⋯5 lines
22import pathlib
23
24sys.path.insert(0,'/usr/share/pkg-kde-tools')
25parent = str(pathlib.Path(__file__).parent.absolute())
26if parent not in ("/usr/bin", "/bin"):
⋯6 lines