circfirm 1.0.0__py3-none-any.whl → 1.0.1__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.
circfirm/backend.py CHANGED
@@ -127,8 +127,9 @@ def get_board_folder(board: str) -> pathlib.Path:
127
127
  def get_firmware_info(uf2_filename: str) -> Tuple[str, str]:
128
128
  """Get firmware info."""
129
129
  filename_parts = uf2_filename.split("-")
130
- language = filename_parts[-2]
131
- version = filename_parts[-1][:-4]
130
+ language = filename_parts[3]
131
+ version_extension = "-".join(filename_parts[4:])
132
+ version = version_extension[:-4]
132
133
  return version, language
133
134
 
134
135
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: circfirm
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: CLI tool for install firmware for CircuitPython boards
5
5
  Author-email: Alec Delaney <tekktrik@gmail.com>
6
6
  License: MIT
@@ -0,0 +1,10 @@
1
+ circfirm/__init__.py,sha256=c5spgXArUydQ9xwHyO-32mJS61okL3IgRXYUG1JFRO4,459
2
+ circfirm/backend.py,sha256=BZRAYDvu-xS7KlvRNdbTrjbwDCbb76xvc0Y5u1Z4HRE,5323
3
+ circfirm/cli.py,sha256=S2C8nJlY9dhY23TVDQgeJFXvPmgKFdOSRVUt3s4m-3k,4652
4
+ circfirm/startup.py,sha256=n3OI01SoOhvV-qzGbKis6YUaOiC5eV6zZ2MHfHgG59k,1514
5
+ circfirm-1.0.1.dist-info/LICENSE,sha256=6pPP6gJ00tqCkxg5gABHDwWUiXZ_mBzH94xxPOqwGj4,1069
6
+ circfirm-1.0.1.dist-info/METADATA,sha256=cho29ZeCk32ZpnEfeB_xwUPdQZCVhRQgvxIG1rVXIP8,3775
7
+ circfirm-1.0.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
8
+ circfirm-1.0.1.dist-info/entry_points.txt,sha256=33qZTmSuXz8dgi29yjSyb8VsEA8HyhWuhn2MNcjatGQ,46
9
+ circfirm-1.0.1.dist-info/top_level.txt,sha256=qA2407wap3My6jGA5uchH2JjUM7qn73oBPwALN7GR5k,9
10
+ circfirm-1.0.1.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- circfirm/__init__.py,sha256=c5spgXArUydQ9xwHyO-32mJS61okL3IgRXYUG1JFRO4,459
2
- circfirm/backend.py,sha256=MGG5NvqmRQnxnrGt5VzilNXkBIwO8cTcKoI-eeTXUro,5272
3
- circfirm/cli.py,sha256=S2C8nJlY9dhY23TVDQgeJFXvPmgKFdOSRVUt3s4m-3k,4652
4
- circfirm/startup.py,sha256=n3OI01SoOhvV-qzGbKis6YUaOiC5eV6zZ2MHfHgG59k,1514
5
- circfirm-1.0.0.dist-info/LICENSE,sha256=6pPP6gJ00tqCkxg5gABHDwWUiXZ_mBzH94xxPOqwGj4,1069
6
- circfirm-1.0.0.dist-info/METADATA,sha256=uWVnln34One1H9Aj_5Tk12UK9hO61ouvRdruWlYWunE,3775
7
- circfirm-1.0.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
8
- circfirm-1.0.0.dist-info/entry_points.txt,sha256=33qZTmSuXz8dgi29yjSyb8VsEA8HyhWuhn2MNcjatGQ,46
9
- circfirm-1.0.0.dist-info/top_level.txt,sha256=qA2407wap3My6jGA5uchH2JjUM7qn73oBPwALN7GR5k,9
10
- circfirm-1.0.0.dist-info/RECORD,,