diff --git a/packages/typespec-python/scripts/install.py b/packages/typespec-python/scripts/install.py index 7e217cb642..83ad20445e 100644 --- a/packages/typespec-python/scripts/install.py +++ b/packages/typespec-python/scripts/install.py @@ -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) diff --git a/packages/typespec-python/scripts/prepare.py b/packages/typespec-python/scripts/prepare.py index 3c728d1e09..fe29b6da61 100644 --- a/packages/typespec-python/scripts/prepare.py +++ b/packages/typespec-python/scripts/prepare.py @@ -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 diff --git a/packages/typespec-python/scripts/run_tsp.py b/packages/typespec-python/scripts/run_tsp.py index 311e470ba5..5365d316bb 100644 --- a/packages/typespec-python/scripts/run_tsp.py +++ b/packages/typespec-python/scripts/run_tsp.py @@ -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