-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename classes and add compatibility shims.
- Loading branch information
Showing
11 changed files
with
118 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .compilers.C import msvc | ||
|
||
MSVCCompiler = msvc.Compiler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from .compilers.C import base | ||
from .compilers.C.base import ( | ||
CompileError, | ||
gen_lib_options, | ||
gen_preprocess_options, | ||
get_default_compiler, | ||
new_compiler, | ||
show_compilers, | ||
) | ||
|
||
__all__ = [ | ||
'CompileError', | ||
'gen_lib_options', | ||
'gen_preprocess_options', | ||
'get_default_compiler', | ||
'new_compiler', | ||
'show_compilers', | ||
] | ||
|
||
|
||
CCompiler = base.Compiler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
from .compilers.C import cygwin | ||
from .compilers.C.cygwin import ( | ||
CONFIG_H_NOTOK, | ||
CONFIG_H_OK, | ||
CONFIG_H_UNCERTAIN, | ||
check_config_h, | ||
get_msvcr, | ||
is_cygwincc, | ||
) | ||
|
||
__all__ = [ | ||
'CONFIG_H_NOTOK', | ||
'CONFIG_H_OK', | ||
'CONFIG_H_UNCERTAIN', | ||
'CygwinCCompiler', | ||
'Mingw32Compiler', | ||
'check_config_h', | ||
'get_msvcr', | ||
'is_cygwincc', | ||
] | ||
|
||
|
||
CygwinCCompiler = cygwin.Compiler | ||
Mingw32Compiler = cygwin.MinGW32Compiler | ||
|
||
|
||
get_versions = None | ||
""" | ||
A stand-in for the previous get_versions() function to prevent failures | ||
when monkeypatched. See pypa/setuptools#2969. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .compilers.C import unix | ||
|
||
UnixCCompiler = unix.Compiler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .compilers.C import zos | ||
|
||
zOSCCompiler = zos.Compiler |