Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of pkg_resources, which has huge import overhead. #294

Merged
merged 1 commit into from
Jan 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions keyring/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
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',
Expand Down