-
Leo P. Singer authored
Speed up imports by up to a second by replacing uses of `pkg_resources` with the new Python standard library module `importlib.resources` (or, for Python < 3.7, the backport `importlib_resources`). The old `pkg_resources` module is known to be slow because it does a lot of work on startup. See, for example, [pypa/setuptools#926](https://github.com/pypa/setuptools/issues/926) and [pypa/setuptools#510](https://github.com/pypa/setuptools/issues/510).
7dbec2d6
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading