-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
171 additions
and
268 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
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 |
---|---|---|
@@ -1,4 +1,20 @@ | ||
from distutils.unixccompiler import UnixCCompiler | ||
from distutils.version import LooseVersion | ||
from re import Pattern | ||
from typing_extensions import Literal | ||
|
||
def get_msvcr() -> list[str] | None: ... | ||
|
||
class CygwinCCompiler(UnixCCompiler): ... | ||
class Mingw32CCompiler(CygwinCCompiler): ... | ||
|
||
CONFIG_H_OK: str | ||
CONFIG_H_NOTOK: str | ||
CONFIG_H_UNCERTAIN: str | ||
|
||
def check_config_h() -> tuple[Literal["ok", "not ok", "uncertain"], str]: ... | ||
|
||
RE_VERSION: Pattern[bytes] | ||
|
||
def get_versions() -> tuple[LooseVersion | None, ...]: ... | ||
def is_cygwingcc() -> bool: ... |
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 |
---|---|---|
@@ -1,13 +1,22 @@ | ||
import sys | ||
from collections.abc import Mapping | ||
from distutils.ccompiler import CCompiler | ||
|
||
PREFIX: str | ||
EXEC_PREFIX: str | ||
BASE_PREFIX: str | ||
BASE_EXEC_PREFIX: str | ||
project_base: str | ||
python_build: bool | ||
|
||
def expand_makefile_vars(s: str, vars: Mapping[str, str]) -> str: ... | ||
def get_config_var(name: str) -> int | str | None: ... | ||
def get_config_vars(*args: str) -> Mapping[str, int | str]: ... | ||
def get_config_h_filename() -> str: ... | ||
def get_makefile_filename() -> str: ... | ||
def get_python_inc(plat_specific: bool = ..., prefix: str | None = None) -> str: ... | ||
def get_python_lib(plat_specific: bool = ..., standard_lib: bool = ..., prefix: str | None = None) -> str: ... | ||
def customize_compiler(compiler: CCompiler) -> None: ... | ||
|
||
if sys.version_info < (3, 10): | ||
def get_python_version() -> str: ... |
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
Oops, something went wrong.