Skip to content

Commit bc36c28

Browse files
committed
The python version is now part of the tools venvs path
Signed-off-by: Pedro Algarvio <[email protected]>
1 parent 2ce242a commit bc36c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ptscripts/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
_BASE_PATH = pathlib.Path(os.environ["TOOLS_SCRIPTS_PATH"]).expanduser()
1414
else:
1515
_BASE_PATH = CWD
16-
TOOLS_VENVS_PATH = _BASE_PATH / ".tools-venvs"
16+
TOOLS_VENVS_PATH = _BASE_PATH / ".tools-venvs" / "py{}.{}".format(*sys.version_info)
1717

1818
DEFAULT_TOOLS_VENV_PATH = TOOLS_VENVS_PATH / "default"
1919
if str(DEFAULT_TOOLS_VENV_PATH) in sys.path:

0 commit comments

Comments
 (0)