From ae77c15827bc3a6adb6b18feae1cfb1838d2b3b5 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 31 May 2023 10:46:37 -0500 Subject: [PATCH] refactor: replace references with new url --- src/viv/viv.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/viv/viv.py b/src/viv/viv.py index 9cd27f5..85e3a08 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -51,7 +51,7 @@ from typing import ( from urllib.error import HTTPError from urllib.request import urlopen -__version__ = "23.5a4-13-ga6bd81d-dev" +__version__ = "23.5a4-15-gdf54955-dev" class Config: @@ -376,7 +376,7 @@ to create/activate a vivenv: "\n".join((self._standalone_func, self._use_str(spec, standalone=True))) ) return f""" -# see `python3 <(curl -fsSL gh.dayl.in/viv/viv.py) --help` +# see `python3 <(curl -fsSL viv.dayl.in/viv.py) --help` # <<<<< auto-generated by viv (v{__version__}) # fmt: off {func_use} @@ -923,9 +923,7 @@ class Viv: def __init__(self) -> None: self.vivenvs = get_venvs() self._get_sources() - self.name = ( - "viv" if self.local else "python3 <(curl -fsSL gh.dayl.in/viv/viv.py)" - ) + self.name = "viv" if self.local else "python3 <(curl -fsSL viv.dayl.in/viv.py)" def _get_sources(self) -> None: self.local_source: Optional[Path] = None @@ -1172,7 +1170,7 @@ class Viv: echo( "to re-install use: " - "`python3 <(curl -fsSL gh.dayl.in/viv/viv.py) manage install`" + "`python3 <(curl -fsSL viv.dayl.in/viv.py) manage install`" ) def _pick_bin(self, args: Namespace) -> Tuple[str, str]: