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