Skip to content

Commit 47996ae

Browse files
committed
Add python 3.6 and docs
1 parent 065c20a commit 47996ae

File tree

5 files changed

+57
-11
lines changed

5 files changed

+57
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
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.7, 3.8]
19+
python: [3.6, 3.7, 3.8]
2020

2121
steps:
2222
- name: Checkout the repository

docs/source/installation/win.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,27 @@ You can install manim very easily using chocolatey, by typing the following comm
1818
1919
And then you can skip all the other steps and move to installing :ref:`latex-installation`.
2020

21+
Pango Installation
22+
******************
23+
These steps would get you `libpango-1.0-0.dll` to your ``PATH`` along with other dependencies. You may probably have them before itself if you have installed `GTK <https://www.gtk.org/>`_ or any ``GTK`` based app like emacs. If you have it you can just add it to your path and skip these steps.
24+
25+
1. Go to `Release Page
26+
<https://github.com/ManimCommunity/manim-windows/releases/latest>`_ and download the one according
27+
to your PC architechture.
28+
29+
.. important:: Please download the ``zip`` file for architechtureof python installed.
30+
It is possible to have installed ``x86`` python on ``x64`` PC.
31+
32+
2. Extract the zip file using File Explorer or 7z to the loaction you want to install.
33+
34+
.. code-block:: powershell
35+
36+
7z x pango-windows-binaires-x64.zip -oC:\Pango
37+
38+
3. Finally, add it `PATH variable
39+
<https://www.computerhope.com/issues/ch000549.htm>`_.
40+
41+
2142
Cairo installation
2243
******************
2344

example_scenes/pangoText.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,6 @@ def construct(self):
3636
self.play(Write(arb))
3737
self.wait(3)
3838
self.clear()
39+
jap = PangoText("臂猿「黛比」帶著孩子",font="sans-serif")
40+
self.play(Write(jap))
41+
self.wait(3)

poetry.lock

Lines changed: 29 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ packages = [
2424
]
2525

2626
[tool.poetry.dependencies]
27-
python = "^3.7"
27+
python = "^3.6"
2828
colour = "*"
2929
numpy = "*"
3030
Pillow = "*"
@@ -41,9 +41,9 @@ pycairo = [
4141
]
4242
pangocffi = "^0.6.0"
4343
pangocairocffi = "^0.3.0"
44-
# add cairocffi
45-
4644
cairocffi = "^1.1.0"
45+
dataclasses = {version = "^0.7", python = "~3.6"}
46+
4747
[tool.poetry.dev-dependencies]
4848
pytest = "^6.0"
4949

0 commit comments

Comments
 (0)