diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2017-11-14 20:46:30 +0100 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2017-11-18 12:44:42 +0100 |
| commit | a95f4ea250f4bf85b510791f6eb287e7f01a431f (patch) | |
| tree | 5bae0dcd110c340788207b9d930feb3849e947bb | |
| parent | 9bd46dc4333eb9be01f8d4b51df2292f757f9288 (diff) | |
DOC: Disable searching for PortAudio when building docs
| -rw-r--r-- | doc/fake__sounddevice.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/fake__sounddevice.py b/doc/fake__sounddevice.py index d72f15f..e7b9f4f 100644 --- a/doc/fake__sounddevice.py +++ b/doc/fake__sounddevice.py @@ -1,6 +1,13 @@ """Mock module for Sphinx autodoc.""" +import ctypes + + +# Monkey-patch ctypes to disable searching for PortAudio +ctypes.util.find_library = lambda _: NotImplemented + + class ffi(object): NULL = NotImplemented |
