changeset 45303:f55c47f41b8e

templates: add __init__.py files to templates/ dirs This is necessary for them to be loaded with `importlib.resources`, which we want to do for PyOxidizer and similar. `importlib.resources` cannot read resources from submodules (`resources.open_binary('mercurial.templates', 'coal/map')` is not valid), so we need one `__init__.py` per directory. Differential Revision: https://phab.mercurial-scm.org/D8854
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 12 Dec 2019 12:41:01 -0800
parents fa18b02df8dd
children 41ff8a463e10
files mercurial/templates/__init__.py mercurial/templates/atom/__init__.py mercurial/templates/coal/__init__.py mercurial/templates/gitweb/__init__.py mercurial/templates/json/__init__.py mercurial/templates/monoblue/__init__.py mercurial/templates/paper/__init__.py mercurial/templates/raw/__init__.py mercurial/templates/rss/__init__.py mercurial/templates/spartan/__init__.py mercurial/templates/static/__init__.py
diffstat 0 files changed, 0 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff