diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/__init__.py b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e374d5c5604d0eeed555e68b7523bfac72fd9101 --- /dev/null +++ b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/__init__.py @@ -0,0 +1,14 @@ +import importlib +import sys + +__version__, _, _ = sys.version.partition(' ') + + +try: + # Allow Debian and pkgsrc (only) to customize system + # behavior. Ref pypa/distutils#2 and pypa/distutils#16. + # This hook is deprecated and no other environments + # should use it. + importlib.import_module('_distutils_system_mod') +except ImportError: + pass diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/_log.py b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/_log.py new file mode 100644 index 0000000000000000000000000000000000000000..0148f157ff3bf8bd728c82f49cd3d1cd9cb5a43e --- /dev/null +++ b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/_log.py @@ -0,0 +1,3 @@ +import logging + +log = logging.getLogger() diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/_macos_compat.py b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/_macos_compat.py new file mode 100644 index 0000000000000000000000000000000000000000..76ecb96abe478313ce7d09342b2643bf4a765331 --- /dev/null +++ b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/_macos_compat.py @@ -0,0 +1,12 @@ +import importlib +import sys + + +def bypass_compiler_fixup(cmd, args): + return cmd + + +if sys.platform == 'darwin': + compiler_fixup = importlib.import_module('_osx_support').compiler_fixup +else: + compiler_fixup = bypass_compiler_fixup diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/_modified.py b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/_modified.py new file mode 100644 index 0000000000000000000000000000000000000000..7cdca9398f487bf405e0db0272f8aa9672d30b5e --- /dev/null +++ b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/_modified.py @@ -0,0 +1,73 @@ +"""Timestamp comparison of files and groups of files.""" + +import functools +import os.path + +from jaraco.functools import splat + +from .compat.py39 import zip_strict +from .errors import DistutilsFileError + + +def _newer(source, target): + return not os.path.exists(target) or ( + os.path.getmtime(source) > os.path.getmtime(target) + ) + + +def newer(source, target): + """ + Is source modified more recently than target. + + Returns True if 'source' is modified more recently than + 'target' or if 'target' does not exist. + + Raises DistutilsFileError if 'source' does not exist. + """ + if not os.path.exists(source): + raise DistutilsFileError(f"file '{os.path.abspath(source)}' does not exist") + + return _newer(source, target) + + +def newer_pairwise(sources, targets, newer=newer): + """ + Filter filenames where sources are newer than targets. + + Walk two filename iterables in parallel, testing if each source is newer + than its corresponding target. Returns a pair of lists (sources, + targets) where source is newer than target, according to the semantics + of 'newer()'. + """ + newer_pairs = filter(splat(newer), zip_strict(sources, targets)) + return tuple(map(list, zip(*newer_pairs))) or ([], []) + + +def newer_group(sources, target, missing='error'): + """ + Is target out-of-date with respect to any file in sources. + + Return True if 'target' is out-of-date with respect to any file + listed in 'sources'. In other words, if 'target' exists and is newer + than every file in 'sources', return False; otherwise return True. + ``missing`` controls how to handle a missing source file: + + - error (default): allow the ``stat()`` call to fail. + - ignore: silently disregard any missing source files. + - newer: treat missing source files as "target out of date". This + mode is handy in "dry-run" mode: it will pretend to carry out + commands that wouldn't work because inputs are missing, but + that doesn't matter because dry-run won't run the commands. + """ + + def missing_as_newer(source): + return missing == 'newer' and not os.path.exists(source) + + ignored = os.path.exists if missing == 'ignore' else None + return not os.path.exists(target) or any( + missing_as_newer(source) or _newer(source, target) + for source in filter(ignored, sources) + ) + + +newer_pairwise_group = functools.partial(newer_pairwise, newer=newer_group) diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/archive_util.py b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/archive_util.py new file mode 100644 index 0000000000000000000000000000000000000000..5bb6df763de0bd7f242e3bb786f6a9cd68bb78fe --- /dev/null +++ b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/archive_util.py @@ -0,0 +1,264 @@ +"""distutils.archive_util + +Utility functions for creating archive files (tarballs, zip files, +that sort of thing).""" + +import os + +try: + import zipfile +except ImportError: + zipfile = None + + +from ._log import log +from .dir_util import mkpath +from .errors import DistutilsExecError +from .spawn import spawn + +try: + from pwd import getpwnam +except ImportError: + getpwnam = None + +try: + from grp import getgrnam +except ImportError: + getgrnam = None + + +def _get_gid(name): + """Returns a gid, given a group name.""" + if getgrnam is None or name is None: + return None + try: + result = getgrnam(name) + except KeyError: + result = None + if result is not None: + return result[2] + return None + + +def _get_uid(name): + """Returns an uid, given a user name.""" + if getpwnam is None or name is None: + return None + try: + result = getpwnam(name) + except KeyError: + result = None + if result is not None: + return result[2] + return None + + +def make_tarball( + base_name, + base_dir, + compress="gzip", + verbose=False, + dry_run=False, + owner=None, + group=None, +): + """Create a (possibly compressed) tar file from all the files under + 'base_dir'. + + 'compress' must be "gzip" (the default), "bzip2", "xz", or None. + + 'owner' and 'group' can be used to define an owner and a group for the + archive that is being built. If not provided, the current owner and group + will be used. + + The output tar file will be named 'base_dir' + ".tar", possibly plus + the appropriate compression extension (".gz", ".bz2", ".xz" or ".Z"). + + Returns the output filename. + """ + tar_compression = { + 'gzip': 'gz', + 'bzip2': 'bz2', + 'xz': 'xz', + None: '', + } + compress_ext = {'gzip': '.gz', 'bzip2': '.bz2', 'xz': '.xz'} + + # flags for compression program, each element of list will be an argument + if compress is not None and compress not in compress_ext.keys(): + raise ValueError( + "bad value for 'compress': must be None, 'gzip', 'bzip2', 'xz'" + ) + + archive_name = base_name + '.tar' + archive_name += compress_ext.get(compress, '') + + mkpath(os.path.dirname(archive_name), dry_run=dry_run) + + # creating the tarball + import tarfile # late import so Python build itself doesn't break + + log.info('Creating tar archive') + + uid = _get_uid(owner) + gid = _get_gid(group) + + def _set_uid_gid(tarinfo): + if gid is not None: + tarinfo.gid = gid + tarinfo.gname = group + if uid is not None: + tarinfo.uid = uid + tarinfo.uname = owner + return tarinfo + + if not dry_run: + tar = tarfile.open(archive_name, f'w|{tar_compression[compress]}') + try: + tar.add(base_dir, filter=_set_uid_gid) + finally: + tar.close() + + return archive_name + + +def make_zipfile(base_name, base_dir, verbose=False, dry_run=False): # noqa: C901 + """Create a zip file from all the files under 'base_dir'. + + The output zip file will be named 'base_name' + ".zip". Uses either the + "zipfile" Python module (if available) or the InfoZIP "zip" utility + (if installed and found on the default search path). If neither tool is + available, raises DistutilsExecError. Returns the name of the output zip + file. + """ + zip_filename = base_name + ".zip" + mkpath(os.path.dirname(zip_filename), dry_run=dry_run) + + # If zipfile module is not available, try spawning an external + # 'zip' command. + if zipfile is None: + if verbose: + zipoptions = "-r" + else: + zipoptions = "-rq" + + try: + spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run) + except DistutilsExecError: + # XXX really should distinguish between "couldn't find + # external 'zip' command" and "zip failed". + raise DistutilsExecError( + f"unable to create zip file '{zip_filename}': " + "could neither import the 'zipfile' module nor " + "find a standalone zip utility" + ) + + else: + log.info("creating '%s' and adding '%s' to it", zip_filename, base_dir) + + if not dry_run: + try: + zip = zipfile.ZipFile( + zip_filename, "w", compression=zipfile.ZIP_DEFLATED + ) + except RuntimeError: + zip = zipfile.ZipFile(zip_filename, "w", compression=zipfile.ZIP_STORED) + + with zip: + if base_dir != os.curdir: + path = os.path.normpath(os.path.join(base_dir, '')) + zip.write(path, path) + log.info("adding '%s'", path) + for dirpath, dirnames, filenames in os.walk(base_dir): + for name in dirnames: + path = os.path.normpath(os.path.join(dirpath, name, '')) + zip.write(path, path) + log.info("adding '%s'", path) + for name in filenames: + path = os.path.normpath(os.path.join(dirpath, name)) + if os.path.isfile(path): + zip.write(path, path) + log.info("adding '%s'", path) + + return zip_filename + + +ARCHIVE_FORMATS = { + 'gztar': (make_tarball, [('compress', 'gzip')], "gzip'ed tar-file"), + 'bztar': (make_tarball, [('compress', 'bzip2')], "bzip2'ed tar-file"), + 'xztar': (make_tarball, [('compress', 'xz')], "xz'ed tar-file"), + 'ztar': (make_tarball, [('compress', 'compress')], "compressed tar file"), + 'tar': (make_tarball, [('compress', None)], "uncompressed tar file"), + 'zip': (make_zipfile, [], "ZIP file"), +} + + +def check_archive_formats(formats): + """Returns the first format from the 'format' list that is unknown. + + If all formats are known, returns None + """ + for format in formats: + if format not in ARCHIVE_FORMATS: + return format + return None + + +def make_archive( + base_name, + format, + root_dir=None, + base_dir=None, + verbose=False, + dry_run=False, + owner=None, + group=None, +): + """Create an archive file (eg. zip or tar). + + 'base_name' is the name of the file to create, minus any format-specific + extension; 'format' is the archive format: one of "zip", "tar", "gztar", + "bztar", "xztar", or "ztar". + + 'root_dir' is a directory that will be the root directory of the + archive; ie. we typically chdir into 'root_dir' before creating the + archive. 'base_dir' is the directory where we start archiving from; + ie. 'base_dir' will be the common prefix of all files and + directories in the archive. 'root_dir' and 'base_dir' both default + to the current directory. Returns the name of the archive file. + + 'owner' and 'group' are used when creating a tar archive. By default, + uses the current owner and group. + """ + save_cwd = os.getcwd() + if root_dir is not None: + log.debug("changing into '%s'", root_dir) + base_name = os.path.abspath(base_name) + if not dry_run: + os.chdir(root_dir) + + if base_dir is None: + base_dir = os.curdir + + kwargs = {'dry_run': dry_run} + + try: + format_info = ARCHIVE_FORMATS[format] + except KeyError: + raise ValueError(f"unknown archive format '{format}'") + + func = format_info[0] + kwargs.update(format_info[1]) + + if format != 'zip': + kwargs['owner'] = owner + kwargs['group'] = group + + try: + filename = func(base_name, base_dir, **kwargs) + finally: + if root_dir is not None: + log.debug("changing back to '%s'", save_cwd) + os.chdir(save_cwd) + + return filename diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/cmd.py b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/cmd.py new file mode 100644 index 0000000000000000000000000000000000000000..9c6fa6566ce911d4bb97f386e0d42c90bf1e4036 --- /dev/null +++ b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/cmd.py @@ -0,0 +1,462 @@ +"""distutils.cmd + +Provides the Command class, the base class for the command classes +in the distutils.command package. +""" + +from __future__ import annotations + +import logging +import os +import re +import sys +from collections.abc import Callable +from typing import Any, ClassVar, TypeVar, overload + +from . import _modified, archive_util, dir_util, file_util, util +from ._log import log +from .errors import DistutilsOptionError + +_CommandT = TypeVar("_CommandT", bound="Command") + + +class Command: + """Abstract base class for defining command classes, the "worker bees" + of the Distutils. A useful analogy for command classes is to think of + them as subroutines with local variables called "options". The options + are "declared" in 'initialize_options()' and "defined" (given their + final values, aka "finalized") in 'finalize_options()', both of which + must be defined by every command class. The distinction between the + two is necessary because option values might come from the outside + world (command line, config file, ...), and any options dependent on + other options must be computed *after* these outside influences have + been processed -- hence 'finalize_options()'. The "body" of the + subroutine, where it does all its work based on the values of its + options, is the 'run()' method, which must also be implemented by every + command class. + """ + + # 'sub_commands' formalizes the notion of a "family" of commands, + # eg. "install" as the parent with sub-commands "install_lib", + # "install_headers", etc. The parent of a family of commands + # defines 'sub_commands' as a class attribute; it's a list of + # (command_name : string, predicate : unbound_method | string | None) + # tuples, where 'predicate' is a method of the parent command that + # determines whether the corresponding command is applicable in the + # current situation. (Eg. we "install_headers" is only applicable if + # we have any C header files to install.) If 'predicate' is None, + # that command is always applicable. + # + # 'sub_commands' is usually defined at the *end* of a class, because + # predicates can be unbound methods, so they must already have been + # defined. The canonical example is the "install" command. + sub_commands: ClassVar[ # Any to work around variance issues + list[tuple[str, Callable[[Any], bool] | None]] + ] = [] + + user_options: ClassVar[ + # Specifying both because list is invariant. Avoids mypy override assignment issues + list[tuple[str, str, str]] | list[tuple[str, str | None, str]] + ] = [] + + # -- Creation/initialization methods ------------------------------- + + def __init__(self, dist): + """Create and initialize a new Command object. Most importantly, + invokes the 'initialize_options()' method, which is the real + initializer and depends on the actual command being + instantiated. + """ + # late import because of mutual dependence between these classes + from distutils.dist import Distribution + + if not isinstance(dist, Distribution): + raise TypeError("dist must be a Distribution instance") + if self.__class__ is Command: + raise RuntimeError("Command is an abstract class") + + self.distribution = dist + self.initialize_options() + + # Per-command versions of the global flags, so that the user can + # customize Distutils' behaviour command-by-command and let some + # commands fall back on the Distribution's behaviour. None means + # "not defined, check self.distribution's copy", while 0 or 1 mean + # false and true (duh). Note that this means figuring out the real + # value of each flag is a touch complicated -- hence "self._dry_run" + # will be handled by __getattr__, below. + # XXX This needs to be fixed. + self._dry_run = None + + # verbose is largely ignored, but needs to be set for + # backwards compatibility (I think)? + self.verbose = dist.verbose + + # Some commands define a 'self.force' option to ignore file + # timestamps, but methods defined *here* assume that + # 'self.force' exists for all commands. So define it here + # just to be safe. + self.force = None + + # The 'help' flag is just used for command-line parsing, so + # none of that complicated bureaucracy is needed. + self.help = False + + # 'finalized' records whether or not 'finalize_options()' has been + # called. 'finalize_options()' itself should not pay attention to + # this flag: it is the business of 'ensure_finalized()', which + # always calls 'finalize_options()', to respect/update it. + self.finalized = False + + # XXX A more explicit way to customize dry_run would be better. + def __getattr__(self, attr): + if attr == 'dry_run': + myval = getattr(self, "_" + attr) + if myval is None: + return getattr(self.distribution, attr) + else: + return myval + else: + raise AttributeError(attr) + + def ensure_finalized(self): + if not self.finalized: + self.finalize_options() + self.finalized = True + + # Subclasses must define: + # initialize_options() + # provide default values for all options; may be customized by + # setup script, by options from config file(s), or by command-line + # options + # finalize_options() + # decide on the final values for all options; this is called + # after all possible intervention from the outside world + # (command-line, option file, etc.) has been processed + # run() + # run the command: do whatever it is we're here to do, + # controlled by the command's various option values + + def initialize_options(self): + """Set default values for all the options that this command + supports. Note that these defaults may be overridden by other + commands, by the setup script, by config files, or by the + command-line. Thus, this is not the place to code dependencies + between options; generally, 'initialize_options()' implementations + are just a bunch of "self.foo = None" assignments. + + This method must be implemented by all command classes. + """ + raise RuntimeError( + f"abstract method -- subclass {self.__class__} must override" + ) + + def finalize_options(self): + """Set final values for all the options that this command supports. + This is always called as late as possible, ie. after any option + assignments from the command-line or from other commands have been + done. Thus, this is the place to code option dependencies: if + 'foo' depends on 'bar', then it is safe to set 'foo' from 'bar' as + long as 'foo' still has the same value it was assigned in + 'initialize_options()'. + + This method must be implemented by all command classes. + """ + raise RuntimeError( + f"abstract method -- subclass {self.__class__} must override" + ) + + def dump_options(self, header=None, indent=""): + from distutils.fancy_getopt import longopt_xlate + + if header is None: + header = f"command options for '{self.get_command_name()}':" + self.announce(indent + header, level=logging.INFO) + indent = indent + " " + for option, _, _ in self.user_options: + option = option.translate(longopt_xlate) + if option[-1] == "=": + option = option[:-1] + value = getattr(self, option) + self.announce(indent + f"{option} = {value}", level=logging.INFO) + + def run(self): + """A command's raison d'etre: carry out the action it exists to + perform, controlled by the options initialized in + 'initialize_options()', customized by other commands, the setup + script, the command-line, and config files, and finalized in + 'finalize_options()'. All terminal output and filesystem + interaction should be done by 'run()'. + + This method must be implemented by all command classes. + """ + raise RuntimeError( + f"abstract method -- subclass {self.__class__} must override" + ) + + def announce(self, msg, level=logging.DEBUG): + log.log(level, msg) + + def debug_print(self, msg): + """Print 'msg' to stdout if the global DEBUG (taken from the + DISTUTILS_DEBUG environment variable) flag is true. + """ + from distutils.debug import DEBUG + + if DEBUG: + print(msg) + sys.stdout.flush() + + # -- Option validation methods ------------------------------------- + # (these are very handy in writing the 'finalize_options()' method) + # + # NB. the general philosophy here is to ensure that a particular option + # value meets certain type and value constraints. If not, we try to + # force it into conformance (eg. if we expect a list but have a string, + # split the string on comma and/or whitespace). If we can't force the + # option into conformance, raise DistutilsOptionError. Thus, command + # classes need do nothing more than (eg.) + # self.ensure_string_list('foo') + # and they can be guaranteed that thereafter, self.foo will be + # a list of strings. + + def _ensure_stringlike(self, option, what, default=None): + val = getattr(self, option) + if val is None: + setattr(self, option, default) + return default + elif not isinstance(val, str): + raise DistutilsOptionError(f"'{option}' must be a {what} (got `{val}`)") + return val + + def ensure_string(self, option, default=None): + """Ensure that 'option' is a string; if not defined, set it to + 'default'. + """ + self._ensure_stringlike(option, "string", default) + + def ensure_string_list(self, option): + r"""Ensure that 'option' is a list of strings. If 'option' is + currently a string, we split it either on /,\s*/ or /\s+/, so + "foo bar baz", "foo,bar,baz", and "foo, bar baz" all become + ["foo", "bar", "baz"]. + """ + val = getattr(self, option) + if val is None: + return + elif isinstance(val, str): + setattr(self, option, re.split(r',\s*|\s+', val)) + else: + if isinstance(val, list): + ok = all(isinstance(v, str) for v in val) + else: + ok = False + if not ok: + raise DistutilsOptionError( + f"'{option}' must be a list of strings (got {val!r})" + ) + + def _ensure_tested_string(self, option, tester, what, error_fmt, default=None): + val = self._ensure_stringlike(option, what, default) + if val is not None and not tester(val): + raise DistutilsOptionError( + ("error in '%s' option: " + error_fmt) % (option, val) + ) + + def ensure_filename(self, option): + """Ensure that 'option' is the name of an existing file.""" + self._ensure_tested_string( + option, os.path.isfile, "filename", "'%s' does not exist or is not a file" + ) + + def ensure_dirname(self, option): + self._ensure_tested_string( + option, + os.path.isdir, + "directory name", + "'%s' does not exist or is not a directory", + ) + + # -- Convenience methods for commands ------------------------------ + + def get_command_name(self): + if hasattr(self, 'command_name'): + return self.command_name + else: + return self.__class__.__name__ + + def set_undefined_options(self, src_cmd, *option_pairs): + """Set the values of any "undefined" options from corresponding + option values in some other command object. "Undefined" here means + "is None", which is the convention used to indicate that an option + has not been changed between 'initialize_options()' and + 'finalize_options()'. Usually called from 'finalize_options()' for + options that depend on some other command rather than another + option of the same command. 'src_cmd' is the other command from + which option values will be taken (a command object will be created + for it if necessary); the remaining arguments are + '(src_option,dst_option)' tuples which mean "take the value of + 'src_option' in the 'src_cmd' command object, and copy it to + 'dst_option' in the current command object". + """ + # Option_pairs: list of (src_option, dst_option) tuples + src_cmd_obj = self.distribution.get_command_obj(src_cmd) + src_cmd_obj.ensure_finalized() + for src_option, dst_option in option_pairs: + if getattr(self, dst_option) is None: + setattr(self, dst_option, getattr(src_cmd_obj, src_option)) + + def get_finalized_command(self, command, create=True): + """Wrapper around Distribution's 'get_command_obj()' method: find + (create if necessary and 'create' is true) the command object for + 'command', call its 'ensure_finalized()' method, and return the + finalized command object. + """ + cmd_obj = self.distribution.get_command_obj(command, create) + cmd_obj.ensure_finalized() + return cmd_obj + + # XXX rename to 'get_reinitialized_command()'? (should do the + # same in dist.py, if so) + @overload + def reinitialize_command( + self, command: str, reinit_subcommands: bool = False + ) -> Command: ... + @overload + def reinitialize_command( + self, command: _CommandT, reinit_subcommands: bool = False + ) -> _CommandT: ... + def reinitialize_command( + self, command: str | Command, reinit_subcommands=False + ) -> Command: + return self.distribution.reinitialize_command(command, reinit_subcommands) + + def run_command(self, command): + """Run some other command: uses the 'run_command()' method of + Distribution, which creates and finalizes the command object if + necessary and then invokes its 'run()' method. + """ + self.distribution.run_command(command) + + def get_sub_commands(self): + """Determine the sub-commands that are relevant in the current + distribution (ie., that need to be run). This is based on the + 'sub_commands' class attribute: each tuple in that list may include + a method that we call to determine if the subcommand needs to be + run for the current distribution. Return a list of command names. + """ + commands = [] + for cmd_name, method in self.sub_commands: + if method is None or method(self): + commands.append(cmd_name) + return commands + + # -- External world manipulation ----------------------------------- + + def warn(self, msg): + log.warning("warning: %s: %s\n", self.get_command_name(), msg) + + def execute(self, func, args, msg=None, level=1): + util.execute(func, args, msg, dry_run=self.dry_run) + + def mkpath(self, name, mode=0o777): + dir_util.mkpath(name, mode, dry_run=self.dry_run) + + def copy_file( + self, + infile, + outfile, + preserve_mode=True, + preserve_times=True, + link=None, + level=1, + ): + """Copy a file respecting verbose, dry-run and force flags. (The + former two default to whatever is in the Distribution object, and + the latter defaults to false for commands that don't define it.)""" + return file_util.copy_file( + infile, + outfile, + preserve_mode, + preserve_times, + not self.force, + link, + dry_run=self.dry_run, + ) + + def copy_tree( + self, + infile, + outfile, + preserve_mode=True, + preserve_times=True, + preserve_symlinks=False, + level=1, + ): + """Copy an entire directory tree respecting verbose, dry-run, + and force flags. + """ + return dir_util.copy_tree( + infile, + outfile, + preserve_mode, + preserve_times, + preserve_symlinks, + not self.force, + dry_run=self.dry_run, + ) + + def move_file(self, src, dst, level=1): + """Move a file respecting dry-run flag.""" + return file_util.move_file(src, dst, dry_run=self.dry_run) + + def spawn(self, cmd, search_path=True, level=1): + """Spawn an external command respecting dry-run flag.""" + from distutils.spawn import spawn + + spawn(cmd, search_path, dry_run=self.dry_run) + + def make_archive( + self, base_name, format, root_dir=None, base_dir=None, owner=None, group=None + ): + return archive_util.make_archive( + base_name, + format, + root_dir, + base_dir, + dry_run=self.dry_run, + owner=owner, + group=group, + ) + + def make_file( + self, infiles, outfile, func, args, exec_msg=None, skip_msg=None, level=1 + ): + """Special case of 'execute()' for operations that process one or + more input files and generate one output file. Works just like + 'execute()', except the operation is skipped and a different + message printed if 'outfile' already exists and is newer than all + files listed in 'infiles'. If the command defined 'self.force', + and it is true, then the command is unconditionally run -- does no + timestamp checks. + """ + if skip_msg is None: + skip_msg = f"skipping {outfile} (inputs unchanged)" + + # Allow 'infiles' to be a single string + if isinstance(infiles, str): + infiles = (infiles,) + elif not isinstance(infiles, (list, tuple)): + raise TypeError("'infiles' must be a string, or a list or tuple of strings") + + if exec_msg is None: + exec_msg = "generating {} from {}".format(outfile, ', '.join(infiles)) + + # If 'outfile' must be regenerated (either because it doesn't + # exist, is out-of-date, or the 'force' flag is true) then + # perform the action that presumably regenerates it + if self.force or _modified.newer_group(infiles, outfile): + self.execute(func, args, exec_msg, level) + # Otherwise, print the "skip" message + else: + log.debug(skip_msg) diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/errors.py b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/errors.py new file mode 100644 index 0000000000000000000000000000000000000000..3196a4f0972bbbb08556398e45dd1cef73a69f88 --- /dev/null +++ b/chatunivi/lib/python3.10/site-packages/setuptools/_distutils/errors.py @@ -0,0 +1,124 @@ +""" +Exceptions used by the Distutils modules. + +Distutils modules may raise these or standard exceptions, +including :exc:`SystemExit`. +""" + + +class DistutilsError(Exception): + """The root of all Distutils evil.""" + + pass + + +class DistutilsModuleError(DistutilsError): + """Unable to load an expected module, or to find an expected class + within some module (in particular, command modules and classes).""" + + pass + + +class DistutilsClassError(DistutilsError): + """Some command class (or possibly distribution class, if anyone + feels a need to subclass Distribution) is found not to be holding + up its end of the bargain, ie. implementing some part of the + "command "interface.""" + + pass + + +class DistutilsGetoptError(DistutilsError): + """The option table provided to 'fancy_getopt()' is bogus.""" + + pass + + +class DistutilsArgError(DistutilsError): + """Raised by fancy_getopt in response to getopt.error -- ie. an + error in the command line usage.""" + + pass + + +class DistutilsFileError(DistutilsError): + """Any problems in the filesystem: expected file not found, etc. + Typically this is for problems that we detect before OSError + could be raised.""" + + pass + + +class DistutilsOptionError(DistutilsError): + """Syntactic/semantic errors in command options, such as use of + mutually conflicting options, or inconsistent options, + badly-spelled values, etc. No distinction is made between option + values originating in the setup script, the command line, config + files, or what-have-you -- but if we *know* something originated in + the setup script, we'll raise DistutilsSetupError instead.""" + + pass + + +class DistutilsSetupError(DistutilsError): + """For errors that can be definitely blamed on the setup script, + such as invalid keyword arguments to 'setup()'.""" + + pass + + +class DistutilsPlatformError(DistutilsError): + """We don't know how to do something on the current platform (but + we do know how to do it on some platform) -- eg. trying to compile + C files on a platform not supported by a CCompiler subclass.""" + + pass + + +class DistutilsExecError(DistutilsError): + """Any problems executing an external program (such as the C + compiler, when compiling C files).""" + + pass + + +class DistutilsInternalError(DistutilsError): + """Internal inconsistencies or impossibilities (obviously, this + should never be seen if the code is working!).""" + + pass + + +class DistutilsTemplateError(DistutilsError): + """Syntax error in a file list template.""" + + +class DistutilsByteCompileError(DistutilsError): + """Byte compile error.""" + + +# Exception classes used by the CCompiler implementation classes +class CCompilerError(Exception): + """Some compile/link operation failed.""" + + +class PreprocessError(CCompilerError): + """Failure to preprocess one or more C/C++ files.""" + + +class CompileError(CCompilerError): + """Failure to compile one or more C/C++ source files.""" + + +class LibError(CCompilerError): + """Failure to create a static library from one or more C/C++ object + files.""" + + +class LinkError(CCompilerError): + """Failure to link one or more C/C++ object files into an executable + or shared library file.""" + + +class UnknownFileError(CCompilerError): + """Attempt to process an unknown file type.""" diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/__init__.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6717d0832cdaa2095b4012c18f33f1ef49276068 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/__init__.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/contexts.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/contexts.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7a60f113220f7e7e41533e3d2f3944a9e960237e Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/contexts.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/environment.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/environment.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..735dde527dab1068b5ad716fa9f8d90f29e3bf7e Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/environment.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/fixtures.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/fixtures.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d839bf94a1c52b05dce39465502b3b07e1ac1132 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/fixtures.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/mod_with_constant.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/mod_with_constant.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bd2d9f7da5206518c7a4dbebbcc2ca97c96b3aad Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/mod_with_constant.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/namespaces.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/namespaces.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d37ea2cd4dc15e1582e76646b606b980d6ab793e Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/namespaces.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/script-with-bom.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/script-with-bom.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bd96ef9d90dbc7f17c1581012e8f7a05c51c2c70 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/script-with-bom.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/server.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/server.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e255141827a479f392c46b4deb3d80bc2fee3fa5 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/server.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_archive_util.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_archive_util.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..139a198ee28c32174536885220f376601ddd0e0e Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_archive_util.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_bdist_deprecations.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_bdist_deprecations.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ab627377e25928d5e5d60ee45c14318cdc5a44f4 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_bdist_deprecations.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_bdist_egg.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_bdist_egg.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a47ec177ceca9e228c1d095afaae5cc22dde29e0 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_bdist_egg.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_bdist_wheel.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_bdist_wheel.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9ae0d9968edec89f2ee353e30b7f39f51bc46740 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_bdist_wheel.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c395919797fbb7741d42cdbf7e277d4a891a7ead Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_clib.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_clib.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a42c2f7c315c77b1a5bc8773997132b56c49c822 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_clib.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_ext.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_ext.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..84bcfc0e9cf393c5b1526e149fff7f29cdfd8d11 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_ext.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_meta.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_meta.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..098f13cc4a1826e9e1396ef5c3c55f0337c5c975 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_meta.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_py.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_py.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e47d5ded36b06ab8b2c372b7cf64547a66146df7 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_build_py.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_config_discovery.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_config_discovery.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..06b6b7e8ac7644444a870e730cf629ec689cabb4 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_config_discovery.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_core_metadata.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_core_metadata.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..30bf313cd2ee3a2749db26e967c60777005b4a69 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_core_metadata.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_depends.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_depends.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8f947bb52a2e0fb53948cbebe711cfddcb64d30b Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_depends.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_develop.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_develop.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ee8f5377b97b91205fd19e250d3fa7650b8f0afd Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_develop.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_dist.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_dist.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7c501a74829a4d36ba844753421bcdf74347cc79 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_dist.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_dist_info.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_dist_info.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d5a219146d4dd369297680ca070d3dc0bbcd2530 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_dist_info.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_distutils_adoption.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_distutils_adoption.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..64edb8fc30d522cc990e1915d51493dec5ed07bb Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_distutils_adoption.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_easy_install.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_easy_install.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0275c47483b2881c99f812a5b70e3c7138791fde Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_easy_install.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_editable_install.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_editable_install.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9661f5457200a1aa10a931ecb193bca42ecf0c37 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_editable_install.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_egg_info.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_egg_info.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..39096efe7e3ab0bec668ff8418b1180ba5f6dd3b Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_egg_info.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_extern.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_extern.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a1ce8bf0b7f4f8608fd676f7e471966942f7892e Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_extern.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_find_packages.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_find_packages.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f5ca786300adacbc97ee4ee3bee7ae2483514b7a Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_find_packages.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_find_py_modules.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_find_py_modules.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e01cb329b66a4feb99b2606f3f212d13260ed845 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_find_py_modules.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_glob.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_glob.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c5ac675578a2cedf77a88fe68976a721260504de Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_glob.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_install_scripts.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_install_scripts.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..99d731c43db5aa7788a4cbf08ff79b7e51ebf9ae Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_install_scripts.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_logging.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_logging.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8ba35e4c3a8b07b41268436af8abf0646bd5a184 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_logging.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_manifest.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_manifest.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d47236699eb66065a40f8710efee3cd933cb6bc4 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_manifest.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_namespaces.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_namespaces.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b19005c0621b229085a442dce351947091f40196 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_namespaces.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_packageindex.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_packageindex.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9ec6a6d07b33f6950b565549ced5a1e886568acb Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_packageindex.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_sandbox.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_sandbox.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..68fa3aff4f1f420167f4c129048505caabf41ac7 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_sandbox.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_sdist.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_sdist.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4f4fcdf2a67170730c6f418c792c518583a6c25f Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_sdist.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_setopt.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_setopt.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d0079fb7510b602c529eaef1427d868bc0301e61 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_setopt.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_setuptools.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_setuptools.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..09da3772f131c05753039148b2285de8e99a45ef Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_setuptools.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_shutil_wrapper.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_shutil_wrapper.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..484c0a1517e679d2c2140f7080fb4961d9cfcb58 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_shutil_wrapper.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_unicode_utils.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_unicode_utils.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fedbb9088bd051dd2059da46ad4220a5d6dc7e2d Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_unicode_utils.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_virtualenv.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_virtualenv.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..218109dbb94a6a464e4c518c64010b736cadffdd Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_virtualenv.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_warnings.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_warnings.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bcb04ec0140353e85257ec675e2ba1a1f24600d9 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_warnings.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_wheel.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_wheel.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b6ea5050925bfae6b0d4d7b66be5d6903e5da7a5 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_wheel.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_windows_wrappers.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_windows_wrappers.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..30f5ff5955415d5f4d1bb5363ad540ca82f8587c Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/test_windows_wrappers.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/text.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/text.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..663cb3bf63e0e70297b2c2d030857e6ae980486d Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/text.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/textwrap.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/textwrap.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..00cd32c054b54040ad27eaf409df001ece038d50 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/__pycache__/textwrap.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/compat/__init__.py b/chatunivi/lib/python3.10/site-packages/setuptools/tests/compat/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/compat/__pycache__/__init__.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/compat/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d4d68d901a074294e8d942fef21d79776ad023d1 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/compat/__pycache__/__init__.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/compat/__pycache__/py39.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/compat/__pycache__/py39.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9838b15c054085e6b065ac6f4c81efc0d28732b8 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/compat/__pycache__/py39.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/compat/py39.py b/chatunivi/lib/python3.10/site-packages/setuptools/tests/compat/py39.py new file mode 100644 index 0000000000000000000000000000000000000000..1fdb9dac1fa3f121a634082515d1a305fc09793c --- /dev/null +++ b/chatunivi/lib/python3.10/site-packages/setuptools/tests/compat/py39.py @@ -0,0 +1,3 @@ +from jaraco.test.cpython import from_test_support, try_import + +os_helper = try_import('os_helper') or from_test_support('can_symlink') diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/__init__.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a93fd2f14abeb57dc4d370ee77de5437a685e02d Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/__init__.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_apply_pyprojecttoml.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_apply_pyprojecttoml.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c41bb150700e391b6580e0b03c9089bf6b98c50b Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_apply_pyprojecttoml.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_expand.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_expand.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f6e524f0777bca846c2378426aa7d1d788047c9f Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_expand.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e481eafa525679ffc73afd85e01e288a6e6e16b9 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml_dynamic_deps.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml_dynamic_deps.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5292dee47e7be1ac4ea5a125961363fdcd20b613 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml_dynamic_deps.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_setupcfg.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_setupcfg.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5db03ed7af9fe3d6b00c14299c4ac73a0a11257f Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/__pycache__/test_setupcfg.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/downloads/__pycache__/__init__.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/downloads/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..63540c257428cbfb90e037d75fe1f5859a1485f7 Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/downloads/__pycache__/__init__.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/downloads/__pycache__/preload.cpython-310.pyc b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/downloads/__pycache__/preload.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d75f9ec82d25de4f8dc0e6b3ebb6f40a937a4e0b Binary files /dev/null and b/chatunivi/lib/python3.10/site-packages/setuptools/tests/config/downloads/__pycache__/preload.cpython-310.pyc differ diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/indexes/test_links_priority/external.html b/chatunivi/lib/python3.10/site-packages/setuptools/tests/indexes/test_links_priority/external.html new file mode 100644 index 0000000000000000000000000000000000000000..92e4702f634dfb37a404bec3103b76f6afcaa917 --- /dev/null +++ b/chatunivi/lib/python3.10/site-packages/setuptools/tests/indexes/test_links_priority/external.html @@ -0,0 +1,3 @@ +
+bad old link + diff --git a/chatunivi/lib/python3.10/site-packages/setuptools/tests/indexes/test_links_priority/simple/foobar/index.html b/chatunivi/lib/python3.10/site-packages/setuptools/tests/indexes/test_links_priority/simple/foobar/index.html new file mode 100644 index 0000000000000000000000000000000000000000..fefb028bd3ee7d45a414d6e96a7b2a21ffd7eda7 --- /dev/null +++ b/chatunivi/lib/python3.10/site-packages/setuptools/tests/indexes/test_links_priority/simple/foobar/index.html @@ -0,0 +1,4 @@ + +foobar-0.1.tar.gz