From b082427efe30455c2b7497ab3185d39524a884f6 Mon Sep 17 00:00:00 2001 From: zhenwei-li Date: Wed, 12 Jan 2022 20:45:45 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=89=94=E9=99=A4=20PYTHON=5FPROJECT=5FX?= =?UTF-8?q?=20=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Temp/debug/env/interpreterInfo.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Temp/debug/env/interpreterInfo.py b/Temp/debug/env/interpreterInfo.py index a5f6dfe..4a58e5f 100644 --- a/Temp/debug/env/interpreterInfo.py +++ b/Temp/debug/env/interpreterInfo.py @@ -9,11 +9,11 @@ obj = {} obj["is64Bit"] = sys.maxsize > 2**32 obj["PWD"] = os.environ.get('PWD') -obj["PYTHON_PROJECT_PREFIX"] = os.getenv('PYTHON_PROJECT_PREFIX', None) -obj["PYTHON_PROJECT_NAME"] = os.getenv('PYTHON_PROJECT_NAME', None) -obj["PYTHON_PROJECT_PATH"] = os.getenv('PYTHON_PROJECT_PATH', None) -if obj["PYTHON_PROJECT_PATH"] is None: - raise KeyError('the please configure PYTHON_PROJECT_PATH environment variable, otherwise it cannot run') +# obj["PYTHON_PROJECT_PREFIX"] = os.getenv('PYTHON_PROJECT_PREFIX', None) +# obj["PYTHON_PROJECT_NAME"] = os.getenv('PYTHON_PROJECT_NAME', None) +# obj["PYTHON_PROJECT_PATH"] = os.getenv('PYTHON_PROJECT_PATH', None) +# if obj["PYTHON_PROJECT_PATH"] is None: +# raise KeyError('the please configure PYTHON_PROJECT_PATH environment variable, otherwise it cannot run') obj["PYTHONPATH"] = os.environ.get('PYTHONPATH') obj["PYTHONTRACEMALLOC"] = os.getenv('PYTHONTRACEMALLOC', None) obj["PYTHONUTF8"] = os.getenv('PYTHONUTF8', None) From a2868491ebb772ce468927ab2c300b08ae7d13a3 Mon Sep 17 00:00:00 2001 From: zhenwei-li Date: Thu, 13 Jan 2022 14:17:51 +0800 Subject: [PATCH 2/3] the ignore upgrade --- .gitignore | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index defefcb..23bac40 100644 --- a/.gitignore +++ b/.gitignore @@ -84,10 +84,11 @@ celerybeat-schedule # Environments .env .env/ -# dev.env -# test.env -# prep.env -# prod.env +asterisk.env/ +dev.env +test.env +prep.env +prod.env *.env .venv env/ From ef48d0d0c991fcb13d2e60d768ba0227065bc8a6 Mon Sep 17 00:00:00 2001 From: zhenwei-li Date: Thu, 13 Jan 2022 14:18:32 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8E=20VSCode=20?= =?UTF-8?q?=E5=86=B2=E7=AA=81=E5=91=BD=E5=90=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 5c492cf..626bc8a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -50,7 +50,7 @@ // "python.defaultInterpreterPath": "${workspaceFolder}/venv2/bin/python", // "python.defaultInterpreterPath": "venv2/bin/python", // "python.diagnostics.sourceMapsEnabled": true, - "python.envFile": "${workspaceFolder}/.env/dev.env", + "python.envFile": "${workspaceFolder}/asterisk.env/dev.env", // "python.envFile": "${workspaceFolder}/.env/test.env", // "python.envFile": "${workspaceFolder}/.env/pred.env", // "python.envFile": "${workspaceFolder}/.env/prod.env",