fix: make installed copy work when viv isn't on PYTHONPATH

This commit is contained in:
Daylin Morgan 2023-05-26 22:17:43 -05:00
parent ca67431a79
commit 3a85fe4f3a
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ homepage = "https://github.com/daylinmorgan/viv"
repository = "https://github.com/daylinmorgan/viv" repository = "https://github.com/daylinmorgan/viv"
[project.scripts] [project.scripts]
viv = "viv.viv:main" viv = "viv:main"
[tool.pdm] [tool.pdm]
version = { source = "scm" } version = { source = "scm" }

View file

@ -1 +1 @@
from .viv import use, __version__ # noqa from .viv import __version__, use, main # noqa