mirror of
https://github.com/3b1b/manim.git
synced 2025-08-19 13:01:00 +00:00
Get rid of get_tex_dir and get_text_dir
This commit is contained in:
parent
ac01b144e8
commit
0c385e820f
3 changed files with 0 additions and 10 deletions
|
@ -21,7 +21,6 @@ from manimlib.utils.color import color_to_hex
|
||||||
from manimlib.utils.color import int_to_hex
|
from manimlib.utils.color import int_to_hex
|
||||||
from manimlib.utils.customization import get_customization
|
from manimlib.utils.customization import get_customization
|
||||||
from manimlib.utils.directories import get_downloads_dir
|
from manimlib.utils.directories import get_downloads_dir
|
||||||
from manimlib.utils.directories import get_text_dir
|
|
||||||
from manimlib.utils.simple_functions import hash_string
|
from manimlib.utils.simple_functions import hash_string
|
||||||
|
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
|
@ -14,14 +14,6 @@ def get_temp_dir() -> str:
|
||||||
return get_directories()["temporary_storage"]
|
return get_directories()["temporary_storage"]
|
||||||
|
|
||||||
|
|
||||||
def get_tex_dir() -> str:
|
|
||||||
return guarantee_existence(os.path.join(get_temp_dir(), "Tex"))
|
|
||||||
|
|
||||||
|
|
||||||
def get_text_dir() -> str:
|
|
||||||
return guarantee_existence(os.path.join(get_temp_dir(), "Text"))
|
|
||||||
|
|
||||||
|
|
||||||
def get_mobject_data_dir() -> str:
|
def get_mobject_data_dir() -> str:
|
||||||
return guarantee_existence(os.path.join(get_temp_dir(), "mobject_data"))
|
return guarantee_existence(os.path.join(get_temp_dir(), "mobject_data"))
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ import tempfile
|
||||||
from manimlib.config import get_custom_config
|
from manimlib.config import get_custom_config
|
||||||
from manimlib.config import get_manim_dir
|
from manimlib.config import get_manim_dir
|
||||||
from manimlib.logger import log
|
from manimlib.logger import log
|
||||||
from manimlib.utils.directories import get_tex_dir
|
|
||||||
from manimlib.utils.simple_functions import hash_string
|
from manimlib.utils.simple_functions import hash_string
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue