fix: import errors...

This commit is contained in:
Jérome Eertmans
2022-09-07 23:40:05 +02:00
parent 51ca828920
commit 11494209e4
3 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -30,6 +30,7 @@ setuptools.setup(
"click>=8.0",
"click-default-group>=1.2",
"numpy>=1.19.3",
"manim",
"pydantic>=1.9.1",
"opencv-python>=4.6",
],