diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 60ed275..ee11e89 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -8,40 +8,11 @@ on: types: [published] jobs: - build_wheels: - name: Build wheels on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - - steps: - - uses: actions/checkout@v2 - - # Used to host cibuildwheel - - uses: actions/setup-python@v2 - - - name: Install cibuildwheel - run: python -m pip install -U setuptools wheel pip - - - name: Build wheels - run: python setup.py sdist - - - uses: actions/upload-artifact@v2 - with: - name: dist - path: dist/*.tar.* - release: name: Release if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') runs-on: ubuntu-latest - needs: [ build_wheels ] steps: - - uses: actions/download-artifact@v2 - with: - name: dist - path: dist/ - name: Upload to PyPI uses: pypa/gh-action-pypi-publish@master with: diff --git a/manim_slides/slide.py b/manim_slides/slide.py index 9667ec2..03dc08d 100644 --- a/manim_slides/slide.py +++ b/manim_slides/slide.py @@ -4,14 +4,9 @@ import platform import shutil import subprocess +from manim import Scene, ThreeDScene, config, logger 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 - try: # For manim=8.0", "click-default-group>=1.2", "numpy>=1.19.3", + "manim", "pydantic>=1.9.1", "opencv-python>=4.6", ],