Integrate versions module to Version class
MODIFY
plextraktsync/util/Version.py
plextraktsync/util/Version.py
class Version:
+ @property
+ def version(self):
+ from plextraktsync import __version__
+
+ return __version__
+
@cached_property
def full_version(self):
from plextraktsync import __version__
@@ -22,6 +28,30 @@ def full_version(self):
return __version__
+ @property
+ def py_version(self):
+ from platform import python_version
+
+ return python_version()
+
+ @property
+ def py_platform(self):
+ from platform import platform
+
+ return platform(terse=True, aliased=True)
+
+ @property
+ def plex_api_version(self):
+ from plexapi import VERSION
+
+ return VERSION
+
+ @property
+ def trakt_api_version(self):
+ from trakt import __version__
+
+ return __version__
+
@property
def git_version_info(self):
from plextraktsync.util.git_version_info import git_version_info

Integrate versions module to Version class