mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 20:01:05 -05:00
2.0.0-dev0 --> 2.0.0.dev0 (or just 2.0.dev0) We still practice semver in the major.minor.patch versions; we just don't use semver's "-" for pre-release versions. (Because, PEP 0440.) https://www.python.org/dev/peps/pep-0440/
4 lines
252 B
Python
4 lines
252 B
Python
VERSION = (2, 0, 'dev0') # Remove the 'dev' component in release branches
|
|
__version__ = '.'.join([str(x) for x in VERSION]) # major.minor.patch or major.minor.devN
|
|
__minor_version__ = '.'.join([str(x) for x in VERSION[:2]]) # Sphinx's X.Y "version"
|