mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 02:30:44 -06:00
docs: add setuptools to pyfiglet example
This commit is contained in:
parent
10b5bf6149
commit
f984022b3f
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue