=== modified file 'dashboard_app/extension.py'
@@ -45,9 +45,9 @@
@property
def version(self):
- from dashboard_app import __version__
+ import dashboard_app
import versiontools
- return versiontools.format_version(__version__)
+ return versiontools.format_version(dashboard_app.__version__, hint=dashboard_app)
@property
def api_class(self):
=== modified file 'setup.py'
@@ -58,10 +58,10 @@
'linaro-json >= 2.0.1', # TODO: use json-schema-validator
'pygments >= 1.2',
'south >= 0.7.3',
- 'versiontools >= 1.3.1',
+ 'versiontools >= 1.8',
],
setup_requires=[
- 'versiontools >= 1.3.1',
+ 'versiontools >= 1.8',
],
tests_require=[
'django-testscenarios >= 0.7.1',