mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-09-19 04:16:02 +08:00
refactor(lib): rename main
to __main__
(#82)
* refactor(lib): rename `main` to `__main__` This allows to call the module using `python -m manim-slides`, useful for profiling, etc. * fix(setup): update name
This commit is contained in:
@ -23,6 +23,6 @@ This page contains an exhaustive list of all the commands available with `manim-
|
|||||||
|
|
||||||
If you need help installing or using Manim Slide, please refer to the `GitHub README <https://github.com/jeertmans/manim-slides>`_.
|
If you need help installing or using Manim Slide, please refer to the `GitHub README <https://github.com/jeertmans/manim-slides>`_.
|
||||||
|
|
||||||
.. click:: manim_slides.main:cli
|
.. click:: manim_slides.__main__:cli
|
||||||
:prog: manim-slides
|
:prog: manim-slides
|
||||||
:nested: full
|
:nested: full
|
||||||
|
@ -49,4 +49,4 @@ documentation = "https://eertmans.be/manim-slides"
|
|||||||
repository = "https://github.com/jeertmans/manim-slides"
|
repository = "https://github.com/jeertmans/manim-slides"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
manim-slides = "manim_slides.main:cli"
|
manim-slides = "manim_slides.__main__:cli"
|
||||||
|
Reference in New Issue
Block a user