diff --git a/binding/generator/autocxxpy/generator.py b/binding/generator/autocxxpy/generator.py index 0a6977f5..0698e3a3 100644 --- a/binding/generator/autocxxpy/generator.py +++ b/binding/generator/autocxxpy/generator.py @@ -207,7 +207,7 @@ class Generator: hint_code += enum_code self._save_template( - template_filename="hint.py", + template_filename="hint.py.in", output_filename=f"{self.options.module_name}.pyi", hint_code=hint_code ) diff --git a/binding/generator/templates/hint.py b/binding/generator/templates/hint.py.in similarity index 100% rename from binding/generator/templates/hint.py rename to binding/generator/templates/hint.py.in