updates
This commit is contained in:
121
.vscode/tasks.json
vendored
121
.vscode/tasks.json
vendored
@@ -2,26 +2,13 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build LibrarySystem (Debug)",
|
||||
"label": "Build New Release",
|
||||
"type": "shell",
|
||||
"command": "pyinstaller",
|
||||
"args": [
|
||||
"--noconfirm",
|
||||
"--onedir",
|
||||
"--console",
|
||||
"--icon",
|
||||
"'${config:ApplicationIconPath}'",
|
||||
"--name",
|
||||
"LibrarySystem-debug",
|
||||
"--contents-directory",
|
||||
".",
|
||||
"--clean",
|
||||
"--add-data",
|
||||
"'${config:configPath};config/'",
|
||||
"--add-data",
|
||||
"'${config:iconsPath};icons/'",
|
||||
"'${workspaceFolder}/main_dev.py'"
|
||||
"dependsOn": [
|
||||
"Build LibrarySystem (Release)",
|
||||
"Build LibrarySystem (Debug)"
|
||||
],
|
||||
"command": "cmd",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
@@ -32,28 +19,27 @@
|
||||
"focus": false
|
||||
},
|
||||
// "dependsOn": "Compress dist Folder Debug",
|
||||
"problemMatcher": "$pyinstaller"
|
||||
"problemMatcher": "$python"
|
||||
},
|
||||
{
|
||||
"label": "Build LibrarySystem (Release)",
|
||||
"label": "Build LibrarySystem (Debug)",
|
||||
"type": "shell",
|
||||
"command": "pyinstaller",
|
||||
"command": "uv",
|
||||
"args": [
|
||||
"--noconfirm",
|
||||
"--onedir",
|
||||
"--windowed",
|
||||
"--name",
|
||||
"LibrarySystem",
|
||||
"--contents-directory",
|
||||
".",
|
||||
"--clean",
|
||||
"--add-data",
|
||||
"'${config:configPath};config/'",
|
||||
"--add-data",
|
||||
"'${config:iconsPath};icons/'",
|
||||
"--icon",
|
||||
"'${config:ApplicationIconPath}'",
|
||||
"'${workspaceFolder}/main.py'"
|
||||
"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_dev.py"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
@@ -64,8 +50,39 @@
|
||||
"panel": "new",
|
||||
"focus": false
|
||||
},
|
||||
"dependsOn": "Compress dist Folder Release",
|
||||
"problemMatcher": "$pyinstaller"
|
||||
// "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
|
||||
},
|
||||
"problemMatcher": "$python"
|
||||
},
|
||||
{
|
||||
"label": "Run LibrarySystem (live)",
|
||||
@@ -73,39 +90,13 @@
|
||||
"command": "c:/Users/aky547/GitHub/LibrarySystem/.venv/Scripts/python.exe",
|
||||
"args": [
|
||||
"'c:/Users/aky547/GitHub/LibrarySystem/main_dev.py'",
|
||||
"--ic-logging"
|
||||
|
||||
],
|
||||
"group": {
|
||||
"kind": "test",
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": "$python"
|
||||
},
|
||||
{
|
||||
"label": "Compress dist Folder Debug",
|
||||
"type": "shell",
|
||||
"command": "Compress-Archive",
|
||||
"args": [
|
||||
"-Path",
|
||||
"${workspaceFolder}/dist/LibrarySystem-debug/",
|
||||
"-DestinationPath",
|
||||
"${workspaceFolder}/output/LibrarySystem-debug.zip",
|
||||
],
|
||||
"group": "build",
|
||||
"presentation": "panel"
|
||||
},
|
||||
{
|
||||
"label": "Compress dist Folder Release",
|
||||
"type": "shell",
|
||||
"command": "Compress-Archive",
|
||||
"args": [
|
||||
"-Path",
|
||||
"${workspaceFolder}/dist/LibrarySystem/",
|
||||
"-DestinationPath",
|
||||
"${workspaceFolder}/output/LibrarySystem.zip",
|
||||
],
|
||||
"group": "build",
|
||||
"presentation": "panel"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user