Skip to content

Commit

Permalink
removed POETRY_PROJECT_PATH env var
Browse files Browse the repository at this point in the history
  • Loading branch information
schandrika authored Oct 23, 2024
1 parent 5568221 commit 1f417e7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/volttron/server/run_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 1f417e7

Please sign in to comment.