A community-maintained Python framework for creating mathematical animations.
Hot reloading for the OpenGL renderer (#1381)
Devin Neal84c47bfddf77
diff --git a/manim/cli/render/commands.py b/manim/cli/render/commands.pyindex 64d32979f..c51dd528b 100644--- a/manim/cli/render/commands.py+++ b/manim/cli/render/commands.py@@ -16,6 +16,7 @@ import requestsfrom ... import __version__, config, console, loggerfrom ...constants import CONTEXT_SETTINGS, EPILOG+from ...utils.exceptions import RerunSceneExceptionfrom ...utils.module_ops import scene_classes_from_filefrom .ease_of_access_options import ease_of_access_optionsfrom .global_options import global_optionsdiff --git a/manim/scene/scene.py b/manim/scene/scene.pyindex 89b8e9a8d..36f370200 100644--- a/manim/scene/scene.py+++ b/manim/scene/scene.py@@ -16,6 +16,8 @@ from queue import Queueimport numpy as npfrom tqdm import tqdm+from watchdog.events import FileSystemEventHandler+from watchdog.observers import Observerfrom .. import config, loggerfrom ..animation.animation import Animation, Wait, prepare_animation@@ -33,6 +35,17 @@ from ..utils.iterables import list_difference_update, list_updatefrom ..utils.space_ops import rotate_vector+class RerunSceneHandler(FileSystemEventHandler):+ """A class to handle rerunning a Scene after the input file is modified."""++ def __init__(self, queue):+ super().__init__()+ self.queue = queue++ def on_modified(self, event):+ self.queue.put(("rerun_file", [], {}))++class Scene(Container):"""A Scene is the canvas of your animation.@@ -85,6 +98,7 @@ class Scene(Container):self.duration = Noneself.last_t = Noneself.queue = Queue()+ self.skip_animation_preview = Falseif config.renderer == "opengl":# Items associated with interaction@@ -911,7 +925,7 @@ class Scene(Container):)for t in self.time_progression:self.update_to_time(t)- if not skip_rendering:+ if not skip_rendering and not self.skip_animation_preview:self.renderer.render(self, t, self.moving_mobjects)if self.stop_condition is not None and self.stop_condition():self.time_progression.close()@@ -972,15 +986,26 @@ class Scene(Container):args=(shell, local_namespace),)keyboard_thread.start()+self.interact(shell, keyboard_thread)- def interact(self, shell=None, keyboard_thread=None):+ def interact(self, shell, keyboard_thread):+ event_handler = RerunSceneHandler(self.queue)+ file_observer = Observer()+ file_observer.schedule(event_handler, config["input_file"], recursive=True)+ file_observer.start()+self.quit_interaction = Falsekeyboard_thread_needs_join = Truewhile not (self.renderer.window.is_closing or self.quit_interaction):if not self.queue.empty():tup = self.queue.get_nowait()if tup[0].startswith("rerun"):+ # Intentionally skip calling join() on the file thread to save time.+ if not tup[0].endswith("keyboard"):+ shell.pt_app.app.exit(exception=EOFError)+ keyboard_thread.join()+kwargs = tup[2]if "from_animation_number" in kwargs:config["from_animation_number"] = kwargs[diff --git a/poetry.lock b/poetry.lockindex d1f980bd2..0515c342b 100644--- a/poetry.lock+++ b/poetry.lock@@ -250,7 +250,7 @@ optional = falsepython-versions = "*"[package.extras]-test = ["flake8 (==3.7.8)", "hypothesis (==3.55.3)"]+test = ["flake8 (3.7.8)", "hypothesis (3.55.3)"][[package]]name = "contextvars"@@ -344,7 +344,7 @@ python-versions = "*"[[package]]name = "docutils"-version = "0.17"+version = "0.17.1"description = "Docutils -- Python Documentation Utilities"category = "dev"optional = false@@ -368,7 +368,7 @@ python-versions = "*"[[package]]name = "flake8"-version = "3.9.0"+version = "3.9.1"description = "the modular source code checker: pep8 pyflakes and co"category = "dev"optional = false@@ -409,14 +409,15 @@ smmap = ">=3.0.1,<5"[[package]]name = "gitpython"-version = "3.1.14"+version = "3.1.15"description = "Python Git Library"category = "dev"optional = false-python-versions = ">=3.4"+python-versions = ">=3.5"[package.dependencies]gitdb = ">=4.0.1,<5"+typing-extensions = ">=3.7.4.0"[[package]]name = "glcontext"@@ -454,7 +455,7 @@ protobuf = ">=3.5.0.post1,<4.0dev"[[package]]name = "identify"-version = "2.2.3"+version = "2.2.4"description = "File identification library for Python"category = "dev"optional = false@@ -492,7 +493,7 @@ test = ["flake8 (>=3.8.4,<3.9.0)", "pycodestyle (>=2.6.0,<2.7.0)"][[package]]name = "importlib-metadata"-version = "3.10.0"+version = "4.0.1"description = "Read metadata from Python packages"category = "main"optional = false@@ -611,7 +612,7 @@ python-versions = ">=3.6"parso = ">=0.8.0,<0.9.0"[package.extras]-qa = ["flake8 (==3.8.3)", "mypy (==0.782)"]+qa = ["flake8 (3.8.3)", "mypy (0.782)"]testing = ["Django (<3.1)", "colorama", "docopt", "pytest (<6.0.0)"][[package]]@@ -691,7 +692,7 @@ traitlets = "*"[[package]]name = "jupyter-packaging"-version = "0.8.3"+version = "0.9.2"description = "Jupyter Packaging Utilities."category = "main"optional = true@@ -707,19 +708,20 @@ test = ["build", "coverage", "pytest", "pytest-cov", "pytest-mock"][[package]]name = "jupyter-server"-version = "1.6.0"+version = "1.6.4"description = "The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications."category = "main"optional = truepython-versions = ">=3.6"[package.dependencies]-anyio = ">=2.0.2"+anyio = ">=2.0.2,<3"argon2-cffi = "*"ipython-genutils = "*"jinja2 = "*"jupyter-client = ">=6.1.1"jupyter-core = ">=4.4.0"+jupyter-packaging = ">=0.9,<1.0"nbconvert = "*"nbformat = "*"prometheus-client = "*"@@ -731,7 +733,7 @@ tornado = ">=6.1.0"traitlets = ">=4.2.1"[package.extras]-test = ["coverage", "requests", "pytest", "pytest-cov", "pytest-tornasync", "pytest-console-scripts", "ipykernel"]+test = ["coverage", "pytest", "pytest-cov", "pytest-mock", "requests", "pytest-tornasync", "pytest-console-scripts", "ipykernel"][[package]]name = "jupyterlab"@@ -805,7 +807,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"[[package]]name = "manimpango"-version = "0.2.5.post0"+version = "0.2.6"description = "Bindings for Pango for using with Manim."category = "main"optional = false@@ -892,7 +894,7 @@ pyrr = ">=0.10.3,<1"pysdl2 = ["pysdl2"]pyside2 = ["PySide2 (<6)"]glfw = ["glfw"]-pygame = ["pygame (==2.0.0.dev10)"]+pygame = ["pygame (2.0.0.dev10)"]pyqt5 = ["pyqt5"]pywavefront = ["pywavefront (>=1.2.0,<2)"]tk = ["pyopengltk (>=0.0.3)"]@@ -976,11 +978,11 @@ testpath = "*"traitlets = ">=4.2"[package.extras]-all = ["pytest", "pytest-cov", "pytest-dependency", "ipykernel", "ipywidgets (>=7)", "pyppeteer (==0.2.2)", "tornado (>=4.0)", "sphinx (>=1.5.1)", "sphinx-rtd-theme", "nbsphinx (>=0.2.12)", "ipython"]+all = ["pytest", "pytest-cov", "pytest-dependency", "ipykernel", "ipywidgets (>=7)", "pyppeteer (0.2.2)", "tornado (>=4.0)", "sphinx (>=1.5.1)", "sphinx-rtd-theme", "nbsphinx (>=0.2.12)", "ipython"]docs = ["sphinx (>=1.5.1)", "sphinx-rtd-theme", "nbsphinx (>=0.2.12)", "ipython"]serve = ["tornado (>=4.0)"]-test = ["pytest", "pytest-cov", "pytest-dependency", "ipykernel", "ipywidgets (>=7)", "pyppeteer (==0.2.2)"]-webpdf = ["pyppeteer (==0.2.2)"]+test = ["pytest", "pytest-cov", "pytest-dependency", "ipykernel", "ipywidgets (>=7)", "pyppeteer (0.2.2)"]+webpdf = ["pyppeteer (0.2.2)"][[package]]name = "nbformat"@@ -1105,7 +1107,7 @@ optional = truepython-versions = ">=3.6"[package.extras]-qa = ["flake8 (==3.8.3)", "mypy (==0.782)"]+qa = ["flake8 (3.8.3)", "mypy (0.782)"]testing = ["docopt", "pytest (<6.0.0)"][[package]]@@ -1159,7 +1161,7 @@ dev = ["pre-commit", "tox"][[package]]name = "pre-commit"-version = "2.12.0"+version = "2.12.1"description = "A framework for managing and maintaining multi-language pre-commit hooks."category = "dev"optional = false@@ -1282,7 +1284,7 @@ integrations = ["cryptography"][[package]]name = "pyglet"-version = "1.5.15"+version = "1.5.16"description = "Cross-platform windowing and multimedia library"category = "main"optional = false@@ -1325,7 +1327,7 @@ mccabe = ">=0.6,<0.7"toml = ">=0.7.1"[package.extras]-docs = ["sphinx (==3.5.1)", "python-docs-theme (==2020.12)"]+docs = ["sphinx (3.5.1)", "python-docs-theme (2020.12)"][[package]]name = "pyparsing"@@ -1390,7 +1392,7 @@ coverage = ">=5.2.1"pytest = ">=4.6"[package.extras]-testing = ["fields", "hunter", "process-tests (==2.0.2)", "six", "pytest-xdist", "virtualenv"]+testing = ["fields", "hunter", "process-tests (2.0.2)", "six", "pytest-xdist", "virtualenv"][[package]]name = "python-dateutil"@@ -1478,7 +1480,7 @@ python-versions = "*"[package.extras]security = ["cryptography (>=1.3.4)", "idna (>=2.0.0)", "pyOpenSSL (>=0.14)"]-socks = ["PySocks (>=1.5.6,!=1.5.7)", "win-inet-pton"]+socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7)", "win-inet-pton"][[package]]name = "rich"@@ -1603,7 +1605,7 @@ python-versions = "*"sphinx = ">=1.8"[package.extras]-code_style = ["flake8 (>=3.7.0,<3.8.0)", "black", "pre-commit (==1.17.0)"]+code_style = ["flake8 (>=3.7.0,<3.8.0)", "black", "pre-commit (1.17.0)"][[package]]name = "sphinxcontrib-applehelp"@@ -1785,7 +1787,7 @@ python-versions = "*"[[package]]name = "virtualenv"-version = "20.4.3"+version = "20.4.4"description = "Virtual Python Environment builder"category = "dev"optional = false@@ -1808,7 +1810,7 @@ name = "watchdog"version = "2.0.2"description = "Filesystem events monitoring"category = "main"-optional = true+optional = falsepython-versions = ">=3.6"[package.extras]@@ -1857,7 +1859,7 @@ webgl_renderer = ["grpcio", "grpcio-tools", "watchdog"][metadata]lock-version = "1.1"python-versions = "^3.6.2"-content-hash = "703367c80ac07b34620d6e4b65907ff9cc58dcbe01443150351a30c96b4f5615"+content-hash = "70c92aa870478ab2e6f113246c968c04be2578cbb60d21d3ee001394dc321d36"[metadata.files]alabaster = [@@ -2084,8 +2086,8 @@ distlib = [{file = "distlib-0.3.1.zip", hash = "sha256:edf6116872c863e1aa9d5bb7cb5e05a022c519a4594dc703843343a9ddd9bff1"},]docutils = [- {file = "docutils-0.17-py2.py3-none-any.whl", hash = "sha256:a71042bb7207c03d5647f280427f14bfbd1a65c9eb84f4b341d85fafb6bb4bdf"},- {file = "docutils-0.17.tar.gz", hash = "sha256:e2ffeea817964356ba4470efba7c2f42b6b0de0b04e66378507e3e2504bbff4c"},+ {file = "docutils-0.17.1-py2.py3-none-any.whl", hash = "sha256:cf316c8370a737a022b72b56874f6602acf974a37a9fba42ec2876387549fc61"},+ {file = "docutils-0.17.1.tar.gz", hash = "sha256:686577d2e4c32380bb50cbb22f575ed742d58168cee37e99117a854bcd88f125"},]entrypoints = [{file = "entrypoints-0.3-py2.py3-none-any.whl", hash = "sha256:589f874b313739ad35be6e0cd7efde2a4e9b6fea91edcc34e58ecbb8dbe56d19"},@@ -2096,8 +2098,8 @@ filelock = [{file = "filelock-3.0.12.tar.gz", hash = "sha256:18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59"},]flake8 = [- {file = "flake8-3.9.0-py2.py3-none-any.whl", hash = "sha256:12d05ab02614b6aee8df7c36b97d1a3b2372761222b19b58621355e82acddcff"},- {file = "flake8-3.9.0.tar.gz", hash = "sha256:78873e372b12b093da7b5e5ed302e8ad9e988b38b063b61ad937f26ca58fc5f0"},+ {file = "flake8-3.9.1-py2.py3-none-any.whl", hash = "sha256:3b9f848952dddccf635be78098ca75010f073bfe14d2c6bda867154bea728d2a"},+ {file = "flake8-3.9.1.tar.gz", hash = "sha256:1aa8990be1e689d96c745c5682b687ea49f2e05a443aff1f8251092b0014e378"},]furo = [{file = "furo-2021.4.11b34-py3-none-any.whl", hash = "sha256:576a1dc1bcbe337d7c53cbc75b886802778a5964fd2e3324433d706066e9aea8"},@@ -2108,8 +2110,8 @@ gitdb = [{file = "gitdb-4.0.7.tar.gz", hash = "sha256:96bf5c08b157a666fec41129e6d327235284cca4c81e92109260f353ba138005"},]gitpython = [- {file = "GitPython-3.1.14-py3-none-any.whl", hash = "sha256:3283ae2fba31c913d857e12e5ba5f9a7772bbc064ae2bb09efafa71b0dd4939b"},- {file = "GitPython-3.1.14.tar.gz", hash = "sha256:be27633e7509e58391f10207cd32b2a6cf5b908f92d9cd30da2e514e1137af61"},+ {file = "GitPython-3.1.15-py3-none-any.whl", hash = "sha256:a77824e516d3298b04fb36ec7845e92747df8fcfee9cacc32dd6239f9652f867"},+ {file = "GitPython-3.1.15.tar.gz", hash = "sha256:05af150f47a5cca3f4b0af289b73aef8cf3c4fe2385015b06220cbcdee48bb6e"},]glcontext = [{file = "glcontext-2.3.3-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:f518379551a2b60d45c1eec23759cb1ee85517d4b943fc31530b6ab13e304fe4"},@@ -2234,8 +2236,8 @@ grpcio-tools = [{file = "grpcio_tools-1.33.2-cp39-cp39-win_amd64.whl", hash = "sha256:b68ce929acb8c392b83c49257e18f03d73ca3af408bfd5f7e78fe351c384c008"},]identify = [- {file = "identify-2.2.3-py2.py3-none-any.whl", hash = "sha256:398cb92a7599da0b433c65301a1b62b9b1f4bb8248719b84736af6c0b22289d6"},- {file = "identify-2.2.3.tar.gz", hash = "sha256:4537474817e0bbb8cea3e5b7504b7de6d44e3f169a90846cbc6adb0fc8294502"},+ {file = "identify-2.2.4-py2.py3-none-any.whl", hash = "sha256:ad9f3fa0c2316618dc4d840f627d474ab6de106392a4f00221820200f490f5a8"},+ {file = "identify-2.2.4.tar.gz", hash = "sha256:9bcc312d4e2fa96c7abebcdfb1119563b511b5e3985ac52f60d9116277865b2e"},]idna = [{file = "idna-3.1-py3-none-any.whl", hash = "sha256:5205d03e7bcbb919cc9c19885f9920d622ca52448306f2377daede5cf3faac16"},@@ -2263,8 +2265,8 @@ immutables = [{file = "immutables-0.15.tar.gz", hash = "sha256:3713ab1ebbb6946b7ce1387bb9d1d7f5e09c45add58c2a2ee65f963c171e746b"},]importlib-metadata = [- {file = "importlib_metadata-3.10.0-py3-none-any.whl", hash = "sha256:d2d46ef77ffc85cbf7dac7e81dd663fde71c45326131bea8033b9bad42268ebe"},- {file = "importlib_metadata-3.10.0.tar.gz", hash = "sha256:c9db46394197244adf2f0b08ec5bc3cf16757e9590b02af1fca085c16c0d600a"},+ {file = "importlib_metadata-4.0.1-py3-none-any.whl", hash = "sha256:d7eb1dea6d6a6086f8be21784cc9e3bcfa55872b52309bc5fad53a8ea444465d"},+ {file = "importlib_metadata-4.0.1.tar.gz", hash = "sha256:8c501196e49fb9df5df43833bdb1e4328f64847763ec8a50703148b73784d581"},]importlib-resources = [{file = "importlib_resources-5.1.2-py3-none-any.whl", hash = "sha256:ebab3efe74d83b04d6bf5cd9a17f0c5c93e60fb60f30c90f56265fce4682a469"},@@ -2315,12 +2317,12 @@ jupyter-core = [{file = "jupyter_core-4.7.1.tar.gz", hash = "sha256:79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4"},]jupyter-packaging = [- {file = "jupyter_packaging-0.8.3-py2.py3-none-any.whl", hash = "sha256:67b37ea81c37d12aefe1057c99b3e3121f5c6a49605249f45a302c3b45d94c1f"},- {file = "jupyter_packaging-0.8.3.tar.gz", hash = "sha256:c52debebf8b23e5903ef22053294885440b77c525b1035afa7268585fc1a83a7"},+ {file = "jupyter_packaging-0.9.2-py2.py3-none-any.whl", hash = "sha256:7d2cff62d0b0cf5267f5cd9edb4bd04591f68aa919bf026e7787f0424c0e7c55"},+ {file = "jupyter_packaging-0.9.2.tar.gz", hash = "sha256:780082b43506eccb3fb39ed9306300b637245e622a9644701c60d89992468822"},]jupyter-server = [- {file = "jupyter_server-1.6.0-py3-none-any.whl", hash = "sha256:b0ae09aeaf4a73d4f195d55ade9bfdc2e399276c158e27ce820796d2e10ba1f5"},- {file = "jupyter_server-1.6.0.tar.gz", hash = "sha256:348f2c744d1fa1676d314475e0be357a95b21cbe6e19d15c2a25a9ea647f99d2"},+ {file = "jupyter_server-1.6.4-py3-none-any.whl", hash = "sha256:942b9a092f79b3663f78c8003a411e6672f0ca8cfc64a59657060a0e5a02a0cb"},+ {file = "jupyter_server-1.6.4.tar.gz", hash = "sha256:21c20986047563aba2997cb10ba9441a162ec1d65b5aece9d5fa625602bb2b40"},]jupyterlab = [{file = "jupyterlab-3.0.14-py3-none-any.whl", hash = "sha256:223ad786032119f495edc894a81925b6cc327a184f150adbc4e5ef94965d4921"},@@ -2393,19 +2395,19 @@ lazy-object-proxy = [{file = "lazy_object_proxy-1.6.0-cp39-cp39-win_amd64.whl", hash = "sha256:f5144c75445ae3ca2057faac03fda5a902eff196702b0a24daf1d6ce0650514b"},]manimpango = [- {file = "ManimPango-0.2.5.post0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:53f754594ccedeaf464028777d4502fb31f2251b9dca7e99b40786b3e4ff394d"},- {file = "ManimPango-0.2.5.post0-cp36-cp36m-win32.whl", hash = "sha256:ac33cc00a89aabe7459043b7aab8851e4ec4c7fa78cea2b3dacb618b2b03c98b"},- {file = "ManimPango-0.2.5.post0-cp36-cp36m-win_amd64.whl", hash = "sha256:87e205f5a35ff5504104cd30b8d086e9f97c17f95cf490de7cc1d4aa8c2a8425"},- {file = "ManimPango-0.2.5.post0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:70e59f888ca5ad0be37777f761cee8fb3d6e28c5d949e5da13f727326b46da60"},- {file = "ManimPango-0.2.5.post0-cp37-cp37m-win32.whl", hash = "sha256:d9cc5ac80dd363fd4f3fa233f7fad74e9749965b6e4af10a2174f946fe1d9813"},- {file = "ManimPango-0.2.5.post0-cp37-cp37m-win_amd64.whl", hash = "sha256:3bef549783fc5e3f39598880e7cc41bb44dc2e37ceb8c7e20f0381fd8d67b3e8"},- {file = "ManimPango-0.2.5.post0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:978bcf4c6cf145f723ec551ed18a1959f6952f100d61c7b4431939ee850f9308"},- {file = "ManimPango-0.2.5.post0-cp38-cp38-win32.whl", hash = "sha256:db877a3a037739ce2f647f747bc750c7e9a881ce5175a4ad764170f24fb2d68a"},- {file = "ManimPango-0.2.5.post0-cp38-cp38-win_amd64.whl", hash = "sha256:2876c64724a73893ba22c250ddf603724865c650a925ddca76102eea0e489373"},- {file = "ManimPango-0.2.5.post0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e3694ae99ef758a8eaf847f77b0fa2bf7318ed2ee55a32b3a3bb155dd2d6ec9b"},- {file = "ManimPango-0.2.5.post0-cp39-cp39-win32.whl", hash = "sha256:139469a6130270e3cf94c4b01fa9b17dc516170a11b901ff0ce0f6cdff6752e9"},- {file = "ManimPango-0.2.5.post0-cp39-cp39-win_amd64.whl", hash = "sha256:aad57df6ec62585f52c662b84f2d5ff2c686daa8ca753326b6cde8b798c4da96"},- {file = "ManimPango-0.2.5.post0.tar.gz", hash = "sha256:c33d073d4389ad93bbac13029b8a0da5d8ee0b8fe7f282379ff95012e34d324e"},+ {file = "ManimPango-0.2.6-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:2a2d0ba8ca06e761650076a0e0050743acb2f1fb163f9b7db52decf95d91ced8"},+ {file = "ManimPango-0.2.6-cp36-cp36m-win32.whl", hash = "sha256:05c1d1af85d2016819f4ce40758d0ef6564baa121238ef6a88240ad96220a7a8"},+ {file = "ManimPango-0.2.6-cp36-cp36m-win_amd64.whl", hash = "sha256:ed9cc957df9513d31b450acdb8f9bc76885ed5eae1a71d71e939c3133c14eb09"},+ {file = "ManimPango-0.2.6-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:e094d1f136f99408bb10bf4748ee6b51efba68e54e310096e75a8d38bb7ef111"},+ {file = "ManimPango-0.2.6-cp37-cp37m-win32.whl", hash = "sha256:b2062fac21e968930cb91945a8bfcf4593a3152f8bea5d6950c6aa304eb831a7"},+ {file = "ManimPango-0.2.6-cp37-cp37m-win_amd64.whl", hash = "sha256:76d1ab6c131389e91cc84e0d3c4f746978cd301237ddd1e463f9463ff872d17f"},+ {file = "ManimPango-0.2.6-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:88bdd9c2714b94ee85da28002fd28122e4b26cb7ef74a48fe93d50cb06e8a35b"},+ {file = "ManimPango-0.2.6-cp38-cp38-win32.whl", hash = "sha256:28165fd23d8cfe7e260affa8d240d63bf66808f96154507ba534548b47834208"},+ {file = "ManimPango-0.2.6-cp38-cp38-win_amd64.whl", hash = "sha256:e74690f948c5fe2cc5e13f22683c1875155fee4a4a75c4e24ce1dc6e4f9f9883"},+ {file = "ManimPango-0.2.6-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:2297b1c829cfff6d91f5d32a7a8e903e30d0b28be8006e9f61fd653981ce7827"},+ {file = "ManimPango-0.2.6-cp39-cp39-win32.whl", hash = "sha256:de974e2435d445b1244a713b7b6ce4383bc6c574e0a1b59a6f33b8a16d1a147e"},+ {file = "ManimPango-0.2.6-cp39-cp39-win_amd64.whl", hash = "sha256:59a575fb28183fe68f3d8f5e93c98b7afa8e495eb0124ec09c660eef15adfcbb"},+ {file = "ManimPango-0.2.6.tar.gz", hash = "sha256:64028b62b151bc80b047cc1757b27943498416dc4a85f073892a524b4d90ab41"},]mapbox-earcut = [{file = "mapbox_earcut-0.12.10-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:2aaf7bdb002d36d38d1412088329a9176de3fcadc24a53951b76e49a27e34d78"},@@ -2707,8 +2709,8 @@ pluggy = [{file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"},]pre-commit = [- {file = "pre_commit-2.12.0-py2.py3-none-any.whl", hash = "sha256:029d53cb83c241fe7d66eeee1e24db426f42c858f15a38d20bcefd8d8e05c9da"},- {file = "pre_commit-2.12.0.tar.gz", hash = "sha256:46b6ffbab37986c47d0a35e40906ae029376deed89a0eb2e446fb6e67b220427"},+ {file = "pre_commit-2.12.1-py2.py3-none-any.whl", hash = "sha256:70c5ec1f30406250b706eda35e868b87e3e4ba099af8787e3e8b4b01e84f4712"},+ {file = "pre_commit-2.12.1.tar.gz", hash = "sha256:900d3c7e1bf4cf0374bb2893c24c23304952181405b4d88c9c40b72bda1bb8a9"},]prometheus-client = [{file = "prometheus_client-0.10.1-py2.py3-none-any.whl", hash = "sha256:030e4f9df5f53db2292eec37c6255957eb76168c6f974e4176c711cf91ed34aa"},@@ -2780,8 +2782,8 @@ pygithub = [{file = "PyGithub-1.54.1.tar.gz", hash = "sha256:300bc16e62886ca6537b0830e8f516ea4bc3ef12d308e0c5aff8bdbd099173d4"},]pyglet = [- {file = "pyglet-1.5.15-py3-none-any.whl", hash = "sha256:4401cc176580e4e17e2df8bbf7536f27e691327dc3f38f209a12f1859c70aed2"},- {file = "pyglet-1.5.15.zip", hash = "sha256:da9d8337388cedabf1f1c5dc21a45bb2b0e5327fba47f996c8573818c3dfa478"},+ {file = "pyglet-1.5.16-py3-none-any.whl", hash = "sha256:37cced6f4f7e30e7ace73779d068c86b3dc26f1a28b602016d37113ae830d7f8"},+ {file = "pyglet-1.5.16.zip", hash = "sha256:ad4a02d6fbebdaa748f8af6d2d388d64d446b6ccdfb9c0d7dfd49d7164913400"},]pygments = [{file = "Pygments-2.8.1-py3-none-any.whl", hash = "sha256:534ef71d539ae97d4c3a4cf7d6f110f214b0e687e92f9cb9d2a3b0d3101289c8"},@@ -3158,8 +3160,8 @@ typing-extensions = [{file = "typing_extensions-3.7.4.3.tar.gz", hash = "sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c"},]virtualenv = [- {file = "virtualenv-20.4.3-py2.py3-none-any.whl", hash = "sha256:83f95875d382c7abafe06bd2a4cdd1b363e1bb77e02f155ebe8ac082a916b37c"},- {file = "virtualenv-20.4.3.tar.gz", hash = "sha256:49ec4eb4c224c6f7dd81bb6d0a28a09ecae5894f4e593c89b0db0885f565a107"},+ {file = "virtualenv-20.4.4-py2.py3-none-any.whl", hash = "sha256:a935126db63128861987a7d5d30e23e8ec045a73840eeccb467c148514e29535"},+ {file = "virtualenv-20.4.4.tar.gz", hash = "sha256:09c61377ef072f43568207dc8e46ddeac6bcdcaf288d49011bda0e7f4d38c4a2"},]watchdog = [{file = "watchdog-2.0.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:1f518a6940cde8720b8826a705c164e6b9bd6cf8c00f14269ffac51e017e06ec"},diff --git a/pyproject.toml b/pyproject.tomlindex bfa5a7b77..11eae75e4 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -43,7 +43,7 @@ setuptools = "*"importlib-metadata = {version = "*", python = "<3.8"}grpcio = { version = "1.33.*", optional = true }grpcio-tools = { version = "1.33.*", optional = true }-watchdog = { version = "*", optional = true }+watchdog = "*"jupyterlab = { version = "^3.0", optional = true }moderngl = "^5.6.3"moderngl-window = "^2.3.0"@@ -52,7 +52,7 @@ cloup = "^0.7.0"requests = "*"[tool.poetry.extras]-webgl_renderer = ["grpcio","grpcio-tools","watchdog"]+webgl_renderer = ["grpcio","grpcio-tools"]jupyterlab = ["jupyterlab"][tool.poetry.dev-dependencies]