From 4e5e8c44f77ae6a3aacbc2cfd78c4965c60b33d5 Mon Sep 17 00:00:00 2001 From: eroen Date: Sat, 8 Mar 2014 22:32:21 +0100 Subject: [PATCH] run tests without depending on an already installed instance --- isso/__init__.py | 3 +-- isso/views/__init__.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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