From 3a85fe4f3a9e15f90da1cbdaa407aee81ce41347 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 26 May 2023 22:17:43 -0500 Subject: [PATCH] fix: make installed copy work when viv isn't on PYTHONPATH --- pyproject.toml | 2 +- src/viv/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a870435..2aad701 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ homepage = "https://github.com/daylinmorgan/viv" repository = "https://github.com/daylinmorgan/viv" [project.scripts] -viv = "viv.viv:main" +viv = "viv:main" [tool.pdm] version = { source = "scm" } diff --git a/src/viv/__init__.py b/src/viv/__init__.py index da6f511..4a399d1 100644 --- a/src/viv/__init__.py +++ b/src/viv/__init__.py @@ -1 +1 @@ -from .viv import use, __version__ # noqa +from .viv import __version__, use, main # noqa