mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
Master is now 1.5.0-dev (to avoid accidents), but the 1.4 branch is expected to be the end of the 1.x line. 2.0 development will begin on a separate branch soon.
6 lines
363 B
Python
6 lines
363 B
Python
VERSION = (1, 5, 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"
|