d5297167e0
Load entry points using 'importlib.metadata' instead of 'pkg_resources'. Include a caching layer. The cache stores the parsed text data from all of the ini input files in a single JSON file with a name based on the hash of the path entries and the mtimes. This should produce a unique filename for each import path, regardless of the use of a virtualenv. The data is stored in a format that means no other files need to be examined or parsed in order to return EntryPoint objects. Change-Id: I8b08f289d446f4775eac1e1a91997fa96f25f641 Depends-On: Ic6db7af34c87a636bfe55bacae03c42154f4b9c7 Signed-off-by: Doug Hellmann <doug@doughellmann.com> |
||
---|---|---|
.. | ||
example | ||
example2 | ||
tests | ||
__init__.py | ||
_cache.py | ||
dispatch.py | ||
driver.py | ||
enabled.py | ||
exception.py | ||
extension.py | ||
hook.py | ||
named.py | ||
sphinxext.py |