From fbc483e85491ad02003ded26f3871b6a39c57f27 Mon Sep 17 00:00:00 2001 From: Craig Blaszczyk Date: Fri, 22 Jul 2011 11:59:25 +0100 Subject: [PATCH] remove bad version guessing mechanism --- djangorestframework/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/djangorestframework/__init__.py b/djangorestframework/__init__.py index 683375441..2b777e59c 100644 --- a/djangorestframework/__init__.py +++ b/djangorestframework/__init__.py @@ -4,14 +4,6 @@ __version__ = '0.2.3' VERSION = __version__ # synonym from djangorestframework.builtins import DjangoRestFrameworkSite - -try: - VERSION = __import__('pkg_resources') \ - .get_distribution('gargoyle').version -except Exception, e: - VERSION = 'unknown' - - from django.utils.importlib import import_module import imp