Print version on startup

The version is determined from either the contents of _version.py
(expected to be present in release tarballs) or the output of
`git describe --always`.
This commit is contained in:
flan
2020-01-04 05:36:14 +01:00
parent aaf7e8b5e8
commit c07fe0e65c
3 changed files with 31 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,6 @@
*.pyc
*.db
/ankisyncd/_version.py
/collections
/venv