mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-01 18:21:30 +08:00
- Bump version to 25.0.2 - Update copyright year to 2026 in LICENSE and NOTICE - Add license headers to all Python source files - Add changelog entry for 25.0.2
16 lines
508 B
Python
16 lines
508 B
Python
#
|
|
# This file is part of gunicorn released under the MIT license.
|
|
# See the NOTICE for more information.
|
|
|
|
from importlib import import_module
|
|
|
|
def define_env(env):
|
|
"""Register template variables for MkDocs macros."""
|
|
gunicorn = import_module("gunicorn")
|
|
env.variables.update(
|
|
release=gunicorn.__version__,
|
|
version=gunicorn.__version__,
|
|
github_repo="https://github.com/benoitc/gunicorn",
|
|
pypi_url=f"https://pypi.org/project/gunicorn/{gunicorn.__version__}/",
|
|
)
|