Skip to content

Commit

Permalink
move venv into pygen folder
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft committed Jun 4, 2024
1 parent 6757221 commit 40aec67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/typespec-python/scripts/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@


def main():
venv_path = _ROOT_DIR / "venv"
venv_path = _ROOT_DIR / "pygen" / "venv"
if venv_path.exists():
env_builder = venv.EnvBuilder(with_pip=True)
venv_context = env_builder.ensure_directories(venv_path)
Expand Down
2 changes: 1 addition & 1 deletion packages/typespec-python/scripts/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


def main():
venv_path = _ROOT_DIR / "venv"
venv_path = _ROOT_DIR / "pygen" / "venv"
venv_prexists = venv_path.exists()

assert venv_prexists # Otherwise install was not done
Expand Down
2 changes: 1 addition & 1 deletion packages/typespec-python/scripts/run_tsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
_LOGGER = logging.getLogger(__name__)

if __name__ == "__main__":
venv_path = _ROOT_DIR / "venv"
venv_path = _ROOT_DIR / "pygen" / "venv"
venv_prexists = venv_path.exists()

assert venv_prexists # Otherwise install was not done
Expand Down

0 comments on commit 40aec67

Please sign in to comment.