mntm-asset-packer 1.1.3__py3-none-any.whl → 1.1.4__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.
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mntm-asset-packer
3
- Version: 1.1.3
3
+ Version: 1.1.4
4
4
  Summary: An improved asset packer script to make the process of creating and packing asset packs for the Momentum firmware easier.
5
5
  Author-email: notnotnescap <nescap@tuta.io>
6
- Requires-Python: >=3.11
7
- Requires-Dist: heatshrink2>=0.13.0
8
- Requires-Dist: pillow>=11.2.1
6
+ Requires-Python: >=3.10
7
+ Requires-Dist: heatshrink2>=0.1.0
8
+ Requires-Dist: pillow>=3.4.0
9
9
  Description-Content-Type: text/markdown
10
10
 
11
11
  # mntm-asset-packer
@@ -66,6 +66,9 @@ If you run the script directly, replace `mntm-asset-packer` with `python3 mntm_a
66
66
  `mntm-asset-packer help`
67
67
  : Displays a detailed help message with all available commands.
68
68
 
69
+ `mntm-asset-packer --version`
70
+ : Displays the version of the asset packer.
71
+
69
72
  `mntm-asset-packer create <Asset Pack Name>`
70
73
  : Creates a directory with the correct file structure to start a new asset pack.
71
74
 
@@ -0,0 +1,5 @@
1
+ mntm_asset_packer.py,sha256=DXDRcpg_Q37bhSaZx4Umla6j8v_JTUzbg-1GRdaApyA,27005
2
+ mntm_asset_packer-1.1.4.dist-info/METADATA,sha256=-DwKWOaSz7RNG1ZoXZQZzyOAq78E0JSdGm8t4TRB558,3694
3
+ mntm_asset_packer-1.1.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4
+ mntm_asset_packer-1.1.4.dist-info/entry_points.txt,sha256=CF05qVMVPPNhTroKeH_kkKqVgG-mJ-Q0mSAZHpfxkr0,61
5
+ mntm_asset_packer-1.1.4.dist-info/RECORD,,
mntm_asset_packer.py CHANGED
@@ -29,6 +29,9 @@ Usage :
29
29
  \033[32mmntm-asset-packer \033[0;33;1mhelp\033[0m
30
30
  \033[3mDisplays this message
31
31
  \033[0m
32
+ \033[32mmntm-asset-packer \033[0;33;1m--version\033[0m
33
+ \033[3mDisplays the version of the asset packer
34
+ \033[0m
32
35
  \033[32mmntm-asset-packer \033[0;33;1mcreate <Asset Pack Name>\033[0m
33
36
  \033[3mCreates a directory with the correct file structure that can be used to prepare for the packing process.
34
37
  \033[0m
@@ -655,7 +658,7 @@ def main() -> None:
655
658
  """Main function."""
656
659
  if len(sys.argv) <= 1:
657
660
  # If no arguments are provided, pack all
658
- here = pathlib.Path(__file__).absolute().parent
661
+ here = pathlib.Path.cwd()
659
662
  start = time.perf_counter()
660
663
  pack_all_asset_packs(here, here / "asset_packs", logger=print)
661
664
  end = time.perf_counter()
@@ -679,7 +682,7 @@ def main() -> None:
679
682
 
680
683
  case "pack":
681
684
  if len(sys.argv) == 3:
682
- here = pathlib.Path(__file__).absolute().parent
685
+ here = pathlib.Path.cwd()
683
686
  start = time.perf_counter()
684
687
 
685
688
  if sys.argv[2] == "all":
@@ -702,7 +705,7 @@ def main() -> None:
702
705
 
703
706
  case "recover":
704
707
  if len(sys.argv) == 3:
705
- here = pathlib.Path(__file__).absolute().parent
708
+ here = pathlib.Path.cwd()
706
709
  start = time.perf_counter()
707
710
 
708
711
  if sys.argv[2] == "all":
@@ -1,5 +0,0 @@
1
- mntm_asset_packer.py,sha256=0wSoBAX9JRgwnWrEiMls6_YMpoJv1v-LPF4YPNXlIdg,26940
2
- mntm_asset_packer-1.1.3.dist-info/METADATA,sha256=OZTt7_-bEkH9Pd17zQqRV6SnjbX80MzMaEQaPzyjT6E,3621
3
- mntm_asset_packer-1.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4
- mntm_asset_packer-1.1.3.dist-info/entry_points.txt,sha256=CF05qVMVPPNhTroKeH_kkKqVgG-mJ-Q0mSAZHpfxkr0,61
5
- mntm_asset_packer-1.1.3.dist-info/RECORD,,