Skip to content

Commit 2076d65

Browse files
committed
fix(deps): fix deps import error
1 parent 9640605 commit 2076d65

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

manim_slides/slide.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@
44
import shutil
55
import subprocess
66

7-
from manim import Scene, ThreeDScene, config, logger
87
from tqdm import tqdm
98

9+
try:
10+
from .manim import Scene, ThreeDScene, config, logger
11+
except ImportError
12+
Scene = ThreeDScene = config = logger = None
13+
# TODO: manage both manim and manimgl
14+
1015
try: # For manim<v0.16.0.post0
1116
from manim.constants import FFMPEG_BIN as ffmpeg_executable
1217
except ImportError:

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
install_requires=[
3030
"click>=8.0",
3131
"click-default-group>=1.2",
32-
"manim",
3332
"numpy>=1.19.3",
3433
"pydantic>=1.9.1",
3534
"opencv-python>=4.6",

0 commit comments

Comments
 (0)