-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Relative imports #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relative imports #26
Conversation
From my analysis, the only thing that could break here is the |
By "test" I mean just running a few scenes and making sure they don't break. I don't think this should wait until we get pytest or something similar working. |
Would running the sample scenes discussed in #22 be enough of a test to merge this? |
I verified that all of the sample scenes run and actually even found a few missed imports. It's tested enough for me. |
* Use manimpango * Remove MarkUp Text not yet supported * add manimpango as dep * remove MarkupText from __all__ * Fix CairoText * Remove test for Pango * Run black * Update ManimPango * Try fixing MacOS CI by restricting version of grpc * Try fixing MacOS CI - 2 * Make MarkupText use manimpango (#26) * Update ManimPango * update manimpango * Remove pango installation docs * remove ffi workaround from Dockerfile * troubleshooting: new entry for manimpango, hint for update for old pango problems Co-authored-by: Philipp Imhof <52650214+PhilippImhof@users.noreply.github.com> Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Converts all of the absolute imports in manimlib into relative imports as described in #15.
This required moving get_module() from config.py to extract_scene.py in order to prevent the user's code from triggering imports from constants.py until after the directories were initialized.
I would highly recommend testing this PR with a few scenes.