swattign all the bugs

meybe fix memory leak
fix a lot of stuff, improvemetns
This commit is contained in:
neon443
2025-03-17 09:00:39 +00:00
parent 4930726372
commit b24df9a77c
7 changed files with 141 additions and 74 deletions

View File

@@ -1,17 +0,0 @@
{
"actions" : {
"build" : {
"enabled" : true,
"script" : "#!\/bin\/sh\ncd DockPhobiaPy\npython3 -m venv venv\n. venv\/bin\/activate\npip3 install -r requirements.txt"
},
"clean" : {
"enabled" : true,
"script" : "#!\/bin\/sh\ncd DockPhobiaPy\n. venv\/bin\/activate\npip3 freeze > requirements.txt\nrm -rf venv"
},
"run" : {
"enabled" : true,
"script" : "#!\/bin\/sh\ncd DockPhobiaPy\n. venv\/bin\/activate\npython3 main.py"
}
},
"openLogOnRun" : "start"
}

View File

@@ -0,0 +1,37 @@
{
"actions" : {
"build" : {
"postActions" : [
{
"script" : "cd DockPhobiaPy\npython3 -m venv venv\n. venv\/bin\/activate\npip3 install -r requirements.txt",
"type" : "runScript"
}
]
},
"clean" : {
"postActions" : [
{
"script" : "cd DockPhobiaPy\n. venv\/bin\/activate\npip3 freeze > requirements.txt\nrm -rf venv",
"type" : "runScript"
}
]
},
"run" : {
"postActions" : [
{
"script" : ". DockPhobiaPy\/yvenv\/bin\/activate",
"type" : "runScript"
}
]
}
},
"extension" : {
"identifier" : "panic.Python",
"name" : "Python"
},
"extensionTemplate" : "pythonDebug",
"extensionValues" : {
"python.debug.script" : "main.py",
"python.debug.workingDirectory" : "DockPhobiaPy"
}
}

View File

@@ -0,0 +1,21 @@
{
"actions" : {
"run" : {
"postActions" : [
{
"script" : "python3 main.py",
"type" : "runScript"
}
]
}
},
"extension" : {
"identifier" : "net.danwatson.Python",
"name" : "Python"
},
"extensionTemplate" : "virtualenv",
"extensionValues" : {
"script" : "*Py\/main.py",
"workdir" : "."
}
}