Skip to content

Commit 574c545

Browse files
authored
Merge pull request #4 from jeertmans/reserve-video-and-more
feat(cli): reverse videos on the fly!
2 parents e066970 + dab96c9 commit 574c545

File tree

3 files changed

+2
-35
lines changed

3 files changed

+2
-35
lines changed

.github/workflows/python-publish.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,40 +8,11 @@ on:
88
types: [published]
99

1010
jobs:
11-
build_wheels:
12-
name: Build wheels on ${{ matrix.os }}
13-
runs-on: ${{ matrix.os }}
14-
strategy:
15-
matrix:
16-
os: [ubuntu-latest, windows-latest, macos-latest]
17-
18-
steps:
19-
- uses: actions/checkout@v2
20-
21-
# Used to host cibuildwheel
22-
- uses: actions/setup-python@v2
23-
24-
- name: Install cibuildwheel
25-
run: python -m pip install -U setuptools wheel pip
26-
27-
- name: Build wheels
28-
run: python setup.py sdist
29-
30-
- uses: actions/upload-artifact@v2
31-
with:
32-
name: dist
33-
path: dist/*.tar.*
34-
3511
release:
3612
name: Release
3713
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
3814
runs-on: ubuntu-latest
39-
needs: [ build_wheels ]
4015
steps:
41-
- uses: actions/download-artifact@v2
42-
with:
43-
name: dist
44-
path: dist/
4516
- name: Upload to PyPI
4617
uses: pypa/gh-action-pypi-publish@master
4718
with:

manim_slides/slide.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,9 @@
44
import shutil
55
import subprocess
66

7+
from manim import Scene, ThreeDScene, config, logger
78
from tqdm import tqdm
89

9-
try:
10-
from .manim import Scene, ThreeDScene, config, logger
11-
except ImportError:
12-
Scene = ThreeDScene = config = logger = None
13-
# TODO: manage both manim and manimgl
14-
1510
try: # For manim<v0.16.0.post0
1611
from manim.constants import FFMPEG_BIN as ffmpeg_executable
1712
except ImportError:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"click>=8.0",
3131
"click-default-group>=1.2",
3232
"numpy>=1.19.3",
33+
"manim",
3334
"pydantic>=1.9.1",
3435
"opencv-python>=4.6",
3536
],

0 commit comments

Comments
 (0)