diff options
author | jaseg <git@jaseg.de> | 2022-04-17 22:36:52 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-04-17 22:36:52 +0200 |
commit | 3d956b91f83d1c46520f24b3c6d8f16ccb188060 (patch) | |
tree | eeb56a29c587274640f4278faf9fe4d05c85c9a3 | |
parent | b0d34af527ef687afc1dbcc5501707f2ff28586a (diff) | |
download | python-mpv-3d956b91f83d1c46520f24b3c6d8f16ccb188060.tar.gz python-mpv-3d956b91f83d1c46520f24b3c6d8f16ccb188060.tar.bz2 python-mpv-3d956b91f83d1c46520f24b3c6d8f16ccb188060.zip |
Bump minimum python version to 3.7
-rw-r--r-- | README.rst | 7 | ||||
-rwxr-xr-x | setup.py | 8 |
2 files changed, 11 insertions, 4 deletions
@@ -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 <https://stackoverflow.com/a/23805306>`__ 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 <https://github.com/dfaker/imgui_glfw_pythonmpv_demo/blob/main/main.py>`__) that uses mpv to render video into an `imgui <https://github.com/ocornut/imgui>`__ UI running on an OpenGL context inside `GLFW <https://www.glfw.org/>`__. 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 ------------------ @@ -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'] ) |