mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-07-15 00:52:15 +08:00
fix: import errors...
This commit is contained in:
2
.github/workflows/python-publish.yml
vendored
2
.github/workflows/python-publish.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
|
|
||||||
- name: Install cibuildwheel
|
- name: Install cibuildwheel
|
||||||
run: python -m pip install -U setuptools wheel pip
|
run: python -m pip install -U setuptools wheel pip .
|
||||||
|
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
run: python setup.py sdist
|
run: python setup.py sdist
|
||||||
|
@ -6,11 +6,7 @@ import subprocess
|
|||||||
|
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
|
|
||||||
try:
|
from manim import Scene, ThreeDScene, config, logger
|
||||||
from .manim import Scene, ThreeDScene, config, logger
|
|
||||||
except ImportError:
|
|
||||||
Scene = ThreeDScene = config = logger = None
|
|
||||||
# TODO: manage both manim and manimgl
|
|
||||||
|
|
||||||
try: # For manim<v0.16.0.post0
|
try: # For manim<v0.16.0.post0
|
||||||
from manim.constants import FFMPEG_BIN as ffmpeg_executable
|
from manim.constants import FFMPEG_BIN as ffmpeg_executable
|
||||||
|
Reference in New Issue
Block a user