Files
django-anymail/djrill/_version.py
medmunds d91e2c2f91 Adopt semver
Djrill's been practicing semver since 1.0; make it official now.
2015-05-11 17:00:32 -07:00

6 lines
363 B
Python

VERSION = (1, 4, 0, 'dev') # Remove the 'dev' component in release branches
__version__ = '.'.join([str(x) for x in VERSION[:3]]) # major.minor.patch
if len(VERSION) > 3: # x.y.z-pre.release (note the hyphen)
__version__ += '-' + '.'.join([str(x) for x in VERSION[3:]])
__minor_version__ = '.'.join([str(x) for x in VERSION[:2]]) # Sphinx's X.Y "version"