mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 13:07:53 +00:00
The version string in the `__init__` module is needed to support towncrier, but that does mean there are now two locations for the project version: pyproject.toml and the `__init__.py` file. Use `importlib.metadata` to pull the version from the installation metadata.
1 line
90 B
Markdown
1 line
90 B
Markdown
Use `importlib.metadata` to include project version string as `fastapi_cache.__version__`. |