Bump minimum python version to 3.7
This commit is contained in:
parent
b0d34af527
commit
3d956b91f8
2 changed files with 11 additions and 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
|
into ctypes, which is different to the one Windows uses internally. Consult `this stackoverflow post
|
||||||
<https://stackoverflow.com/a/23805306>`__ for details.
|
<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
|
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.
|
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.
|
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
|
Coding Conventions
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|
|
||||||
8
setup.py
8
setup.py
|
|
@ -17,7 +17,7 @@ setup(
|
||||||
test_suite = 'tests',
|
test_suite = 'tests',
|
||||||
keywords = ['mpv', 'library', 'video', 'audio', 'player', 'display',
|
keywords = ['mpv', 'library', 'video', 'audio', 'player', 'display',
|
||||||
'multimedia'],
|
'multimedia'],
|
||||||
python_requires='>=3.5',
|
python_requires='>=3.7',
|
||||||
classifiers = [
|
classifiers = [
|
||||||
'Development Status :: 4 - Beta',
|
'Development Status :: 4 - Beta',
|
||||||
'Environment :: X11 Applications',
|
'Environment :: X11 Applications',
|
||||||
|
|
@ -26,8 +26,10 @@ setup(
|
||||||
'Natural Language :: English',
|
'Natural Language :: English',
|
||||||
'Operating System :: POSIX',
|
'Operating System :: POSIX',
|
||||||
'Programming Language :: C',
|
'Programming Language :: C',
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.7',
|
||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.8',
|
||||||
|
'Programming Language :: Python :: 3.9',
|
||||||
|
'Programming Language :: Python :: 3.10',
|
||||||
'Topic :: Multimedia :: Sound/Audio :: Players',
|
'Topic :: Multimedia :: Sound/Audio :: Players',
|
||||||
'Topic :: Multimedia :: Video :: Display']
|
'Topic :: Multimedia :: Video :: Display']
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue