2020-06-05 04:20:47 +04:00
|
|
|
__all__ = ["__date__", "__version__", "__author__", "__author_email__",
|
2020-06-05 03:51:29 +04:00
|
|
|
"__copyright__", "__license__", "PIGGYBANK_FILE_EXTENSION",
|
|
|
|
"print_program_version"]
|
|
|
|
|
|
|
|
|
2020-06-06 03:00:36 +04:00
|
|
|
__date__ = "6 June 2020"
|
2019-12-25 23:08:20 +04:00
|
|
|
__version__ = "1.0.0"
|
2019-12-29 18:34:55 +04:00
|
|
|
__author__ = "Alexander \"Arav\" Andreev"
|
2020-06-05 04:20:47 +04:00
|
|
|
__author_email__ = "me@arav.top"
|
|
|
|
__copyright__ = f"Copyright (c) 2020 {__author__} <{__author_email__}>"
|
2019-12-25 23:08:20 +04:00
|
|
|
__license__ = \
|
|
|
|
"""This program is free software. It comes without any warranty, to
|
|
|
|
the extent permitted by applicable law. You can redistribute it
|
|
|
|
and/or modify it under the terms of the Do What The Fuck You Want
|
|
|
|
To Public License, Version 2, as published by Sam Hocevar. See
|
|
|
|
http://www.wtfpl.net/ for more details."""
|
|
|
|
|
|
|
|
|
|
|
|
PIGGYBANK_FILE_EXTENSION = ".pb"
|
|
|
|
|
|
|
|
|
|
|
|
def print_program_version() -> None:
|
|
|
|
"""Print information about program. Includes name and version; copyright
|
|
|
|
notice and license."""
|
2019-12-29 18:38:11 +04:00
|
|
|
print(f"PiggyBank ver. {__version__} ({__date__})\n\n{__copyright__}\n"
|
2019-12-29 18:39:38 +04:00
|
|
|
f"\n{__license__}")
|