File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616import subprocess
1717import sys
1818import re
19+ import warnings
1920
2021from distutils .errors import (
2122 DistutilsExecError ,
3031
3132import winreg
3233
34+ warnings .warn (
35+ "msvc9compiler is deprecated and slated to be removed "
36+ "in the future. Please discontinue use or file an issue "
37+ "with pypa/distutils describing your use case." ,
38+ DeprecationWarning ,
39+ )
40+
3341RegOpenKeyEx = winreg .OpenKeyEx
3442RegEnumKey = winreg .EnumKey
3543RegEnumValue = winreg .EnumValue
Original file line number Diff line number Diff line change 1010
1111import sys
1212import os
13+ import warnings
1314from distutils .errors import (
1415 DistutilsExecError ,
1516 DistutilsPlatformError ,
6263 )
6364
6465
66+ warnings .warn (
67+ "msvccompiler is deprecated and slated to be removed "
68+ "in the future. Please discontinue use or file an issue "
69+ "with pypa/distutils describing your use case." ,
70+ DeprecationWarning ,
71+ )
72+
73+
6574def read_keys (base , key ):
6675 """Return list of registry keys."""
6776 try :
You can’t perform that action at this time.
0 commit comments