Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/copier_templates_extensions/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"""Deprecated. Import from `copier-template-extensions` instead."""

# YORE: Bump 1: Remove file.

import warnings

from copier_template_extensions import ContextHook, TemplateExtensionLoader

__all__: list[str] = ["ContextHook", "TemplateExtensionLoader"]

warnings.warn(
"`copier-templates-extensions` is renamed `copier-template-extensions`. "
"Please use the new name, and replace every occurrence of "
"`copier-templates-extensions` and `copier_templates_extensions` in your template with "
"`copier-template-extensions` and `copier_template_extensions` respectively.",
DeprecationWarning,
stacklevel=2,
)
Loading