Skip to content

Commit

Permalink
Merge pull request #6 from tedivm/cwd_package_fix
Browse files Browse the repository at this point in the history
Add current working directory to python path
  • Loading branch information
tedivm authored Mar 19, 2024
2 parents 3fa88e2 + 2893850 commit df6ebce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paracelsus/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import importlib
import os
import re
import sys
from enum import Enum
Expand Down Expand Up @@ -35,6 +36,7 @@ def get_graph_string(
format: str,
) -> str:
# Update the PYTHON_PATH to allow more module imports.
sys.path.append(str(os.getcwd()))
for dir in python_dir:
sys.path.append(str(dir))

Expand Down

0 comments on commit df6ebce

Please sign in to comment.