mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Re-organize directory structure (#4971)
See discussion in #2491 Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
This commit is contained in:
0
stdlib/distutils/command/__init__.pyi
Normal file
0
stdlib/distutils/command/__init__.pyi
Normal file
0
stdlib/distutils/command/bdist.pyi
Normal file
0
stdlib/distutils/command/bdist.pyi
Normal file
0
stdlib/distutils/command/bdist_dumb.pyi
Normal file
0
stdlib/distutils/command/bdist_dumb.pyi
Normal file
6
stdlib/distutils/command/bdist_msi.pyi
Normal file
6
stdlib/distutils/command/bdist_msi.pyi
Normal file
@@ -0,0 +1,6 @@
|
||||
from distutils.cmd import Command
|
||||
|
||||
class bdist_msi(Command):
|
||||
def initialize_options(self) -> None: ...
|
||||
def finalize_options(self) -> None: ...
|
||||
def run(self) -> None: ...
|
||||
0
stdlib/distutils/command/bdist_packager.pyi
Normal file
0
stdlib/distutils/command/bdist_packager.pyi
Normal file
0
stdlib/distutils/command/bdist_rpm.pyi
Normal file
0
stdlib/distutils/command/bdist_rpm.pyi
Normal file
0
stdlib/distutils/command/bdist_wininst.pyi
Normal file
0
stdlib/distutils/command/bdist_wininst.pyi
Normal file
0
stdlib/distutils/command/build.pyi
Normal file
0
stdlib/distutils/command/build.pyi
Normal file
0
stdlib/distutils/command/build_clib.pyi
Normal file
0
stdlib/distutils/command/build_clib.pyi
Normal file
0
stdlib/distutils/command/build_ext.pyi
Normal file
0
stdlib/distutils/command/build_ext.pyi
Normal file
8
stdlib/distutils/command/build_py.pyi
Normal file
8
stdlib/distutils/command/build_py.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
from distutils.cmd import Command
|
||||
|
||||
class build_py(Command):
|
||||
def initialize_options(self) -> None: ...
|
||||
def finalize_options(self) -> None: ...
|
||||
def run(self) -> None: ...
|
||||
|
||||
class build_py_2to3(build_py): ...
|
||||
0
stdlib/distutils/command/build_scripts.pyi
Normal file
0
stdlib/distutils/command/build_scripts.pyi
Normal file
0
stdlib/distutils/command/check.pyi
Normal file
0
stdlib/distutils/command/check.pyi
Normal file
0
stdlib/distutils/command/clean.pyi
Normal file
0
stdlib/distutils/command/clean.pyi
Normal file
87
stdlib/distutils/command/config.pyi
Normal file
87
stdlib/distutils/command/config.pyi
Normal file
@@ -0,0 +1,87 @@
|
||||
from distutils import log as log
|
||||
from distutils.ccompiler import CCompiler
|
||||
from distutils.core import Command as Command
|
||||
from distutils.errors import DistutilsExecError as DistutilsExecError
|
||||
from distutils.sysconfig import customize_compiler as customize_compiler
|
||||
from typing import Dict, List, Optional, Pattern, Sequence, Tuple, Union
|
||||
|
||||
LANG_EXT: Dict[str, str]
|
||||
|
||||
class config(Command):
|
||||
description: str = ...
|
||||
# Tuple is full name, short name, description
|
||||
user_options: Sequence[Tuple[str, Optional[str], str]] = ...
|
||||
compiler: Optional[Union[str, CCompiler]] = ...
|
||||
cc: Optional[str] = ...
|
||||
include_dirs: Optional[Sequence[str]] = ...
|
||||
libraries: Optional[Sequence[str]] = ...
|
||||
library_dirs: Optional[Sequence[str]] = ...
|
||||
noisy: int = ...
|
||||
dump_source: int = ...
|
||||
temp_files: Sequence[str] = ...
|
||||
def initialize_options(self) -> None: ...
|
||||
def finalize_options(self) -> None: ...
|
||||
def run(self) -> None: ...
|
||||
def try_cpp(
|
||||
self,
|
||||
body: Optional[str] = ...,
|
||||
headers: Optional[Sequence[str]] = ...,
|
||||
include_dirs: Optional[Sequence[str]] = ...,
|
||||
lang: str = ...,
|
||||
) -> bool: ...
|
||||
def search_cpp(
|
||||
self,
|
||||
pattern: Union[Pattern[str], str],
|
||||
body: Optional[str] = ...,
|
||||
headers: Optional[Sequence[str]] = ...,
|
||||
include_dirs: Optional[Sequence[str]] = ...,
|
||||
lang: str = ...,
|
||||
) -> bool: ...
|
||||
def try_compile(
|
||||
self, body: str, headers: Optional[Sequence[str]] = ..., include_dirs: Optional[Sequence[str]] = ..., lang: str = ...
|
||||
) -> bool: ...
|
||||
def try_link(
|
||||
self,
|
||||
body: str,
|
||||
headers: Optional[Sequence[str]] = ...,
|
||||
include_dirs: Optional[Sequence[str]] = ...,
|
||||
libraries: Optional[Sequence[str]] = ...,
|
||||
library_dirs: Optional[Sequence[str]] = ...,
|
||||
lang: str = ...,
|
||||
) -> bool: ...
|
||||
def try_run(
|
||||
self,
|
||||
body: str,
|
||||
headers: Optional[Sequence[str]] = ...,
|
||||
include_dirs: Optional[Sequence[str]] = ...,
|
||||
libraries: Optional[Sequence[str]] = ...,
|
||||
library_dirs: Optional[Sequence[str]] = ...,
|
||||
lang: str = ...,
|
||||
) -> bool: ...
|
||||
def check_func(
|
||||
self,
|
||||
func: str,
|
||||
headers: Optional[Sequence[str]] = ...,
|
||||
include_dirs: Optional[Sequence[str]] = ...,
|
||||
libraries: Optional[Sequence[str]] = ...,
|
||||
library_dirs: Optional[Sequence[str]] = ...,
|
||||
decl: int = ...,
|
||||
call: int = ...,
|
||||
) -> bool: ...
|
||||
def check_lib(
|
||||
self,
|
||||
library: str,
|
||||
library_dirs: Optional[Sequence[str]] = ...,
|
||||
headers: Optional[Sequence[str]] = ...,
|
||||
include_dirs: Optional[Sequence[str]] = ...,
|
||||
other_libraries: List[str] = ...,
|
||||
) -> bool: ...
|
||||
def check_header(
|
||||
self,
|
||||
header: str,
|
||||
include_dirs: Optional[Sequence[str]] = ...,
|
||||
library_dirs: Optional[Sequence[str]] = ...,
|
||||
lang: str = ...,
|
||||
) -> bool: ...
|
||||
|
||||
def dump_file(filename: str, head: Optional[str] = ...) -> None: ...
|
||||
14
stdlib/distutils/command/install.pyi
Normal file
14
stdlib/distutils/command/install.pyi
Normal file
@@ -0,0 +1,14 @@
|
||||
from distutils.cmd import Command
|
||||
from typing import Optional, Tuple
|
||||
|
||||
SCHEME_KEYS: Tuple[str, ...]
|
||||
|
||||
class install(Command):
|
||||
user: bool
|
||||
prefix: Optional[str]
|
||||
home: Optional[str]
|
||||
root: Optional[str]
|
||||
install_lib: Optional[str]
|
||||
def initialize_options(self) -> None: ...
|
||||
def finalize_options(self) -> None: ...
|
||||
def run(self) -> None: ...
|
||||
0
stdlib/distutils/command/install_data.pyi
Normal file
0
stdlib/distutils/command/install_data.pyi
Normal file
10
stdlib/distutils/command/install_egg_info.pyi
Normal file
10
stdlib/distutils/command/install_egg_info.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
from distutils.cmd import Command
|
||||
from typing import ClassVar, List, Optional, Tuple
|
||||
|
||||
class install_egg_info(Command):
|
||||
description: ClassVar[str]
|
||||
user_options: ClassVar[List[Tuple[str, Optional[str], str]]]
|
||||
def initialize_options(self) -> None: ...
|
||||
def finalize_options(self) -> None: ...
|
||||
def run(self) -> None: ...
|
||||
def get_outputs(self) -> List[str]: ...
|
||||
0
stdlib/distutils/command/install_headers.pyi
Normal file
0
stdlib/distutils/command/install_headers.pyi
Normal file
0
stdlib/distutils/command/install_lib.pyi
Normal file
0
stdlib/distutils/command/install_lib.pyi
Normal file
0
stdlib/distutils/command/install_scripts.pyi
Normal file
0
stdlib/distutils/command/install_scripts.pyi
Normal file
0
stdlib/distutils/command/register.pyi
Normal file
0
stdlib/distutils/command/register.pyi
Normal file
0
stdlib/distutils/command/sdist.pyi
Normal file
0
stdlib/distutils/command/sdist.pyi
Normal file
8
stdlib/distutils/command/upload.pyi
Normal file
8
stdlib/distutils/command/upload.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
from distutils.config import PyPIRCCommand
|
||||
from typing import ClassVar, List
|
||||
|
||||
class upload(PyPIRCCommand):
|
||||
description: ClassVar[str]
|
||||
boolean_options: ClassVar[List[str]]
|
||||
def run(self) -> None: ...
|
||||
def upload_file(self, command: str, pyversion: str, filename: str) -> None: ...
|
||||
Reference in New Issue
Block a user