Skip to content

Commit

Permalink
try making skia-pathops optional
Browse files Browse the repository at this point in the history
  • Loading branch information
behackl committed May 16, 2022
1 parent f46a593 commit 859deb5
Show file tree
Hide file tree
Showing 3 changed files with 343 additions and 339 deletions.
8 changes: 7 additions & 1 deletion manim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
from .constants import *
from .mobject.frame import *
from .mobject.geometry.arc import *
from .mobject.geometry.boolean_ops import *
from .mobject.geometry.line import *
from .mobject.geometry.polygram import *
from .mobject.geometry.shape_matchers import *
Expand Down Expand Up @@ -109,6 +108,13 @@
from .utils.tex import *
from .utils.tex_templates import *

try:
from .mobject.geometry.boolean_ops import *
except ImportError:
logger.warning(
"The boolean operations module is unavailable due to a missing dependency."
)

try:
from IPython import get_ipython

Expand Down
Loading

0 comments on commit 859deb5

Please sign in to comment.