-
Committer:
Tarmac
-
Author(s):
Soren Hansen
-
Date:
2011-05-27 13:32:07 UTC
-
mfrom:
(300.1.4 1.4.0-versioning)
-
Revision ID:
tarmac-20110527133207-1ajnpsfmfoxqk7kv
Add a __canonical_version__ attribute to the swift module. This is only the numbered part of the version string, no "-dev" or similar suffixes.
Add a couple of unit tests to make sure __version__ and __canonical_version__ are generated correctly and to ensure __canonical_version__ never accidentally has anything other than numbers and points in it.