Python3 Migrate

This commit is contained in:
MariuszC
2020-01-18 20:01:00 +01:00
parent ea05af2d15
commit 6cd7e0fe44
691 changed files with 201846 additions and 598 deletions

View File

@@ -0,0 +1,15 @@
import platform
import sys
import warnings
import pkg_resources
if not sys.version_info >= (3, 7):
sys.exit(
f"ERROR: Mopidy requires Python >= 3.7, "
f"but found {platform.python_version()}."
)
warnings.filterwarnings("ignore", "could not open display")
__version__ = pkg_resources.get_distribution("Mopidy").version