maketool 0.8.22__py3-none-any.whl → 0.8.24__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- maketool/compile.py +1 -0
- maketool/sublime.py +24 -0
- {maketool-0.8.22.dist-info → maketool-0.8.24.dist-info}/METADATA +1 -1
- maketool-0.8.24.dist-info/RECORD +12 -0
- maketool-0.8.22.dist-info/RECORD +0 -12
- {maketool-0.8.22.dist-info → maketool-0.8.24.dist-info}/WHEEL +0 -0
- {maketool-0.8.22.dist-info → maketool-0.8.24.dist-info}/entry_points.txt +0 -0
- {maketool-0.8.22.dist-info → maketool-0.8.24.dist-info}/top_level.txt +0 -0
maketool/compile.py
CHANGED
|
@@ -179,6 +179,7 @@ def main():
|
|
|
179
179
|
#-------------------------------------------------------------------
|
|
180
180
|
|
|
181
181
|
version_file = os.path.join(pgm_path, f"{pgm_basename}_version.txt")
|
|
182
|
+
version_file = version_file.replace("\\", "/") # flip all backslashes to forward slashes
|
|
182
183
|
major, minor, patch, build = exe_version.split(".")
|
|
183
184
|
|
|
184
185
|
version_resource = f"""
|
maketool/sublime.py
CHANGED
|
@@ -161,6 +161,30 @@ def _upsert_keybindings(existing: list[dict], updates: list[dict]) -> list[dict]
|
|
|
161
161
|
out.append(upd)
|
|
162
162
|
return out
|
|
163
163
|
|
|
164
|
+
def _prune_maketool_bindings(existing: list[dict], maketool: list[dict]) -> list[dict]:
|
|
165
|
+
"""
|
|
166
|
+
Remove existing bindings that represent the same maketool intent
|
|
167
|
+
(command + args.variant), regardless of key.
|
|
168
|
+
"""
|
|
169
|
+
def intent(item: dict) -> tuple:
|
|
170
|
+
return (
|
|
171
|
+
item.get("command"),
|
|
172
|
+
(item.get("args") or {}).get("variant")
|
|
173
|
+
)
|
|
174
|
+
|
|
175
|
+
maketool_intents = {intent(m) for m in maketool}
|
|
176
|
+
|
|
177
|
+
out = []
|
|
178
|
+
for item in existing:
|
|
179
|
+
if not isinstance(item, dict):
|
|
180
|
+
out.append(item)
|
|
181
|
+
continue
|
|
182
|
+
if intent(item) in maketool_intents:
|
|
183
|
+
continue
|
|
184
|
+
out.append(item)
|
|
185
|
+
|
|
186
|
+
return out
|
|
187
|
+
|
|
164
188
|
|
|
165
189
|
def process(user_packages_dir: str) -> None:
|
|
166
190
|
os.makedirs(user_packages_dir, exist_ok=True)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
maketool/__init__.py,sha256=in3uaJRClTGaMIQ6sg725m8so86U7gBr1QfCErxuLAk,172
|
|
2
|
+
maketool/build.py,sha256=-x45Nq-FZyemyAmh1gZlZ0c_JcSUePsbViLCeZezb4o,3921
|
|
3
|
+
maketool/clean.py,sha256=pJYb-kt23_HaOrckv8Kft09HKl9m4_Lt1Tf15HQCmvE,3245
|
|
4
|
+
maketool/compile.py,sha256=_qnl_6bNm8sipJH5bteNfsGV4D4ijFwtbRSv4bvFTPU,14592
|
|
5
|
+
maketool/refscan.py,sha256=zQugRIBbGvhiK2vF_Ye3EaPQv0G0u0DGeik-UdWdFF8,9941
|
|
6
|
+
maketool/run.py,sha256=UO6O7IaSl8XBqPEsC0CaTt65Or0m3_wQFvWZUnY4J00,2399
|
|
7
|
+
maketool/sublime.py,sha256=C5RfFk9-Xa2Ewad8yypsCsBKcAowoki96RFLISZW-DY,9886
|
|
8
|
+
maketool-0.8.24.dist-info/METADATA,sha256=n9lx2PEwJCUT6zV6P1G0gOq_4qgdBgyhauAnbYkBeQs,4845
|
|
9
|
+
maketool-0.8.24.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
10
|
+
maketool-0.8.24.dist-info/entry_points.txt,sha256=hYswW0t7b9YacCLg0-4zAI1CKKjeOH1LJfi34Z8lAPc,248
|
|
11
|
+
maketool-0.8.24.dist-info/top_level.txt,sha256=e7JbT3AdVc2AJstJ1xW1hcwhwfFQ6U8QRdFzaFQe6sQ,9
|
|
12
|
+
maketool-0.8.24.dist-info/RECORD,,
|
maketool-0.8.22.dist-info/RECORD
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
maketool/__init__.py,sha256=in3uaJRClTGaMIQ6sg725m8so86U7gBr1QfCErxuLAk,172
|
|
2
|
-
maketool/build.py,sha256=-x45Nq-FZyemyAmh1gZlZ0c_JcSUePsbViLCeZezb4o,3921
|
|
3
|
-
maketool/clean.py,sha256=pJYb-kt23_HaOrckv8Kft09HKl9m4_Lt1Tf15HQCmvE,3245
|
|
4
|
-
maketool/compile.py,sha256=n1mzoyU5hlOjHVn2ytCsZVEvN6hta8-VHyR25UGc1CQ,14496
|
|
5
|
-
maketool/refscan.py,sha256=zQugRIBbGvhiK2vF_Ye3EaPQv0G0u0DGeik-UdWdFF8,9941
|
|
6
|
-
maketool/run.py,sha256=UO6O7IaSl8XBqPEsC0CaTt65Or0m3_wQFvWZUnY4J00,2399
|
|
7
|
-
maketool/sublime.py,sha256=5XaqABW12EOqjQhkqAQmWPKLvkatUYZIJT5wUXG0Qws,9224
|
|
8
|
-
maketool-0.8.22.dist-info/METADATA,sha256=proqV63QIEyIgAICGfgh6gPT5cehcOAeFaYMQGaPryE,4845
|
|
9
|
-
maketool-0.8.22.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
10
|
-
maketool-0.8.22.dist-info/entry_points.txt,sha256=hYswW0t7b9YacCLg0-4zAI1CKKjeOH1LJfi34Z8lAPc,248
|
|
11
|
-
maketool-0.8.22.dist-info/top_level.txt,sha256=e7JbT3AdVc2AJstJ1xW1hcwhwfFQ6U8QRdFzaFQe6sQ,9
|
|
12
|
-
maketool-0.8.22.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|