mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-03 21:27:36 +03:00
log used python version
This commit is contained in:
parent
0759673e67
commit
7f3fedc048
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
# along with Radicale. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import ssl
|
||||
import sys
|
||||
from importlib import import_module, metadata
|
||||
from typing import Callable, Sequence, Type, TypeVar, Union
|
||||
|
||||
|
@ -55,6 +56,7 @@ def package_version(name):
|
|||
|
||||
def packages_version():
|
||||
versions = []
|
||||
versions.append("python=%s.%s.%s" % (sys.version_info[0], sys.version_info[1], sys.version_info[2]))
|
||||
for pkg in RADICALE_MODULES:
|
||||
versions.append("%s=%s" % (pkg, package_version(pkg)))
|
||||
return " ".join(versions)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue