mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-07-03 05:58:25 +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
|
||||
|
||||
- name: Install cibuildwheel
|
||||
run: python -m pip install -U setuptools wheel pip
|
||||
run: python -m pip install -U setuptools wheel pip .
|
||||
|
||||
- name: Build wheels
|
||||
run: python setup.py sdist
|
||||
|
@ -6,11 +6,7 @@ import subprocess
|
||||
|
||||
from tqdm import tqdm
|
||||
|
||||
try:
|
||||
from .manim import Scene, ThreeDScene, config, logger
|
||||
except ImportError:
|
||||
Scene = ThreeDScene = config = logger = None
|
||||
# TODO: manage both manim and manimgl
|
||||
from manim import Scene, ThreeDScene, config, logger
|
||||
|
||||
try: # For manim<v0.16.0.post0
|
||||
from manim.constants import FFMPEG_BIN as ffmpeg_executable
|
||||
|
Reference in New Issue
Block a user