docs: add setuptools to pyfiglet example

This commit is contained in:
Daylin Morgan 2023-06-05 14:42:51 -05:00
parent 10b5bf6149
commit f984022b3f
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -7,7 +7,8 @@ Embed the viv.py on the sys.path at runtime rather than using PYTHONPATH
__import__("sys").path.append( __import__("sys").path.append(
__import__("os").path.expanduser("~/.local/share/viv") __import__("os").path.expanduser("~/.local/share/viv")
) # noqa # isort: off ) # noqa # isort: off
__import__("viv").use("pyfiglet") # noqa # isort: off __import__("viv").use("pyfiglet", "setuptools") # noqa # isort: off
# pyfiglet requires pkg_resources which is part of setuptools
import sys import sys