fix: shims should specify python3

This commit is contained in:
Daylin Morgan 2023-06-16 12:08:52 -05:00
parent c195c540a7
commit f442fdcdd8
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -52,7 +52,7 @@ from typing import (
from urllib.error import HTTPError from urllib.error import HTTPError
from urllib.request import urlopen from urllib.request import urlopen
__version__ = "23.5a5-30-g838b585-dev" __version__ = "23.5a5-31-gc195c54-dev"
class Spinner: class Spinner:
@ -454,7 +454,7 @@ python api: {a.style('__import__("viv").use("typer", "rich-click")','bold')}
else: else:
imports = "" imports = ""
return f"""\ return f"""\
#!/usr/bin/env python #!/usr/bin/env python3
# AUTOGENERATED by viv (v{__version__}) # AUTOGENERATED by viv (v{__version__})
# see `python3 <(curl -fsSL viv.dayl.in/viv.py) --help` # see `python3 <(curl -fsSL viv.dayl.in/viv.py) --help`