FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[setuptools] Update to 77.0.2 by srittau · Pull Request #13685 · python/typeshed · GitHub

Repository navigation

4 changes: 1 addition & 3 deletions stubs/setuptools/@tests/stubtest_allowlist.txt
This file contains hidden or 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
Expand Up @@ -32,9 +32,7 @@ setuptools._distutils.dist.Distribution.get_obsoletes
setuptools._distutils.archive_util.ARCHIVE_FORMATS
setuptools._distutils.archive_util.check_archive_formats
setuptools._distutils.cmd.Command.dump_options
setuptools._distutils.command.build_clib.show_compilers
setuptools._distutils.command.build_ext.extension_name_re
setuptools._distutils.command.build_ext.show_compilers
setuptools._distutils.command.build_scripts
setuptools._distutils.command.check
setuptools._distutils.command.clean
Expand Down Expand Up @@ -75,6 +73,7 @@ setuptools._distutils.command.config
setuptools._distutils.command.install_data
setuptools._distutils.command.install_egg_info
setuptools._distutils.command.install_headers
setuptools._distutils.compat.numpy
setuptools._distutils.compat.py39
setuptools._distutils.core
setuptools._distutils.cygwinccompiler
Expand All @@ -84,7 +83,6 @@ setuptools._distutils.fancy_getopt
setuptools._distutils.file_util
setuptools._distutils.log
setuptools._distutils.text_file
setuptools._distutils.unixccompiler
setuptools._distutils.version
setuptools._distutils.versionpredicate
setuptools._distutils.zosccompiler
Expand Down
2 changes: 1 addition & 1 deletion stubs/setuptools/METADATA.toml
This file contains hidden or 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,4 @@
version = "~=76.0.0"
version = "~=77.0.2"
upstream_repository = "https://github.com/pypa/setuptools"
extra_description = """\
Given that `pkg_resources` is typed since `setuptools >= 71.1`, \
Expand Down
1 change: 1 addition & 0 deletions stubs/setuptools/distutils/compilers/C/unix.pyi
This file contains hidden or 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 @@
from setuptools._distutils.compilers.C.unix import *
1 change: 1 addition & 0 deletions stubs/setuptools/distutils/unixccompiler.pyi
This file contains hidden or 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 @@
from setuptools._distutils.unixccompiler import *
This file contains hidden or 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,3 +1,5 @@
from .compilers.C import msvc

__all__ = ["MSVCCompiler"]

MSVCCompiler = msvc.Compiler
This file contains hidden or 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
Expand Up @@ -4,8 +4,6 @@ from typing import ClassVar

from ..cmd import Command

def show_compilers() -> None: ...

class build(Command):
description: ClassVar[str]
user_options: ClassVar[list[tuple[str, str | None, str]]]
Expand Down
This file contains hidden or 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,10 @@
from _typeshed import Incomplete
from typing import ClassVar, Final

from . import base

PLAT_SPEC_TO_RUNTIME: Final[dict[str, str]]

class Compiler(base.Compiler):
compiler_type: ClassVar[str]
executables: ClassVar[dict[str, Incomplete]]
src_extensions: ClassVar[list[str]]
res_extension: ClassVar[str]
obj_extension: ClassVar[str]
Expand Down
This file contains hidden or 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,16 @@
from typing import ClassVar

from . import base

class Compiler(base.Compiler):
src_extensions: ClassVar[list[str]]
obj_extension: ClassVar[str]
static_lib_extension: ClassVar[str]
shared_lib_extension: ClassVar[str]
dylib_lib_extension: ClassVar[str]
xcode_stub_lib_extension: ClassVar[str]
static_lib_format: ClassVar[str]
shared_lib_format: ClassVar[str]
dylib_lib_format: ClassVar[str]
xcode_stub_lib_format: ClassVar[str]
def runtime_library_dir_option(self, dir: str) -> str | list[str]: ... # type: ignore[override]
Comment thread
Avasam marked this conversation as resolved.
This file contains hidden or 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

Back | FazBrowse Home | New Git URL