From 611bd69afd2ac10c17a3d217dc2fa73efde0925c Mon Sep 17 00:00:00 2001 From: Abdelkouddous LHACHIMI Date: Fri, 27 Mar 2026 16:09:50 +0100 Subject: [PATCH] Initial Template - continue --- .vscode/launch.json | 16 ++++++++++++++++ .vscode/tasks.json | 27 +++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..dfc4ae8 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,16 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + + { + "name": "Python Debugger: Current File", + "type": "debugpy", + "request": "launch", + "program": "${file}", + "console": "integratedTerminal" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..ba77f73 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,27 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Build PyInstaller EXE (to Script Dir)", + "type": "shell", + "command": "${command:python.interpreterPath}", + "args": [ + "-m", "PyInstaller", + "--onefile", + "--add-data", + "config:config", + // NOUVEL ARGUMENT : Définit le dossier de sortie + "--distpath", + "${fileDirname}", + "${file}" + ], + "presentation": { + "reveal": "always", + "panel": "new", + "showReuseMessage": false + }, + "group": "build", + "problemMatcher": [] + } + ] +} \ No newline at end of file