From 3d956b91f83d1c46520f24b3c6d8f16ccb188060 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 17 Apr 2022 22:36:52 +0200 Subject: Bump minimum python version to 3.7 --- README.rst | 7 ++++++- setup.py | 8 +++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 198352d..1f1ee2c 100644 --- a/README.rst +++ b/README.rst @@ -32,7 +32,7 @@ On Windows you can place libmpv anywhere in your ``%PATH%`` (e.g. next to ``pyth into ctypes, which is different to the one Windows uses internally. Consult `this stackoverflow post `__ for details. -Python >= 3.5 (officially) +Python >= 3.7 (officially) .......................... The ``master`` branch officially only supports recent python releases (3.5 onwards), but there is the somewhat outdated but functional `py2compat branch`_ providing Python 2 compatibility. @@ -388,6 +388,11 @@ Using mpv inside imgui inside OpenGL via GLFW dfaker_ has written a demo (`link `__) that uses mpv to render video into an `imgui `__ UI running on an OpenGL context inside `GLFW `__. Check out their demo to see how to integrate with imgui/OpenGL and how to access properties and manage the lifecycle of an MPV instance. +Running tests +------------- + +Use pytest to run tests. + Coding Conventions ------------------ diff --git a/setup.py b/setup.py index abd0ba6..978879b 100755 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( test_suite = 'tests', keywords = ['mpv', 'library', 'video', 'audio', 'player', 'display', 'multimedia'], - python_requires='>=3.5', + python_requires='>=3.7', classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: X11 Applications', @@ -26,8 +26,10 @@ setup( 'Natural Language :: English', 'Operating System :: POSIX', 'Programming Language :: C', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Topic :: Multimedia :: Sound/Audio :: Players', 'Topic :: Multimedia :: Video :: Display'] ) -- cgit