Suppose we have a local python module in the same directory as a mako template: ./my_template.mako ./my_module/module.py
How do I import that module into a Mako template that is supposed to be rendered from the command line using mako-render? The following does not work:
<%! import my_module.module %>
It seems that the local path is not part of the search path. However, putting each custom module into the global path is not an option.