release: v1.8.1 - single-source version, batch backtest detail output

- Consolidate version to pyproject.toml as single source of truth
- __init__.py, cli/__init__.py, docs/conf.py all read dynamically
- run_all_strategies.py now shows best strategy full trade details
- Update README changelog for 1.8.1

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
GitHub
2026-06-09 22:12:27 +08:00
co-authored by Claude Opus 4.8
parent b5b5d0dc5b
commit b44636207b
7 changed files with 71 additions and 5 deletions
+9 -1
View File
@@ -3,8 +3,16 @@ project = "easy-tdx"
copyright = "2025, Justin Gu"
author = "Justin Gu"
# The full version, including alpha/beta/rc tags
release = "1.8.0"
# Read from package metadata to keep single source of truth (pyproject.toml)
def _get_version() -> str:
from importlib.metadata import version
return version("easy-tdx")
release = _get_version()
# -- Extensions ---------------------------------------------------------------
extensions = [