Install the package for the readthedocs build (#1853)
Some checks failed
CI / Perform Lint Checks (3.15) (push) Has been cancelled
CodeQL Checks / Analyze (python) (push) Has been cancelled
CI / Python 3.11 on macos-latest (push) Has been cancelled
CI / Python 3.12 on macos-latest (push) Has been cancelled
CI / Python 3.13 on macos-latest (push) Has been cancelled
CI / Python 3.14 on macos-latest (push) Has been cancelled
CI / Python 3.15 on macos-latest (push) Has been cancelled
CI / Python 3.11 on ubuntu-latest (push) Has been cancelled
CI / Python 3.12 on ubuntu-latest (push) Has been cancelled
CI / Python 3.13 on ubuntu-latest (push) Has been cancelled
CI / Python 3.14 on ubuntu-latest (push) Has been cancelled
CI / Python 3.15 on ubuntu-latest (push) Has been cancelled
CI / Python 3.11 on windows-latest (push) Has been cancelled
CI / Python 3.12 on windows-latest (push) Has been cancelled
CI / Python 3.13 on windows-latest (push) Has been cancelled
CI / Python 3.14 on windows-latest (push) Has been cancelled
CI / Python 3.15 on windows-latest (push) Has been cancelled
Stale / stale (push) Has been cancelled

This commit is contained in:
Zedas
2026-11-23 22:01:41 +01:00
committed by GitHub
parent 347ce1ba9b
commit fd81d62a1a
2 changed files with 5 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
#
import os
import sys
from importlib.metadata import version as package_version
sys.path.insert(0, os.path.abspath("..")) # Will find modules in the docs parent
@@ -21,6 +22,8 @@ sys.path.insert(0, os.path.abspath("..")) # Will find modules in the docs paren
project = "python-kasa"
copyright = "2020, python-kasa developers"
author = "python-kasa developers"
release = package_version("python-kasa")
version = release
# -- General configuration ---------------------------------------------------