Skip to content

Commit 4686893

Browse files
committed
Use the same conditional as previously in venv
1 parent 912f823 commit 4686893

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/sysconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
# essentially identical to the default posix_prefix/nt schemes.
7676
# Downstream distributors will need to change this,
7777
# if their posix_prefix/nt scheme is not venv-compatible.
78-
if os.name == 'nt':
78+
if sys.platform == 'win32':
7979
_INSTALL_SCHEMES['venv'] = dict(_INSTALL_SCHEMES['nt'])
8080
else:
8181
_INSTALL_SCHEMES['venv'] = dict(_INSTALL_SCHEMES['posix_prefix'])

0 commit comments

Comments
 (0)