Skip to content

Commit

Permalink
Merge pull request #131 from BrianPugh/add-current-path-to-venv
Browse files Browse the repository at this point in the history
Add the current directory to the micropypath
  • Loading branch information
BrianPugh authored Apr 24, 2023
2 parents 279d076 + f2c67c9 commit 98ffc11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion belay/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def run_exec(command: List[str]):
# This flattens all dependencies to a single folder and fetches fresh
# copies of dependencies in ``develop`` mode.
with TemporaryDirectory() as tmp_dir:
virtual_env["MICROPYPATH"] = tmp_dir
virtual_env["MICROPYPATH"] = f".:{tmp_dir}"
for group in groups:
group.copy_to(tmp_dir)

Expand Down

0 comments on commit 98ffc11

Please sign in to comment.