summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-12-04 00:05:21 +0100
committerjaseg <code@jaseg.net>2019-12-04 09:48:16 +0100
commit63f9b742470c7acc2e847f15610a66f6b5ffdea9 (patch)
treed7721403ab7a7dda140fce298daca8759693b443 /README.rst
parent3452ac87bc447fe14c30cd5fbddc4fd2f402a675 (diff)
downloadpython-mpv-63f9b742470c7acc2e847f15610a66f6b5ffdea9.tar.gz
python-mpv-63f9b742470c7acc2e847f15610a66f6b5ffdea9.tar.bz2
python-mpv-63f9b742470c7acc2e847f15610a66f6b5ffdea9.zip
Windows: Use cytpes.load_library to look for DLL
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst13
1 files changed, 9 insertions, 4 deletions
diff --git a/README.rst b/README.rst
index e46da2b..5f6ac01 100644
--- a/README.rst
+++ b/README.rst
@@ -19,16 +19,21 @@ Installation
Requirements
~~~~~~~~~~~~
-libmpv (no kidding!)
-....................
+libmpv
+......
``libmpv.so`` either locally (in your current working directory) or somewhere in your system library search path. This
module is somewhat lenient as far as ``libmpv`` versions are concerned but since ``libmpv`` is changing quite frequently
you'll only get all the newest features when using an up-to-date version of this module. The unit tests for this module
do some basic automatic version compatibility checks. If you discover anything missing here, please open an `issue`_ or
submit a `pull request`_ on github.
-Python 2.7, 3.5 or 3.6 (officially)
-...................................
+On Windows you can place libmpv anywhere in your ``%PATH%`` (e.g. next to ``python.exe``) or next to this module's
+``mpv.py``. Before falling back to looking in the mpv module's directory, python-mpv uses the DLL search order built
+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)
+..........................
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.