A community-maintained Python framework for creating mathematical animations.
Add python 3.6 and docs
Syrus Dark47996aedba53
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 486412629..290afc863 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -16,7 +16,7 @@ jobs:fail-fast: falsematrix:os: [ubuntu-latest, macos-latest, windows-latest]- python: [3.7, 3.8]+ python: [3.6, 3.7, 3.8]steps:- name: Checkout the repositorydiff --git a/docs/source/installation/win.rst b/docs/source/installation/win.rstindex c6b1b0cda..6fcdbb2f4 100644--- a/docs/source/installation/win.rst+++ b/docs/source/installation/win.rst@@ -18,6 +18,27 @@ You can install manim very easily using chocolatey, by typing the following commAnd then you can skip all the other steps and move to installing :ref:`latex-installation`.+Pango Installation+******************+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.++1. Go to `Release Page+ <https://github.com/ManimCommunity/manim-windows/releases/latest>`_ and download the one according+ to your PC architechture.++ .. important:: Please download the ``zip`` file for architechtureof python installed.+ It is possible to have installed ``x86`` python on ``x64`` PC.++2. Extract the zip file using File Explorer or 7z to the loaction you want to install.++ .. code-block:: powershell++ 7z x pango-windows-binaires-x64.zip -oC:\Pango++3. Finally, add it `PATH variable+ <https://www.computerhope.com/issues/ch000549.htm>`_.++Cairo installation******************diff --git a/example_scenes/pangoText.py b/example_scenes/pangoText.pyindex 451fba817..ce60ae76c 100644--- a/example_scenes/pangoText.py+++ b/example_scenes/pangoText.py@@ -36,3 +36,6 @@ class PangoRendering(Scene):self.play(Write(arb))self.wait(3)self.clear()+ jap = PangoText("臂猿「黛比」帶著孩子",font="sans-serif")+ self.play(Write(jap))+ self.wait(3)diff --git a/poetry.lock b/poetry.lockindex 531d09aac..8e3881778 100644--- a/poetry.lock+++ b/poetry.lock@@ -49,6 +49,10 @@ toml = ">=0.10.1"typed-ast = ">=1.4.0"typing-extensions = ">=3.7.4"+[package.dependencies.dataclasses]+python = "<3.7"+version = ">=0.6"+[package.extras]colorama = ["colorama (>=0.4.3)"]d = ["aiohttp (>=3.3.2)", "aiohttp-cors"]@@ -120,6 +124,15 @@ version = "0.9.1"[package.extras]test = ["flake8 (3.7.8)", "hypothesis (3.55.3)"]+[[package]]+category = "main"+description = "A backport of the dataclasses module for Python 3.6"+marker = "python_version >= \"3.6\" and python_version < \"3.7\" or platform_python_implementation == \"CPython\" and python_version < \"3.7\""+name = "dataclasses"+optional = false+python-versions = ">=3.6, <3.7"+version = "0.7"+[[package]]category = "dev"description = "Read metadata from Python packages"@@ -127,7 +140,7 @@ marker = "python_version < \"3.8\""name = "importlib-metadata"optional = falsepython-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"-version = "1.7.0"+version = "2.0.0"[package.dependencies]zipp = ">=0.5"@@ -265,6 +278,7 @@ version = "1.19.2"[package.source]reference = "testpypi"+type = "legacy"url = "https://test.pypi.org/simple"[[package]]@@ -358,6 +372,10 @@ commonmark = ">=0.9.0,<0.10.0"pygments = ">=2.6.0,<3.0.0"typing-extensions = ">=3.7.4,<4.0.0"+[package.dependencies.dataclasses]+python = ">=3.6,<3.7"+version = ">=0.7,<0.8"+[package.extras]jupyter = ["ipywidgets (>=7.5.1,<8.0.0)"]@@ -430,8 +448,9 @@ docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"]testing = ["pytest (>=3.5,<3.7.3 || >3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "jaraco.test (>=3.2.0)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy"][metadata]-content-hash = "bf5bcbfced67910b7c6705810d505f4a256f1338f7908dbc45d476c6bc6d24f6"-python-versions = "^3.7"+content-hash = "1680503d879b62584edec047ab063847f90fa06408272bd6d7b8096cd8ab11f9"+lock-version = "1.0"+python-versions = "^3.6"[metadata.files]appdirs = [@@ -447,6 +466,7 @@ attrs = [{file = "attrs-20.2.0.tar.gz", hash = "sha256:26b54ddbbb9ee1d34d5d3668dd37d6cf74990ab23c828c2888dccdceee395594"},]black = [+ {file = "black-20.8b1-py3-none-any.whl", hash = "sha256:70b62ef1527c950db59062cda342ea224d772abdf6adc58b86a45421bab20a6b"},{file = "black-20.8b1.tar.gz", hash = "sha256:1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea"},]cairocffi = [@@ -506,9 +526,13 @@ commonmark = [{file = "commonmark-0.9.1-py2.py3-none-any.whl", hash = "sha256:da2f38c92590f83de410ba1a3cbceafbc74fee9def35f9251ba9a971d6d66fd9"},{file = "commonmark-0.9.1.tar.gz", hash = "sha256:452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60"},]+dataclasses = [+ {file = "dataclasses-0.7-py3-none-any.whl", hash = "sha256:3459118f7ede7c8bea0fe795bff7c6c2ce287d01dd226202f7c9ebc0610a7836"},+ {file = "dataclasses-0.7.tar.gz", hash = "sha256:494a6dcae3b8bcf80848eea2ef64c0cc5cd307ffc263e17cdf42f3e5420808e6"},+]importlib-metadata = [- {file = "importlib_metadata-1.7.0-py2.py3-none-any.whl", hash = "sha256:dc15b2969b4ce36305c51eebe62d418ac7791e9a157911d58bfb1f9ccd8e2070"},- {file = "importlib_metadata-1.7.0.tar.gz", hash = "sha256:90bb658cdbbf6d1735b6341ce708fc7024a3e14e99ffdc5783edea9f9b077f83"},+ {file = "importlib_metadata-2.0.0-py2.py3-none-any.whl", hash = "sha256:cefa1a2f919b866c5beb7c9f7b0ebb4061f30a8a9bf16d609b000e2dfaceb9c3"},+ {file = "importlib_metadata-2.0.0.tar.gz", hash = "sha256:77a540690e24b0305878c37ffd421785a6f7e53c8b5720d211b211de8d0e95da"},]iniconfig = [{file = "iniconfig-1.0.1-py3-none-any.whl", hash = "sha256:80cf40c597eb564e86346103f609d74efce0f6b4d4f30ec8ce9e2c26411ba437"},@@ -612,8 +636,6 @@ pycairo = [{file = "pycairo-1.19.2-cp37-cp37m-win_amd64.whl", hash = "sha256:927fbb4f62a60177d69e17d9049f98438a9fe5e6d6553754dca7d65ab73b1995"},{file = "pycairo-1.19.2-cp38-cp38-win32.whl", hash = "sha256:5041b1c8bafc45e46b7847d86bef34ad7a94b03a3a855b7bd637a03588a66734"},{file = "pycairo-1.19.2-cp38-cp38-win_amd64.whl", hash = "sha256:8dc94be70ef8b3df858ea21bb4664f2e67fc0e048bb03f4be25b26824e4883b0"},- {file = "pycairo-1.19.2-cp39-cp39-win32.whl", hash = "sha256:fea7217a36fab37c93e1ad0b13c1ea82af721e8aaf0c57e0ded8e3ddf9ff69a9"},- {file = "pycairo-1.19.2-cp39-cp39-win_amd64.whl", hash = "sha256:0216c5343ea58bfa12204d4baa79f8b46f6f8e4f7fd4937ef765e25e17b230ba"},{file = "pycairo-1.19.2.tar.gz", hash = "sha256:2c143183280feb67f5beb4e543fd49990c28e7df427301ede04fc550d3562e84"},]pycparser = [diff --git a/pyproject.toml b/pyproject.tomlindex 8e618f10c..b7f6fb0cd 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -24,7 +24,7 @@ packages = [][tool.poetry.dependencies]-python = "^3.7"+python = "^3.6"colour = "*"numpy = "*"Pillow = "*"@@ -41,9 +41,9 @@ pycairo = []pangocffi = "^0.6.0"pangocairocffi = "^0.3.0"-# add cairocffi-cairocffi = "^1.1.0"+dataclasses = {version = "^0.7", python = "~3.6"}+[tool.poetry.dev-dependencies]pytest = "^6.0"