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/ 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", 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)