diff shasum.py @ 30:ffcce6062bee

Put the version number info the optinal common module _cutils.py
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 07 Dec 2020 09:30:53 +0100
parents c29bd96dcd4f
children e5f6af8364db
line wrap: on
line diff
--- a/shasum.py	Mon Dec 07 03:10:44 2020 +0100
+++ b/shasum.py	Mon Dec 07 09:30:53 2020 +0100
@@ -13,7 +13,10 @@
 from __future__ import print_function
 
 
-__version__ = "0.1"
+try:
+    from _cutils import __version__
+except ImportError:
+    __version__ = "unknown"
 
 __revision__ = "|VCSRevision|"
 __date__ = "|VCSJustDate|"