We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d04dc2 commit 9cdd00eCopy full SHA for 9cdd00e
docs/source/conf.py
@@ -11,6 +11,7 @@
11
# documentation root, use os.path.abspath to make it absolute, like shown here.
12
13
import os
14
+import subprocess
15
import sys
16
from distutils.sysconfig import get_python_lib
17
@@ -19,8 +20,10 @@
19
20
21
22
if os.environ.get("READTHEDOCS") == "True":
- # we need to add ffmpeg to the path
23
site_path = get_python_lib()
24
+ # bindings for pangocffi need to be generated
25
+ subprocess.run(["python", "pangocffi/ffi_build.py"], cwd=site_path)
26
+ # we need to add ffmpeg to the path
27
ffmpeg_path = os.path.join(site_path, "imageio_ffmpeg", "binaries")
28
# the included binary is named ffmpeg-linux..., create a symlink
29
[ffmpeg_bin] = [
0 commit comments