remove bad version guessing mechanism

This commit is contained in:
Craig Blaszczyk 2011-07-22 11:59:25 +01:00
parent 742e9289cf
commit fbc483e854

View File

@ -4,14 +4,6 @@ __version__ = '0.2.3'
VERSION = __version__ # synonym VERSION = __version__ # synonym
from djangorestframework.builtins import DjangoRestFrameworkSite 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 from django.utils.importlib import import_module
import imp import imp