Mercurial > hgrepos > Python > apps > py-cutils
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 29:c06e438f68b2 | 30:ffcce6062bee |
|---|---|
| 11 """ | 11 """ |
| 12 | 12 |
| 13 from __future__ import print_function | 13 from __future__ import print_function |
| 14 | 14 |
| 15 | 15 |
| 16 __version__ = "0.1" | 16 try: |
| 17 from _cutils import __version__ | |
| 18 except ImportError: | |
| 19 __version__ = "unknown" | |
| 17 | 20 |
| 18 __revision__ = "|VCSRevision|" | 21 __revision__ = "|VCSRevision|" |
| 19 __date__ = "|VCSJustDate|" | 22 __date__ = "|VCSJustDate|" |
| 20 | 23 |
| 21 | 24 |
