stevedore/stevedore
Doug Hellmann d5297167e0 switch to importlib.metadata package
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>
2020-07-06 08:39:52 -04:00
..
example Stop to use the __future__ module. 2020-06-03 10:34:57 +02:00
example2 update git.openstack.org to opendev 2019-04-25 01:07:11 +00:00
tests switch to importlib.metadata package 2020-07-06 08:39:52 -04:00
__init__.py Drop Python 2.7 support 2020-04-21 15:14:10 +01:00
_cache.py switch to importlib.metadata package 2020-07-06 08:39:52 -04:00
dispatch.py Add Apache 2.0 license to source file 2016-11-28 13:32:32 +07:00
driver.py Allow suppression of warnings from DriverManager 2017-01-09 10:25:47 -08:00
enabled.py Add Apache 2.0 license to source file 2016-11-28 13:32:32 +07:00
exception.py Add Apache 2.0 license to source file 2016-11-28 13:32:32 +07:00
extension.py switch to importlib.metadata package 2020-07-06 08:39:52 -04:00
hook.py Delete repeated param description. 2019-03-14 18:49:08 +08:00
named.py Add Apache 2.0 license to source file 2016-11-28 13:32:32 +07:00
sphinxext.py switch to importlib.metadata package 2020-07-06 08:39:52 -04:00