diff --git a/CliRenderer/__main__.py b/CliRenderer/__main__.py index 67a0334..bb9b451 100644 --- a/CliRenderer/__main__.py +++ b/CliRenderer/__main__.py @@ -60,7 +60,6 @@ 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 4677ab8..a95b781 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "CliRenderer" -version = "0.1.6.post3" +version = "0.1.6.post4" requires-python = ">=3.9" authors = [ { name = "ultraflame4", email = "ultraflame4@gmail.com" } @@ -13,7 +13,7 @@ dependencies = [ "numpy~=1.24.2", "Pillow~=9.5.0", "rich~=13.3.4", - "typer~=0.7.0", + "typer~=0.9.0", "imageio~=2.27.0", "validators~=0.21.2" ] @@ -30,4 +30,4 @@ build-backend = "setuptools.build_meta" requires = ["setuptools", "wheel"] [tool.setuptools] -py-modules = ["CliRenderer"] \ No newline at end of file +packages = ["CliRenderer"]