Version Information subcommand `manim version`
See original GitHub issueFeature request
implement a manim version
command.
What should the command do?
Tell you exactly which version of manim you are running. Either release number or commit-hash and date
Why?
It makes it easier to help people with their problems. It makes it easier to catch error arising due to multiple versions being installed locally.
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
Configuration - Manim Community v0.17.1
Manim provides an extensive configuration system that allows it to adapt to many different use cases. There are many configuration options that can...
Read more >manim/commands.py at main - render - GitHub
A community-maintained Python framework for creating mathematical animations. - manim/commands.py at main · ManimCommunity/manim.
Read more >CLI flags and configuration - manim documentation
flag abbr function
‑‑help ‑h Show the help message and exit
‑‑version ‑v Display the version of manimgl
‑‑write_file ‑w Render the scene as a movie...
Read more >Help formatting and themes - cloup v2.0 - Read the Docs
Context-level settings propagate to subcommands, while command-level settings ... (or a callable) that takes a string and returns a styled version of it....
Read more >[PATCH 00/12] gnu: Add python-manim - Guix issue tracker
+ (file-name (git-file-name name version)). + (sha256. + (base32 ... + "This python module provides means to access information about physical.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@cobordism, the
manim new
you propose is already proposed and discussed #244. The wider issue of subcommands and the CLI interface is related to #452. The only subcommand we currently have ismanim cfg
, which already exports a user-widecfg
file.So let’s keep this issue for discussing the
version
functionality. I am neutral as to whether this should be implemented asmanim version
ormanim --version
, though TBH the latter sounds more natural to me.On every packaged release we have to include a version number. On a version that is not packaged (i.e. it has been installed by cloning the repo), you can just print the latest commit by asking git. No need to hard-code the commit hash.
OR we should investigate how “nightly” python packages do this.