We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 912f823 commit 4686893Copy full SHA for 4686893
1 file changed
Lib/sysconfig.py
@@ -75,7 +75,7 @@
75
# essentially identical to the default posix_prefix/nt schemes.
76
# Downstream distributors will need to change this,
77
# if their posix_prefix/nt scheme is not venv-compatible.
78
-if os.name == 'nt':
+if sys.platform == 'win32':
79
_INSTALL_SCHEMES['venv'] = dict(_INSTALL_SCHEMES['nt'])
80
else:
81
_INSTALL_SCHEMES['venv'] = dict(_INSTALL_SCHEMES['posix_prefix'])
0 commit comments