(init_file)
| 79 | |
| 80 | |
| 81 | def mTimeVersion(init_file): |
| 82 | cwd = os.path.dirname(os.path.abspath(init_file)) |
| 83 | m = 0 |
| 84 | for root, dirs, files in os.walk(cwd): |
| 85 | for f in files: |
| 86 | m = max(os.path.getmtime(os.path.join(root, f)), m) |
| 87 | d = datetime.datetime.fromtimestamp(m, datetime.timezone.utc) |
| 88 | return d.strftime("%Y.%m.%d") |
| 89 | |
| 90 | |
| 91 | def getVersionFromArchiveId(git_archive_id='$Format:%ct %(describe:abbrev=10)$'): |
no test coverage detected