summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-04-17 22:36:52 +0200
committerjaseg <git@jaseg.de>2022-04-17 22:36:52 +0200
commit3d956b91f83d1c46520f24b3c6d8f16ccb188060 (patch)
treeeeb56a29c587274640f4278faf9fe4d05c85c9a3
parentb0d34af527ef687afc1dbcc5501707f2ff28586a (diff)
downloadpython-mpv-3d956b91f83d1c46520f24b3c6d8f16ccb188060.tar.gz
python-mpv-3d956b91f83d1c46520f24b3c6d8f16ccb188060.tar.bz2
python-mpv-3d956b91f83d1c46520f24b3c6d8f16ccb188060.zip
Bump minimum python version to 3.7
-rw-r--r--README.rst7
-rwxr-xr-xsetup.py8
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
<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
------------------
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']
)