Skip to content

Commit 62f0147

Browse files
authored
Version 0.1.1 changes
1 parent 14bfaab commit 62f0147

File tree

321 files changed

+8032
-5391
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

321 files changed

+8032
-5391
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
11
---
2-
name: Bug report
3-
about: Create a report to help us improve
4-
title: " [BUG-General] "
2+
name: Manim bug
3+
about: Report a bug or unexpected behavior when running Manim
4+
title: ""
55
labels: bug
66
assignees: ''
77

88
---
99

10-
**Describe the bug**
11-
<!-- A clear and concise description of what the bug is. -->
10+
## Description of bug / unexpected behavior
11+
<!-- Add a clear and concise description of the problem you encountered. -->
1212

13-
**To Reproduce**
14-
<!-- Provide the problematic code in the code block below -->
15-
<details><summary>Problematic Code</summary>
13+
14+
## Expected behavior
15+
<!-- Add a clear and concise description of what you expected to happen. -->
16+
17+
18+
## How to reproduce the issue
19+
<!-- Provide a piece of code illustrating the undesired behavior. -->
20+
21+
<details><summary>Code for reproducing the problem</summary>
1622

1723
```py
1824
Paste your code here.
1925
```
2026

2127
</details>
2228

23-
**Expected behavior**
24-
<!-- A clear and concise description of what you expected to happen. -->
2529

26-
**Output Media Files**
30+
## Additional media files
2731
<!-- Paste in the files manim produced on rendering the code above. Note that GitHub doesn't allow posting videos, so you may need to convert it to a GIF or use the `-i` rendering option. -->
2832

2933
<details><summary>Images/GIFs</summary>
@@ -32,47 +36,48 @@ Paste your code here.
3236

3337
</details>
3438

35-
**Logs**
36-
<details><summary>Terminal output (Screenshots acceptable)</summary>
39+
40+
## Logs
41+
<details><summary>Terminal output</summary>
42+
<!-- Add "-v DEBUG" when calling manim to generate more detailed logs -->
3743

3844
```
39-
PASTE HERE OR REMOVE IF PROVIDING SCREENSHOT
45+
PASTE HERE OR PROVIDE LINK TO https://pastebin.com/ OR SIMILAR
4046
```
4147

42-
<!-- Paste screenshot here -->
48+
<!-- Insert screenshots here (only when absolutely necessary, we prefer copy/pasted output!) -->
4349

4450
</details>
4551

46-
**System Specifications**
52+
53+
## System specifications
4754

4855
<details><summary>System Details</summary>
4956

50-
- OS (with version, e.g Windows 10 v2004 or macOS 10.15 (Catalina)):
51-
- RAM:
57+
- OS (with version, e.g Windows 10 v2004 or macOS 10.15 (Catalina)):
58+
- RAM:
5259
- Python version (`python/py/python3 --version`):
5360
- Installed modules (provide output from `pip list`):
5461
```
5562
PASTE HERE
5663
```
57-
5864
</details>
5965

60-
<details>
61-
<summary>Latex details</summary>
66+
<details><summary>LaTeX details</summary>
6267

63-
+ Distribution (e.g. TeX Live 2020):
64-
65-
<!-- output of `tlmgr list --only-installed` for TeX Live or a screenshot of the Packkages page for MikTeX -->
66-
+ Installed packages:
68+
+ LaTeX distribution (e.g. TeX Live 2020):
69+
+ Installed LaTeX packages:
70+
<!-- output of `tlmgr list --only-installed` for TeX Live or a screenshot of the Packages page for MikTeX -->
6771
</details>
6872

6973
<details><summary>FFMPEG</summary>
74+
7075
Output of `ffmpeg -version`:
7176

7277
```
7378
PASTE HERE
7479
```
7580
</details>
7681

77-
**Additional context**
78-
Add any other context about the problem here.
82+
## Additional comments
83+
<!-- Add further context that you think might be relevant for this issue here. -->
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Request a new feature for Manim
4+
title: ""
5+
labels: new feature
6+
assignees: ''
7+
8+
---
9+
10+
## Description of proposed feature
11+
<!-- Add a clear and concise description of the new feature, including a motivation: why do you think this will be useful? -->
12+
13+
14+
## How can the new feature be used?
15+
<!-- If possible, illustrate how this new feature could be used. -->
16+
17+
18+
## Additional comments
19+
<!-- Add further context that you think might be relevant. -->
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
name: Installation issue
3+
about: Report issues with the installation process of Manim
4+
title: ""
5+
labels: bug, installation
6+
assignees: ''
7+
8+
---
9+
10+
#### Preliminaries
11+
12+
- [ ] I have followed the latest version of the
13+
[installation instructions](https://docs.manim.community/en/latest/installation.html).
14+
- [ ] I have checked the [troubleshooting page](https://docs.manim.community/en/latest/installation/troubleshooting.html) and my problem is either not mentioned there,
15+
or the solution given there does not help.
16+
17+
## Description of error
18+
<!-- Add a clear and concise description of the problem you encountered. -->
19+
20+
21+
## Installation logs
22+
<!-- Please paste the **full** terminal output; we can only help to identify the issue
23+
when we receive all required information. -->
24+
25+
<details><summary>Terminal output</summary>
26+
27+
```
28+
PASTE HERE OR PROVIDE LINK TO https://pastebin.com/ OR SIMILAR
29+
```
30+
31+
<!-- Insert screenshots here (only when absolutely necessary, we prefer copy/pasted output!) -->
32+
33+
</details>
34+
35+
36+
## System specifications
37+
38+
<details><summary>System Details</summary>
39+
40+
- OS (with version, e.g Windows 10 v2004 or macOS 10.15 (Catalina)):
41+
- RAM:
42+
- Python version (`python/py/python3 --version`):
43+
- Installed modules (provide output from `pip list`):
44+
```
45+
PASTE HERE
46+
```
47+
</details>
48+
49+
<details><summary>LaTeX details</summary>
50+
51+
+ LaTeX distribution (e.g. TeX Live 2020):
52+
+ Installed LaTeX packages:
53+
<!-- output of `tlmgr list --only-installed` for TeX Live or a screenshot of the Packages page for MikTeX -->
54+
</details>
55+
56+
<details><summary>FFMPEG</summary>
57+
58+
Output of `ffmpeg -version`:
59+
60+
```
61+
PASTE HERE
62+
```
63+
</details>
64+
65+
## Additional comments
66+
<!-- Add further context that you think might be relevant for this issue here. -->
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Suggestion
3+
about: Make a suggestion for the enhancement of existing features
4+
title: ""
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
## Enhancement proposal
11+
<!-- Add a clear and concise description of your enhancement proposal. In particular,
12+
if your enhancement introduces changes to the API, illustrate them with
13+
(fictional) code examples. -->
14+
15+
16+
## Additional comments
17+
<!-- Add further context that you think might be relevant. -->

.github/manimdependency.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"windows": {
3-
"ffmpeg": "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.1-2020-09-21-full_build.zip",
3+
"ffmpeg": "https://github.com/GyanD/codexffmpeg/releases/download/4.3.1-2020-11-19/ffmpeg-4.3.1-2020-11-19-full_build.zip",
44
"pango": "v0.1.0",
55
"tinytex": [
66
"standalone",

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-latest, macos-latest, windows-latest]
19-
python: [3.6, 3.7, 3.8]
19+
python: [3.6, 3.7, 3.8, 3.9]
2020

2121
steps:
2222
- name: Checkout the repository
@@ -51,7 +51,7 @@ jobs:
5151
sudo apt update
5252
sudo apt install -y ffmpeg
5353
sudo apt-get -y install texlive texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science texlive-fonts-extra tipa
54-
echo "::add-path::$HOME/.poetry/bin"
54+
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
5555
5656
- name: Install system dependencies (MacOS)
5757
if: runner.os == 'macOS'
@@ -65,8 +65,8 @@ jobs:
6565
brew install pango
6666
brew install glib
6767
sudo tlmgr install standalone preview doublestroke relsize fundus-calligra wasysym physics dvisvgm.x86_64-darwin dvisvgm rsfs wasy cm-super
68-
echo "::add-path::$HOME/.poetry/bin"
69-
echo "::set-env name=PATH::$PATH"
68+
echo "/Library/TeX/texbin" >> $GITHUB_PATH
69+
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
7070
7171
- name: Cache Windows
7272
id: cache-windows
@@ -106,13 +106,13 @@ jobs:
106106
run: |
107107
$env:Path += ";" + "$($PWD)\ManimCache\FFmpeg\bin"
108108
$env:Path += ";" + "$($PWD)\ManimCache\LatexWindows\TinyTeX\bin\win32"
109-
$env:Path += ";" + "$($PWD)\ManimCache\Pango\pango"
109+
$env:Path += ";" + "$($PWD)\ManimCache\Pango\pango"
110110
$env:Path = "$env:USERPROFILE\.poetry\bin;$($env:PATH)"
111-
echo "::set-env name=Path::$env:Path"
111+
echo "$env:Path" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
112112
113113
- name: Install manim
114114
run: |
115-
poetry install
115+
poetry install -E js_renderer
116116
117117
- name: Run tests
118118
run: poetry run pytest
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Dependent Issues
2+
3+
on:
4+
issues:
5+
schedule:
6+
- cron: '0/30 * * * *' # schedule daily check
7+
8+
jobs:
9+
check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: z0al/dependent-issues@v1
13+
env:
14+
# (Required) The token to use to make API calls to GitHub.
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
with:
17+
# (Optional) The label to use to mark dependent issues
18+
label: dependent
19+
20+
# (Optional) Enable checking for dependencies in issues. Enable by
21+
# setting the value to "on". Default "off"
22+
check_issues: on
23+
24+
# (Optional) A comma-separated list of keywords. Default
25+
# "depends on, blocked by"
26+
keywords: depends on, blocked by

.github/workflows/python-publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,26 @@ jobs:
2626

2727
- name: Publish release to pypi
2828
run: poetry publish --build
29+
30+
- name: Get Upload URL
31+
id: create_release
32+
shell: bash
33+
env:
34+
access_token: ${{ secrets.GITHUB_TOKEN }}
35+
tag_act: ${{ github.ref }}
36+
run: |
37+
ref_tag=$(python -c "print('${tag_act}'.split('/')[-1])")
38+
res=$(curl -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${access_token}" https://api.github.com/repos/ManimCommunity/manim/releases/tags/${ref_tag})
39+
upload_url=$(python -c "import json;print(json.loads('''${res}''')['upload_url'])")
40+
echo "::set-output name=upload_url::${upload_url}"
41+
42+
- name: Upload Release Asset
43+
id: upload-release
44+
uses: actions/upload-release-asset@v1
45+
env:
46+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
with:
48+
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
49+
asset_path: dist/*.tar.gz
50+
asset_name: manimce-${{ steps.tag.outputs.tag }}.tar.gz
51+
asset_content_type: application/gzip

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ docs/_build/
5858
docs/build/
5959
docs/source/_autosummary/
6060
docs/source/reference/
61+
docs/source/_build/
6162

6263
# PyBuilder
6364
target/

0 commit comments

Comments
 (0)