Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stdlib/distutils/command/build.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class build(Command):
build_lib: Incomplete
build_temp: Incomplete
build_scripts: Incomplete
compiler: Incomplete
compiler: str | None
plat_name: Incomplete
debug: Incomplete
force: int
Expand Down
3 changes: 2 additions & 1 deletion stdlib/distutils/command/build_clib.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ from _typeshed import Incomplete, Unused
from collections.abc import Callable
from typing import ClassVar

from ..ccompiler import CCompiler
from ..cmd import Command

def show_compilers() -> None: ...
Expand All @@ -19,7 +20,7 @@ class build_clib(Command):
undef: Incomplete
debug: Incomplete
force: int
compiler: Incomplete
compiler: CCompiler | str | None # Is only set to `Compiler` after `run`
def initialize_options(self) -> None: ...
def finalize_options(self) -> None: ...
def run(self) -> None: ...
Expand Down
3 changes: 2 additions & 1 deletion stdlib/distutils/command/build_ext.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ from _typeshed import Incomplete, Unused
from collections.abc import Callable
from typing import ClassVar

from ..ccompiler import CCompiler
from ..cmd import Command

extension_name_re: Incomplete
Expand Down Expand Up @@ -29,7 +30,7 @@ class build_ext(Command):
link_objects: Incomplete
debug: Incomplete
force: Incomplete
compiler: Incomplete
compiler: CCompiler | str | None # Is only set to `Compiler` after `run`
swig: Incomplete
swig_cpp: Incomplete
swig_opts: Incomplete
Expand Down
2 changes: 1 addition & 1 deletion stubs/setuptools/setuptools/_distutils/command/build.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class build(Command):
build_lib: Incomplete
build_temp: Incomplete
build_scripts: Incomplete
compiler: Incomplete
compiler: str | None
plat_name: Incomplete
debug: Incomplete
force: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ from _typeshed import Incomplete, Unused
from collections.abc import Callable
from typing import ClassVar

from ..ccompiler import CCompiler
from ..cmd import Command

class build_clib(Command):
Expand All @@ -17,7 +18,7 @@ class build_clib(Command):
undef: Incomplete
debug: Incomplete
force: bool
compiler: Incomplete
compiler: CCompiler | str | None # Is only set to `Compiler` after `run`
def initialize_options(self) -> None: ...
def finalize_options(self) -> None: ...
def run(self) -> None: ...
Expand Down
3 changes: 2 additions & 1 deletion stubs/setuptools/setuptools/_distutils/command/build_ext.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ from _typeshed import Incomplete, Unused
from collections.abc import Callable
from typing import ClassVar

from ..ccompiler import CCompiler
from ..cmd import Command
from ..extension import Extension

Expand All @@ -26,7 +27,7 @@ class build_ext(Command):
link_objects: Incomplete
debug: Incomplete
force: Incomplete
compiler: Incomplete
compiler: CCompiler | str | None # Is only set to `Compiler` after `run`
swig: Incomplete
swig_cpp: Incomplete
swig_opts: Incomplete
Expand Down
5 changes: 3 additions & 2 deletions stubs/setuptools/setuptools/command/build_ext.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ from typing import ClassVar

from setuptools.dist import Distribution

from .._distutils.ccompiler import CCompiler
from .._distutils.command.build_ext import build_ext as _build_ext

have_rtld: bool
Expand All @@ -18,15 +19,15 @@ class build_ext(_build_ext):
def run(self) -> None: ...
def copy_extensions_to_source(self) -> None: ...
def get_ext_filename(self, fullname): ...
shlib_compiler: Incomplete
shlib_compiler: CCompiler | None
shlibs: list[Incomplete]
ext_map: dict[Incomplete, Incomplete]
def initialize_options(self) -> None: ...
extensions: list[Incomplete]
def finalize_options(self) -> None: ...
def setup_shlib_compiler(self) -> None: ...
def get_export_symbols(self, ext): ...
compiler: Incomplete
compiler: CCompiler | str | None # Is only set to `Compiler` after `run`
def build_extension(self, ext) -> None: ...
def links_to_dynamic(self, ext): ...
def get_source_files(self) -> list[str]: ...
Expand Down