From 1f417e76ad726a72980a07df5083ec02d5ed7ba5 Mon Sep 17 00:00:00 2001 From: Chandrika Date: Wed, 23 Oct 2024 13:52:14 -0700 Subject: [PATCH] removed POETRY_PROJECT_PATH env var --- src/volttron/server/run_server.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/volttron/server/run_server.py b/src/volttron/server/run_server.py index 571eb379a..4ef5d92c7 100644 --- a/src/volttron/server/run_server.py +++ b/src/volttron/server/run_server.py @@ -107,10 +107,6 @@ def run_server(): # create poetry project and poetry lock file in VOLTTRON_HOME if dev_mode: - # Allow an environmental variable to be passed for the location of the POETRY PROJECT Path. - if 'POETRY_PROJECT_PATH' in os.environ: - server_options.poetry_project_path = Path(os.environ['POETRY_PROJECT_PATH']).expanduser() - if not (server_options.poetry_project_path / "pyproject.toml").exists(): raise ValueError("VOLTTRON is run with --dev but unable to find pyproject.toml is current directory - " f"{server_options.poetry_project_path}")