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.
Signed-off-by: Doug Hellmann <email@example.com>
argparse is not required for Python 2.7 and 3.4 (which are the only
Python versions explicitely supported in setup.py)
removing the unnecessary argparse dependency to allow package to be
properly packaged on Debian/Ubuntu systems.
We use pbr to install stevedore, and because of the way setuptools deals
with install-time requirements we also need to include it as a runtime
dependency to ensure it is installed by pip and not easy_install.