File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -308,11 +308,6 @@ def pre_path_entries(self) -> list[str]:
308
308
r".." + self .NODEJS_PATH_REL ,
309
309
]
310
310
311
- @property
312
- def post_path_entries (self ) -> list [str ]:
313
- """Returns a list of PATH entries to append to the environment."""
314
- return []
315
-
316
311
@property
317
312
def tools_directories (self ) -> list [Path ]:
318
313
"""Returns the list of tools directories to include."""
@@ -464,10 +459,10 @@ def _create_initial_batch_scripts(self):
464
459
self ._print_action ("Creating initial batch scripts" )
465
460
466
461
path_entries_str = ";" .join ([rf"%WINPYDIR%\{ pth } " for pth in self .pre_path_entries ])
467
- full_path_env_var = f"{ path_entries_str } ;%PATH%;" + ";" . join ([ rf"%WINPYDIR%\ { pth } " for pth in self . post_path_entries ])
462
+ full_path_env_var = f"{ path_entries_str } ;%PATH%"
468
463
469
464
path_entries_ps_str = ";" .join ([rf"$env:WINPYDIR\\{ pth } " for pth in self .pre_path_entries ])
470
- full_path_ps_env_var = f"{ path_entries_ps_str } ;$env:path;" + ";" . join ([ rf"$env:WINPYDIR\\ { pth } " for pth in self . post_path_entries ])
465
+ full_path_ps_env_var = f"{ path_entries_ps_str } ;$env:path"
471
466
472
467
# Replacements for batch scripts (PyPy compatibility)
473
468
exe_name = self .distribution .short_exe if self .distribution else "python.exe" # default to python.exe if distribution is not yet set
You can’t perform that action at this time.
0 commit comments