A community-maintained Python framework for creating mathematical animations.
Made RTD apt install FFMPEG instead of installing a Python binding (#1896)
Darylgolden092555adc787
diff --git a/.readthedocs.yml b/.readthedocs.ymlindex 2ad171c66..87f178a53 100644--- a/.readthedocs.yml+++ b/.readthedocs.yml@@ -3,6 +3,7 @@ build:image: latestapt_packages:- libpango1.0-dev+ - ffmpegpython:version: 3.8install:diff --git a/docs/rtd-requirements.txt b/docs/rtd-requirements.txtindex 6c0505c59..c9356a728 100644--- a/docs/rtd-requirements.txt+++ b/docs/rtd-requirements.txt@@ -1,2 +1 @@-imageio-ffmpegjupyterlabdiff --git a/docs/source/conf.py b/docs/source/conf.pyindex ba4129b34..1c4b54355 100644--- a/docs/source/conf.py+++ b/docs/source/conf.py@@ -20,20 +20,6 @@ import manimsys.path.insert(0, os.path.abspath("."))-if os.environ.get("READTHEDOCS") == "True":- site_path = get_python_lib()- # we need to add ffmpeg to the path- ffmpeg_path = os.path.join(site_path, "imageio_ffmpeg", "binaries")- # the included binary is named ffmpeg-linux..., create a symlink- [ffmpeg_bin] = [- file for file in os.listdir(ffmpeg_path) if file.startswith("ffmpeg-")- ]- os.symlink(- os.path.join(ffmpeg_path, ffmpeg_bin), os.path.join(ffmpeg_path, "ffmpeg")- )- os.environ["PATH"] += os.pathsep + ffmpeg_path--# -- Project information -----------------------------------------------------project = "Manim"