From 11494209e4d691c5ca3dc78163d2f0d96c817aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Eertmans?= Date: Wed, 7 Sep 2022 23:40:05 +0200 Subject: [PATCH] fix: import errors... --- .github/workflows/python-publish.yml | 2 +- manim_slides/slide.py | 6 +----- setup.py | 1 + 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 60ed275..e501976 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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 diff --git a/manim_slides/slide.py b/manim_slides/slide.py index 9667ec2..73441a0 100644 --- a/manim_slides/slide.py +++ b/manim_slides/slide.py @@ -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=8.0", "click-default-group>=1.2", "numpy>=1.19.3", + "manim", "pydantic>=1.9.1", "opencv-python>=4.6", ],