mirror of
https://github.com/SteamDeckHomebrew/decky-plugin-template.git
synced 2025-12-12 08:38:07 -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
|
|
@ -3,7 +3,8 @@
|
|||
"version": "0.0.1",
|
||||
"description": "A template to quickly create decky plugins from scratch, based on TypeScript and webpack",
|
||||
"scripts": {
|
||||
"build": "shx rm -rf dist && rollup -c",
|
||||
"pipinstall": "if [ -f requirements.txt ]; then\n\tpip install -U -r requirements.txt -t py_modules\nfi",
|
||||
"build": "pnpm run pipinstall && shx rm -rf dist && rollup -c",
|
||||
"watch": "rollup -c -w",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue