Make SaraTag installable through SaraSuite.

This commit is contained in:
sarah committed 2026-10-08 19:06:24 +02:00
1 parent 845d6c6ee6
commit c0f3d4cbfa
6 files changed
+102 -7

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
# Kept in sync between SaraSuite/Programs/SaraTag/ and SaraTag/Packaging/SaraSuite/.
Name = "SaraTag"
Description = "Tag files with Books (sidecars) defined by Lexicons: browse, filter and sort by tag, edit tags on many files at once."
[Version]
File = "Core.py"
Pattern = 'AppVersion = "([^"]+)"'
[Source]
Git = "{GitHost}/SaraTag"
# .saratag/Core.py is the data library SaraFem and SaraView load too.
# SaraTagConf.toml is left out: SaraTag makes its own in {ConfigDir}.
Include = ["*.py", "requirements.txt", "assets/**", ".saratag/*.py"]
Exclude = ["Packaging"]
[Python]
RequirementsFile = "requirements.txt"
[[Templates]]
Source = "Location.toml"
Target = "{AppDir}/.saratag/Location.toml" # tells .saratag/Core.py where the data lives
[[Templates]]
Source = "Launch.sh"
Target = "{AppDir}/Packaging/Launch.sh"
Executable = true
[[Templates]]
Source = "SaraTag.desktop"
Target = "{ApplicationsDir}/SaraTag.desktop"
# Made by SaraTag itself. The Lexicons are your tag definitions: only tick
# "remove configs" if you don't need them any more.
[[Leftovers]]
Path = "{ConfigDir}"
Kind = "Config"
Note = "SaraTag's settings, Records, Libraries, history and Lexicons (Books next to your files are never touched)"