Added the VERSION constant to the accounting module for the package version, and revised pyproject.toml and conf.py to read the version from it.

This commit is contained in:
2023-04-23 18:35:03 +08:00
parent 5f75d93c6a
commit 5815608288
3 changed files with 8 additions and 2 deletions

View File

@ -24,6 +24,8 @@ from flask_sqlalchemy import SQLAlchemy
from accounting.utils.user import UserUtilityInterface
VERSION: str = "1.4.1"
"""The package version."""
db: SQLAlchemy = SQLAlchemy()
"""The database instance."""
data_dir: Path = Path(__file__).parent / "data"