--- dts/version.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 dts/version.py
diff --git a/dts/version.py b/dts/version.py new file mode 100755 index 0000000000..9f23357435 --- /dev/null +++ b/dts/version.py @@ -0,0 +1,21 @@ +# <COPYRIGHT_TAG> + +VERSION_MAJOR = "21" +VERSION_MINOR = "11" +VERSION_PATCH = "0" +VERSION_EXTRA = "" + +__version__ = "%s.%s.%s" % (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH) + +if VERSION_EXTRA: + __version__ = "%s-%s" % (__version__, VERSION_EXTRA) + + +def dts_version(): + """ + Return the version of dts package + """ + return __version__ + + +__all__ = ["dts_version", "__version__"] -- 2.20.1