Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Changed all references to manimcm to manimce

Groctel89b7060edde3
diff --git a/manim/config/config_utils.py b/manim/config/config_utils.py
index d97b8215a..b88bfc8dc 100644
--- a/manim/config/config_utils.py
+++ b/manim/config/config_utils.py
@@ -494,15 +494,15 @@ def _init_dirs(config):
def _from_command_line():
"""Determine if manim was called from the command line."""
# Manim can be called from the command line in three different
- # ways. The first two involve using the manim or manimcm commands.
+ # ways. The first two involve using the manim or manimce commands.
# Note that some Windows CLIs replace those commands with the path
# to their executables, so we must check for this as well
prog = os.path.split(sys.argv[0])[-1]
- from_cli_command = prog in ["manim", "manim.exe", "manimcm", "manimcm.exe"]
+ from_cli_command = prog in ["manim", "manim.exe", "manimce", "manimce.exe"]
# The third way involves using `python -m manim ...`. In this
# case, the CLI arguments passed to manim do not include 'manim',
- # 'manimcm', or even 'python'. However, the -m flag will always
+ # 'manimce', or even 'python'. However, the -m flag will always
# be the first argument.
from_python_m = sys.argv[0] == "-m"
diff --git a/pyproject.toml b/pyproject.toml
index 4e4fd6986..3ebb11782 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -60,7 +60,7 @@ markers = "slow: Mark the test as slow. Can be skipped with --skip_slow"
[tool.poetry.plugins]
[tool.poetry.plugins."console_scripts"]
"manim" = "manim.__main__:main"
-"manimcm" = "manim.__main__:main"
+"manimce" = "manim.__main__:main"
[build-system]
requires = ["poetry>=0.12"]