Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- python/Lib/site-packages/setuptools/_distutils/__pycache__/__init__.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/_log.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/_macos_compat.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/_modified.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/_msvccompiler.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/archive_util.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/ccompiler.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/cmd.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/core.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/cygwinccompiler.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/debug.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/dep_util.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/dir_util.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/dist.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/errors.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/extension.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/fancy_getopt.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/file_util.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/filelist.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/log.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/spawn.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/sysconfig.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/text_file.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/unixccompiler.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/util.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/version.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/versionpredicate.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/__pycache__/zosccompiler.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__init__.py +42 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/support.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_archive_util.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist_dumb.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist_rpm.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_build.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_build_clib.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_build_ext.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_build_py.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_build_scripts.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_check.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_clean.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_cmd.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_config_cmd.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_core.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_dir_util.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_dist.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_extension.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_file_util.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_filelist.cpython-313.pyc +0 -0
- python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_install.cpython-313.pyc +0 -0
python/Lib/site-packages/setuptools/_distutils/__pycache__/__init__.cpython-313.pyc
ADDED
|
Binary file (513 Bytes). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/_log.cpython-313.pyc
ADDED
|
Binary file (259 Bytes). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/_macos_compat.cpython-313.pyc
ADDED
|
Binary file (550 Bytes). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/_modified.cpython-313.pyc
ADDED
|
Binary file (4.76 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/_msvccompiler.cpython-313.pyc
ADDED
|
Binary file (712 Bytes). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/archive_util.cpython-313.pyc
ADDED
|
Binary file (10.5 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/ccompiler.cpython-313.pyc
ADDED
|
Binary file (677 Bytes). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/cmd.cpython-313.pyc
ADDED
|
Binary file (21.5 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/core.cpython-313.pyc
ADDED
|
Binary file (8.98 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/cygwinccompiler.cpython-313.pyc
ADDED
|
Binary file (641 Bytes). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/debug.cpython-313.pyc
ADDED
|
Binary file (304 Bytes). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/dep_util.cpython-313.pyc
ADDED
|
Binary file (698 Bytes). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/dir_util.cpython-313.pyc
ADDED
|
Binary file (10.1 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/dist.cpython-313.pyc
ADDED
|
Binary file (56.5 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/errors.cpython-313.pyc
ADDED
|
Binary file (4.72 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/extension.cpython-313.pyc
ADDED
|
Binary file (10.4 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/fancy_getopt.cpython-313.pyc
ADDED
|
Binary file (15.9 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/file_util.cpython-313.pyc
ADDED
|
Binary file (9.49 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/filelist.cpython-313.pyc
ADDED
|
Binary file (17.8 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/log.cpython-313.pyc
ADDED
|
Binary file (2.66 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/spawn.cpython-313.pyc
ADDED
|
Binary file (5.55 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/sysconfig.cpython-313.pyc
ADDED
|
Binary file (23.3 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/text_file.cpython-313.pyc
ADDED
|
Binary file (10.7 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/unixccompiler.cpython-313.pyc
ADDED
|
Binary file (399 Bytes). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/util.cpython-313.pyc
ADDED
|
Binary file (19 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/version.cpython-313.pyc
ADDED
|
Binary file (10.6 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/versionpredicate.cpython-313.pyc
ADDED
|
Binary file (6.84 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/__pycache__/zosccompiler.cpython-313.pyc
ADDED
|
Binary file (280 Bytes). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__init__.py
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Test suite for distutils.
|
| 3 |
+
|
| 4 |
+
Tests for the command classes in the distutils.command package are
|
| 5 |
+
included in distutils.tests as well, instead of using a separate
|
| 6 |
+
distutils.command.tests package, since command identification is done
|
| 7 |
+
by import rather than matching pre-defined names.
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
import shutil
|
| 11 |
+
from collections.abc import Sequence
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def missing_compiler_executable(cmd_names: Sequence[str] = []): # pragma: no cover
|
| 15 |
+
"""Check if the compiler components used to build the interpreter exist.
|
| 16 |
+
|
| 17 |
+
Check for the existence of the compiler executables whose names are listed
|
| 18 |
+
in 'cmd_names' or all the compiler executables when 'cmd_names' is empty
|
| 19 |
+
and return the first missing executable or None when none is found
|
| 20 |
+
missing.
|
| 21 |
+
|
| 22 |
+
"""
|
| 23 |
+
from distutils import ccompiler, errors, sysconfig
|
| 24 |
+
|
| 25 |
+
compiler = ccompiler.new_compiler()
|
| 26 |
+
sysconfig.customize_compiler(compiler)
|
| 27 |
+
if compiler.compiler_type == "msvc":
|
| 28 |
+
# MSVC has no executables, so check whether initialization succeeds
|
| 29 |
+
try:
|
| 30 |
+
compiler.initialize()
|
| 31 |
+
except errors.DistutilsPlatformError:
|
| 32 |
+
return "msvc"
|
| 33 |
+
for name in compiler.executables:
|
| 34 |
+
if cmd_names and name not in cmd_names:
|
| 35 |
+
continue
|
| 36 |
+
cmd = getattr(compiler, name)
|
| 37 |
+
if cmd_names:
|
| 38 |
+
assert cmd is not None, f"the '{name}' executable is not configured"
|
| 39 |
+
elif not cmd:
|
| 40 |
+
continue
|
| 41 |
+
if shutil.which(cmd[0]) is None:
|
| 42 |
+
return cmd[0]
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/support.cpython-313.pyc
ADDED
|
Binary file (6.33 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_archive_util.cpython-313.pyc
ADDED
|
Binary file (20.5 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist.cpython-313.pyc
ADDED
|
Binary file (1.96 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist_dumb.cpython-313.pyc
ADDED
|
Binary file (3.9 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist_rpm.cpython-313.pyc
ADDED
|
Binary file (5.7 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_build.cpython-313.pyc
ADDED
|
Binary file (2.87 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_build_clib.cpython-313.pyc
ADDED
|
Binary file (6.74 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_build_ext.cpython-313.pyc
ADDED
|
Binary file (29.8 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_build_py.cpython-313.pyc
ADDED
|
Binary file (9.92 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_build_scripts.cpython-313.pyc
ADDED
|
Binary file (4.77 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_check.cpython-313.pyc
ADDED
|
Binary file (7.17 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_clean.cpython-313.pyc
ADDED
|
Binary file (1.97 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_cmd.cpython-313.pyc
ADDED
|
Binary file (6.46 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_config_cmd.cpython-313.pyc
ADDED
|
Binary file (5.18 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_core.cpython-313.pyc
ADDED
|
Binary file (6.19 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_dir_util.cpython-313.pyc
ADDED
|
Binary file (8.58 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_dist.cpython-313.pyc
ADDED
|
Binary file (27.1 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_extension.cpython-313.pyc
ADDED
|
Binary file (4.27 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_file_util.cpython-313.pyc
ADDED
|
Binary file (6.96 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_filelist.cpython-313.pyc
ADDED
|
Binary file (14.5 kB). View file
|
|
|
python/Lib/site-packages/setuptools/_distutils/tests/__pycache__/test_install.cpython-313.pyc
ADDED
|
Binary file (14.2 kB). View file
|
|
|