From c77824e76895aae906dce77af2c70d9325f4db9f Mon Sep 17 00:00:00 2001 From: Adam <24621027+WhiteDopeOnPunk@users.noreply.github.com> Date: Mon, 19 Feb 2024 14:16:23 -0500 Subject: [PATCH] scratch out more stuff --- setup.py | 45 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 9 deletions(-) diff --git a/setup.py b/setup.py index 0654e4a..dd23da8 100644 --- a/setup.py +++ b/setup.py @@ -314,6 +314,11 @@ Manifest = [ name_arch="wal-telegram-git", group="extra", ), + Dependency( + name_arch="watchexec", + name_arch_arm="watchexec", + group="shell", + ), Dependency( name_arch="w3m", name_arch_arm="w3m", @@ -387,20 +392,42 @@ def dump_arch_arm(Manifest): print(data.name_arch_arm) +def dump_shell(Manifest): + print("Shell:") + for data in Manifest: + if data.group == "shell": + print(data.name_arch) + + print(sep) + + +def dump_gui(Manifest): + print("GUI:") + for data in Manifest: + if data.group == "gui": + print(data.name_arch) + + print(sep) + + +def dump_extra(Manifest): + print("Extra:") + for data in Manifest: + if data.group == "extra": + print(data.name_arch) + + print(sep) + + # test for base deps: git, yay, etc # test for package manager print(header) # dump_manifest(Manifest) -dump_arch(Manifest) +# dump_arch(Manifest) # dump_arch_arm(Manifest) +dump_shell(Manifest) +dump_gui(Manifest) +dump_extra(Manifest) subprocess.run(f"python --version", shell=True, check=True) - - -mystring = "" - -if not mystring: - print("no string") -else: - print(mystring)