Remove usage of pkg_resources, which has huge import overhead.
@@ -4,12 +4,6 @@ from .core import (set_keyring, get_keyring, set_password, get_password,
delete_password)
from .getpassbackend import get_password as get_pass_get_password
-try:
- import pkg_resources
- __version__ = pkg_resources.get_distribution('keyring').version
-except Exception:
- __version__ = 'unknown'
-
__all__ = (
'set_keyring', 'get_keyring', 'set_password', 'get_password',
'delete_password', 'get_pass_get_password',
