__version_info__ = (0, 9, 0, None)


# Dot-connect all but the last. Last is dash-connected if not None.
__version__ = '.'.join([str(i) for i in __version_info__[:-1]])
if __version_info__[-1] is not None:
    __version__ += ('-%s' % (__version_info__[-1],))


# context processor to add version to the template environment
def version_context(request):
    return {'SW_VERSION': __version__}

@@ -17,21 +17,22 @@
  = (
-0, 9
+1, 0
 , 0, 
-None
+'dev'
 )%0A%0A%0A

set version to 1.0-dev after tagging 0.9 release