=== modified file 'lava_projects/extension.py'
@@ -42,6 +42,6 @@
@property
def version(self):
- from lava_projects import __version__
+ import lava_projects
import versiontools
- return versiontools.format_version(__version__)
+ return versiontools.format_version(lava_projects.__version__, hint=lava_projects)
=== modified file 'lava_server/context_processors.py'
@@ -18,13 +18,13 @@
import versiontools
+import lava_server
from lava_server.extension import loader
-from lava_server import __version__
def lava(request):
return {
'lava': {
'extension_list': loader.extensions,
- 'version': versiontools.format_version(__version__)
+ 'version': versiontools.format_version(lava_server.__version__, hint=lava_server)
}
}
=== modified file 'setup.py'
@@ -63,11 +63,11 @@
'linaro-django-xmlrpc >= 0.4',
'python-openid >= 2.2.4', # this should be a part of django-openid-auth deps
'south >= 0.7.3',
- 'versiontools >= 1.3.1',
+ 'versiontools >= 1.8',
'markdown >= 2.0.3',
],
setup_requires=[
- 'versiontools >= 1.3.1',
+ 'versiontools >= 1.8',
],
tests_require=[
'django-testscenarios >= 0.7.1',