Skip to content

Commit

Permalink
Merge pull request #294 from dsully/patch-1
Browse files Browse the repository at this point in the history
Remove usage of pkg_resources, which has huge import overhead.
  • Loading branch information
jaraco authored Jan 29, 2018
2 parents 9062314 + 468e824 commit ba7dc51
Showing 1 changed file with 0 additions and 6 deletions.
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

0 comments on commit ba7dc51

Please sign in to comment.