diff --git a/CliRenderer/__main__.py b/CliRenderer/__main__.py index bb9b451..67a0334 100644 --- a/CliRenderer/__main__.py +++ b/CliRenderer/__main__.py @@ -60,6 +60,7 @@ def cli_main(source: str = typer.Argument(..., help="The path to source image.", def main(): + importlib.metadata rich.print(f"[bold white]CliRenderer installed version: {importlib.metadata.version('CliRenderer')}.[/bold white] {'dev mode on' if isDev else ''}") rich.print("[grey37]Version shown may not be accurate! (especially you are running from source!)[/grey37]\n") typer.run(cli_main) diff --git a/pyproject.toml b/pyproject.toml index 5f8f5e3..edcd173 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,5 @@ +[project] +requires-python = ">=3.9" [build-system] build-backend = "setuptools.build_meta" requires = ["setuptools", "wheel"] \ No newline at end of file