mntm-asset-packer 1.1.4__py3-none-any.whl → 1.1.5__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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mntm-asset-packer
3
- Version: 1.1.4
3
+ Version: 1.1.5
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
6
  Requires-Python: >=3.10
@@ -0,0 +1,5 @@
1
+ mntm_asset_packer.py,sha256=TvZctZblwOZFfMx95ScAtvm4aAPcZpA_o7o51M8yAFE,27208
2
+ mntm_asset_packer-1.1.5.dist-info/METADATA,sha256=wwsj-E7PtJkCPiiDlUpWkaNHPSza2ftAgOIJcVBAuXE,3694
3
+ mntm_asset_packer-1.1.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4
+ mntm_asset_packer-1.1.5.dist-info/entry_points.txt,sha256=CF05qVMVPPNhTroKeH_kkKqVgG-mJ-Q0mSAZHpfxkr0,61
5
+ mntm_asset_packer-1.1.5.dist-info/RECORD,,
mntm_asset_packer.py CHANGED
@@ -84,7 +84,13 @@ Active cooldown: 0
84
84
  Bubble slots: 0
85
85
  """
86
86
 
87
- VERSION = importlib.metadata.version("mntm-asset-packer")
87
+
88
+ try:
89
+ VERSION = importlib.metadata.version("mntm-asset-packer")
90
+ except importlib.metadata.PackageNotFoundError:
91
+ VERSION = "1.1.5 (standalone mode)"
92
+ # this means the script is being used directly with python
93
+ # instead of using the python package
88
94
 
89
95
 
90
96
  def convert_to_bm(img: "Image.Image | pathlib.Path") -> bytes:
@@ -1,5 +0,0 @@
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,,