Prefer posix_local if its available over posix_prefix.

This commit is contained in:
Matt Davis
2022-09-24 11:29:54 -04:00
parent 0c490a0dee
commit 09399005be
+2
View File
@@ -183,6 +183,8 @@ class Environment:
return "venv"
elif os.name == "nt":
return "nt"
elif "posix_local" in get_scheme_names():
return "posix_local"
else:
return "posix_prefix"