105 lines
3.3 KiB
JSON
105 lines
3.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build New Release",
|
|
"type": "shell",
|
|
"dependsOn": [
|
|
"Build LibrarySystem (Release)",
|
|
"Build LibrarySystem (Debug)"
|
|
],
|
|
"command": "python setup.py",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "new",
|
|
"focus": false
|
|
},
|
|
// "dependsOn": "Compress dist Folder Debug",
|
|
"problemMatcher": "$python"
|
|
},
|
|
{
|
|
"label": "Build LibrarySystem (Debug)",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"python",
|
|
"-m",
|
|
"nuitka",
|
|
"--standalone",
|
|
"--output-dir=dist",
|
|
"--include-package=PyQt6",
|
|
"--include-package=pygments",
|
|
"--include-data-dir=./config=config",
|
|
"--include-data-dir=./docs=docs",
|
|
"--include-data-dir=./icons=icons",
|
|
"--include-data-dir=./.venv/Lib/site-packages/PyQt6/=PyQt6/",
|
|
"--windows-icon-from-ico=icons/icon.ico",
|
|
"main_dev.py",
|
|
"--debug"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "new",
|
|
"focus": false,
|
|
"close": true
|
|
},
|
|
// "dependsOn": "Compress dist Folder Debug",
|
|
"problemMatcher": "$python"
|
|
},
|
|
{
|
|
"label": "Build LibrarySystem (Release)",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"python",
|
|
"-m",
|
|
"nuitka",
|
|
"--standalone",
|
|
"--output-dir=dist",
|
|
"--include-package=PyQt6",
|
|
"--include-package=pygments",
|
|
"--include-data-dir=./config=config",
|
|
"--include-data-dir=./docs=docs",
|
|
"--include-data-dir=./icons=icons",
|
|
"--include-data-dir=./.venv/Lib/site-packages/PyQt6/Qt6/plugins=PyQt6/Qt/plugins",
|
|
"--windows-icon-from-ico=icons/icon.ico",
|
|
"main.py"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "new",
|
|
"focus": false,
|
|
"close": true
|
|
},
|
|
"problemMatcher": "$python"
|
|
},
|
|
{
|
|
"label": "Run LibrarySystem (live)",
|
|
"type": "shell",
|
|
"command": "c:/Users/aky547/GitHub/LibrarySystem/.venv/Scripts/python.exe",
|
|
"args": [
|
|
"'c:/Users/aky547/GitHub/LibrarySystem/main.py'",
|
|
"--debug"
|
|
],
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": "$python"
|
|
}
|
|
]
|
|
} |