objutils 0.7.2__tar.gz → 0.7.3__tar.gz

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.
Files changed (78) hide show
  1. {objutils-0.7.2 → objutils-0.7.3}/PKG-INFO +1 -1
  2. {objutils-0.7.2 → objutils-0.7.3}/objutils/__init__.py +1 -1
  3. {objutils-0.7.2 → objutils-0.7.3}/objutils/utils/arduino.py +10 -2
  4. {objutils-0.7.2 → objutils-0.7.3}/objutils/version.py +1 -1
  5. {objutils-0.7.2 → objutils-0.7.3}/pyproject.toml +2 -2
  6. {objutils-0.7.2 → objutils-0.7.3}/LICENSE +0 -0
  7. {objutils-0.7.2 → objutils-0.7.3}/build_ext.py +0 -0
  8. {objutils-0.7.2 → objutils-0.7.3}/docs/README.rst +0 -0
  9. {objutils-0.7.2 → objutils-0.7.3}/objutils/.coveragerc +0 -0
  10. {objutils-0.7.2 → objutils-0.7.3}/objutils/ash.py +0 -0
  11. {objutils-0.7.2 → objutils-0.7.3}/objutils/binfile.py +0 -0
  12. {objutils-0.7.2 → objutils-0.7.3}/objutils/checksums.py +0 -0
  13. {objutils-0.7.2 → objutils-0.7.3}/objutils/cosmac.py +0 -0
  14. {objutils-0.7.2 → objutils-0.7.3}/objutils/dwarf/__init__.py +0 -0
  15. {objutils-0.7.2 → objutils-0.7.3}/objutils/dwarf/constants.py +0 -0
  16. {objutils-0.7.2 → objutils-0.7.3}/objutils/dwarf/encoding.py +0 -0
  17. {objutils-0.7.2 → objutils-0.7.3}/objutils/dwarf/lineprog.py +0 -0
  18. {objutils-0.7.2 → objutils-0.7.3}/objutils/dwarf/sm.py +0 -0
  19. {objutils-0.7.2 → objutils-0.7.3}/objutils/elf/__init__.py +0 -0
  20. {objutils-0.7.2 → objutils-0.7.3}/objutils/elf/arm/__init__.py +0 -0
  21. {objutils-0.7.2 → objutils-0.7.3}/objutils/elf/arm/attributes.py +0 -0
  22. {objutils-0.7.2 → objutils-0.7.3}/objutils/elf/defs.py +0 -0
  23. {objutils-0.7.2 → objutils-0.7.3}/objutils/elf/model.py +0 -0
  24. {objutils-0.7.2 → objutils-0.7.3}/objutils/emon52.py +0 -0
  25. {objutils-0.7.2 → objutils-0.7.3}/objutils/etek.py +0 -0
  26. {objutils-0.7.2 → objutils-0.7.3}/objutils/exceptions.py +0 -0
  27. {objutils-0.7.2 → objutils-0.7.3}/objutils/extensions/__init__.py +0 -0
  28. {objutils-0.7.2 → objutils-0.7.3}/objutils/extensions/ctre.hpp +0 -0
  29. {objutils-0.7.2 → objutils-0.7.3}/objutils/extensions/difflib.h +0 -0
  30. {objutils-0.7.2 → objutils-0.7.3}/objutils/extensions/exceptions.cpp +0 -0
  31. {objutils-0.7.2 → objutils-0.7.3}/objutils/extensions/exceptions.hpp +0 -0
  32. {objutils-0.7.2 → objutils-0.7.3}/objutils/extensions/wrapper.cpp +0 -0
  33. {objutils-0.7.2 → objutils-0.7.3}/objutils/fpc.py +0 -0
  34. {objutils-0.7.2 → objutils-0.7.3}/objutils/hexdump.py +0 -0
  35. {objutils-0.7.2 → objutils-0.7.3}/objutils/hexfile.py +0 -0
  36. {objutils-0.7.2 → objutils-0.7.3}/objutils/ieee695.py +0 -0
  37. {objutils-0.7.2 → objutils-0.7.3}/objutils/ihex.py +0 -0
  38. {objutils-0.7.2 → objutils-0.7.3}/objutils/image.py +0 -0
  39. {objutils-0.7.2 → objutils-0.7.3}/objutils/logger.py +0 -0
  40. {objutils-0.7.2 → objutils-0.7.3}/objutils/mostec.py +0 -0
  41. {objutils-0.7.2 → objutils-0.7.3}/objutils/pickleif.py +0 -0
  42. {objutils-0.7.2 → objutils-0.7.3}/objutils/rca.py +0 -0
  43. {objutils-0.7.2 → objutils-0.7.3}/objutils/readers.py +0 -0
  44. {objutils-0.7.2 → objutils-0.7.3}/objutils/registry.py +0 -0
  45. {objutils-0.7.2 → objutils-0.7.3}/objutils/scripts/oj_elf_arm_attrs.py +0 -0
  46. {objutils-0.7.2 → objutils-0.7.3}/objutils/scripts/oj_elf_extract.py +0 -0
  47. {objutils-0.7.2 → objutils-0.7.3}/objutils/scripts/oj_elf_info.py +0 -0
  48. {objutils-0.7.2 → objutils-0.7.3}/objutils/scripts/oj_elf_syms.py +0 -0
  49. {objutils-0.7.2 → objutils-0.7.3}/objutils/scripts/oj_hex_info.py +0 -0
  50. {objutils-0.7.2 → objutils-0.7.3}/objutils/section.py +0 -0
  51. {objutils-0.7.2 → objutils-0.7.3}/objutils/shf.py +0 -0
  52. {objutils-0.7.2 → objutils-0.7.3}/objutils/sig.py +0 -0
  53. {objutils-0.7.2 → objutils-0.7.3}/objutils/srec.py +0 -0
  54. {objutils-0.7.2 → objutils-0.7.3}/objutils/tek.py +0 -0
  55. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/__init__.py +0 -0
  56. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_arm_attributes.py +0 -0
  57. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_ash.py +0 -0
  58. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_checksums.py +0 -0
  59. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_cygpath.py +0 -0
  60. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_diff_bin.py +0 -0
  61. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_emon52.py +0 -0
  62. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_fpc.py +0 -0
  63. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_hexdump.py +0 -0
  64. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_hexfile.py +0 -0
  65. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_ihex.py +0 -0
  66. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_image.py +0 -0
  67. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_mostec.py +0 -0
  68. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_readers.py +0 -0
  69. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_registry.py +0 -0
  70. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_repr.py +0 -0
  71. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_section.py +0 -0
  72. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_shf.py +0 -0
  73. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_srec.py +0 -0
  74. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_tek.py +0 -0
  75. {objutils-0.7.2 → objutils-0.7.3}/objutils/tests/test_titext.py +0 -0
  76. {objutils-0.7.2 → objutils-0.7.3}/objutils/titxt.py +0 -0
  77. {objutils-0.7.2 → objutils-0.7.3}/objutils/utils/__init__.py +0 -0
  78. {objutils-0.7.2 → objutils-0.7.3}/objutils/utils/diff.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: objutils
3
- Version: 0.7.2
3
+ Version: 0.7.3
4
4
  Summary: Objectfile library for Python
5
5
  License: GPLv2
6
6
  Keywords: hex files,intel hex,s19,srec,srecords,object files,map files,embedded,microcontroller,ECU,shf,rfc4194
@@ -13,7 +13,7 @@ Registers CODECS and implements an interface to them.
13
13
  The first parameter is always the codec name.
14
14
  """
15
15
 
16
- __version__ = "0.7.2"
16
+ __version__ = "0.7.3"
17
17
 
18
18
  __copyright__ = """
19
19
  objutils - Object file library for Python.
@@ -39,13 +39,21 @@ def build_artifacts(sketch_name: str) -> Path:
39
39
  return result
40
40
 
41
41
 
42
- if __name__ == "__main__":
42
+ def main():
43
43
  import sys
44
44
 
45
45
  if len(sys.argv) != 2:
46
46
  print("usage: arduino-build-artifacts <sketch-name>")
47
47
  sys.exit(1)
48
- artifacts = build_artifacts(sys.argv[1])
48
+ try:
49
+ artifacts = build_artifacts(sys.argv[1])
50
+ except FileNotFoundError:
51
+ print(f"could not find sketch {sys.argv[1]!r}")
52
+ sys.exit(1)
49
53
  print()
50
54
  for name, value in artifacts.items():
51
55
  print(f"{name:9s}: {value}")
56
+
57
+
58
+ if __name__ == "__main__":
59
+ main()
@@ -1,3 +1,3 @@
1
1
  """ objutils version module """
2
2
 
3
- __version__ = "0.7.2"
3
+ __version__ = "0.7.3"
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "objutils"
3
- version = "0.7.2"
3
+ version = "0.7.3"
4
4
  description = "Objectfile library for Python"
5
5
  authors = ["Christoph Schueler <cpu12.gems@googlemail.com>"]
6
6
  license = "GPLv2"
@@ -71,7 +71,7 @@ numpy = "<=2.2.5"
71
71
  pre-commit = "^3.7.0"
72
72
  pytest = "^8.1.1"
73
73
  flake8-bugbear = "^24.4.21"
74
- mccabe = "^0.7.2"
74
+ mccabe = "^0.7.3"
75
75
  pycodestyle = "^2.11.1"
76
76
  pyflakes = "^3.2.0"
77
77
  ruff = "^0.4.1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes