File tree Expand file tree Collapse file tree 4 files changed +20
-28
lines changed
Expand file tree Collapse file tree 4 files changed +20
-28
lines changed Original file line number Diff line number Diff line change 1+ import warnings
2+
13from .compilers .C import msvc
24
35__all__ = ["MSVCCompiler" ]
46
57MSVCCompiler = msvc .Compiler
8+
9+
10+ def __getattr__ (name ):
11+ if name == '_get_vc_env' :
12+ warnings .warn (
13+ "_get_vc_env is private; find an alternative (pypa/distutils#340)"
14+ )
15+ return msvc ._get_vc_env
16+ raise AttributeError (name )
Original file line number Diff line number Diff line change 33Package containing implementation of all the standard Distutils
44commands."""
55
6- from . import (
7- bdist ,
8- bdist_dumb ,
9- bdist_rpm ,
10- build ,
11- build_clib ,
12- build_ext ,
13- build_py ,
14- build_scripts ,
15- check ,
16- clean ,
17- install ,
18- install_data ,
19- install_headers ,
20- install_lib ,
21- install_scripts ,
22- sdist ,
23- )
24-
256__all__ = [
26- 'bdist' ,
27- 'bdist_dumb' ,
28- 'bdist_rpm' ,
297 'build' ,
30- 'build_clib' ,
31- 'build_ext' ,
328 'build_py' ,
9+ 'build_ext' ,
10+ 'build_clib' ,
3311 'build_scripts' ,
34- 'check' ,
3512 'clean' ,
3613 'install' ,
37- 'install_data' ,
38- 'install_headers' ,
3914 'install_lib' ,
15+ 'install_headers' ,
4016 'install_scripts' ,
17+ 'install_data' ,
4118 'sdist' ,
19+ 'bdist' ,
20+ 'bdist_dumb' ,
21+ 'bdist_rpm' ,
22+ 'check' ,
4223]
Original file line number Diff line number Diff line change 1+ Restore access to _get_vc_env with a warning.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments