diff --git a/isso/__init__.py b/isso/__init__.py index a59311d..da5e7a0 100644 --- a/isso/__init__.py +++ b/isso/__init__.py @@ -27,8 +27,7 @@ from __future__ import print_function -import pkg_resources -dist = pkg_resources.get_distribution("isso") +import isso as dist # check if exectuable is `isso` and gevent is available import sys diff --git a/isso/views/__init__.py b/isso/views/__init__.py index 0b995cd..0108b0d 100644 --- a/isso/views/__init__.py +++ b/isso/views/__init__.py @@ -2,8 +2,7 @@ from __future__ import unicode_literals -import pkg_resources -dist = pkg_resources.get_distribution("isso") +import isso as dist import json