hector-cli 0.2.0__tar.gz → 0.2.1__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 (34) hide show
  1. {hector_cli-0.2.0 → hector_cli-0.2.1}/PKG-INFO +1 -1
  2. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/core.py +1 -1
  3. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector_cli.egg-info/PKG-INFO +1 -1
  4. {hector_cli-0.2.0 → hector_cli-0.2.1}/setup.py +13 -1
  5. {hector_cli-0.2.0 → hector_cli-0.2.1}/LICENSE +0 -0
  6. {hector_cli-0.2.0 → hector_cli-0.2.1}/README.md +0 -0
  7. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/__init__.py +0 -0
  8. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/__main__.py +0 -0
  9. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/commands/__init__.py +0 -0
  10. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/commands/base.py +0 -0
  11. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/commands/export.py +0 -0
  12. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/commands/init.py +0 -0
  13. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/commands/run.py +0 -0
  14. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/commands/test.py +0 -0
  15. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/commands/validate.py +0 -0
  16. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/connections.py +0 -0
  17. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/dependencies.py +0 -0
  18. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/docker.py +0 -0
  19. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/generator.py +0 -0
  20. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/hubs.py +0 -0
  21. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/mappings.py +0 -0
  22. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/modules.py +0 -0
  23. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/peripherals.py +0 -0
  24. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/pipeline.py +0 -0
  25. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/reporters.py +0 -0
  26. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/runners.py +0 -0
  27. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/scaffold.py +0 -0
  28. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector/validator.py +0 -0
  29. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector_cli.egg-info/SOURCES.txt +0 -0
  30. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector_cli.egg-info/dependency_links.txt +0 -0
  31. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector_cli.egg-info/entry_points.txt +0 -0
  32. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector_cli.egg-info/requires.txt +0 -0
  33. {hector_cli-0.2.0 → hector_cli-0.2.1}/hector_cli.egg-info/top_level.txt +0 -0
  34. {hector_cli-0.2.0 → hector_cli-0.2.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hector-cli
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: YAML-driven Renode + Verilator simulation orchestrator for embedded hardware CI
5
5
  Home-page: https://hector-ci.com
6
6
  Author: Nemesis
@@ -66,7 +66,7 @@ class Registry:
66
66
  # ==========================================================================
67
67
  # CONSTANTS
68
68
  # ==========================================================================
69
- TOOL_VERSION = "0.1.0"
69
+ TOOL_VERSION = "0.2.1"
70
70
  SUPPORTED_SCHEMA_VERSIONS = {"0.1"}
71
71
 
72
72
  RENODE_REPO_URL = "https://github.com/renode/renode.git"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hector-cli
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: YAML-driven Renode + Verilator simulation orchestrator for embedded hardware CI
5
5
  Home-page: https://hector-ci.com
6
6
  Author: Nemesis
@@ -1,11 +1,23 @@
1
1
  # SPDX-License-Identifier: AGPL-3.0-or-later
2
2
  import os
3
+ import re
3
4
 
4
5
  from setuptools import setup, find_packages
5
6
 
6
7
  _HERE = os.path.abspath(os.path.dirname(__file__))
7
8
 
8
9
 
10
+ def _read_version():
11
+ # Single source of truth: hector/core.py's TOOL_VERSION. Read it textually
12
+ # (no import) so the build never needs the package's runtime deps installed.
13
+ with open(os.path.join(_HERE, "hector", "core.py")) as f:
14
+ for line in f:
15
+ m = re.match(r"""^TOOL_VERSION\s*=\s*["'](.+?)["']""", line)
16
+ if m:
17
+ return m.group(1)
18
+ raise RuntimeError("Could not find TOOL_VERSION in hector/core.py")
19
+
20
+
9
21
  def _read_readme():
10
22
  # README lives at the repo root (one level above this package dir); fall back
11
23
  # gracefully so the build never crashes if it's absent.
@@ -19,7 +31,7 @@ def _read_readme():
19
31
 
20
32
  setup(
21
33
  name="hector-cli",
22
- version="0.2.0",
34
+ version=_read_version(),
23
35
  description="YAML-driven Renode + Verilator simulation orchestrator for embedded hardware CI",
24
36
  long_description=_read_readme(),
25
37
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes