mirror of
https://github.com/SteamDeckHomebrew/decky-plugin-template.git
synced 2025-11-05 08:42:25 -06:00
add pipinstall script and append py_modules to PYTHONPATH
allows dependent python modules to be installed
This commit is contained in:
parent
e2b4542b58
commit
561751e028
3 changed files with 8 additions and 1 deletions
5
main.py
5
main.py
|
|
@ -1,3 +1,8 @@
|
|||
import os
|
||||
import sys
|
||||
# append py_modules to PYTHONPATH
|
||||
sys.path.append(os.path.dirname(os.path.realpath(__file__))+"/py_modules")
|
||||
|
||||
import logging
|
||||
|
||||
logging.basicConfig(filename="/tmp/template.log",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue