mirror of
https://github.com/aclist/dztui.git
synced 2026-08-28 10:47:15 +02:00
chore: update license concat script
This commit is contained in:
parent
abdfd2e995
commit
460b07a4c5
@ -13,11 +13,13 @@ This file includes the combined licenses to the following components:
|
||||
- PyGObject
|
||||
- python-a2s
|
||||
|
||||
which are collectively bundled as a turnkey application and used to run the DZGUI utility.\n\n
|
||||
When shipped as a binary installer, these components are collectively bundled
|
||||
as a turnkey application and used to run the DZGUI utility.\n\n
|
||||
"""
|
||||
DZGUI_HEADER = "DZGUI application"
|
||||
LICENSE_FILE = "LICENSE"
|
||||
|
||||
|
||||
class CombinedLicense:
|
||||
def __init__(self) -> None:
|
||||
self.text = BOILERPLATE
|
||||
@ -34,10 +36,11 @@ class CombinedLicense:
|
||||
def get_text(self) -> str:
|
||||
return self.text
|
||||
|
||||
|
||||
def concat_license() -> str:
|
||||
combined = CombinedLicense()
|
||||
root = Path(__file__).resolve().parents[1]
|
||||
licenses = root.joinpath("licenses")
|
||||
licenses = root.joinpath("docs/licenses")
|
||||
|
||||
main_license = root.joinpath(LICENSE_FILE)
|
||||
combined.add_header(DZGUI_HEADER)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user