@debugmcp/codelldb-linux-arm64 0.0.0-stage → 1.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +28 -0
- package/README.md +21 -2
- package/adapter/codelldb +0 -0
- package/adapter/scripts/codelldb/__init__.py +7 -0
- package/adapter/scripts/codelldb/api.py +125 -0
- package/adapter/scripts/codelldb/commands/__init__.py +7 -0
- package/adapter/scripts/codelldb/commands/debug_info.py +63 -0
- package/adapter/scripts/codelldb/commands/nofail.py +8 -0
- package/adapter/scripts/codelldb/event.py +19 -0
- package/adapter/scripts/codelldb/interface.py +423 -0
- package/adapter/scripts/codelldb/value.py +364 -0
- package/adapter/scripts/codelldb/webview.py +57 -0
- package/adapter/scripts/console.py +23 -0
- package/adapter/scripts/debugger.py +1 -0
- package/lang_support/__init__.py +23 -0
- package/lang_support/rust.py +87 -0
- package/lldb/bin/lldb +0 -0
- package/lldb/bin/lldb-argdumper +0 -0
- package/lldb/bin/lldb-server +0 -0
- package/lldb/lib/liblldb.so +4 -0
- package/lldb/lib/libpython312.so +0 -0
- package/lldb/lib/lldb-python/lldb/__init__.py +19655 -0
- package/lldb/lib/lldb-python/lldb/embedded_interpreter.py +97 -0
- package/lldb/lib/lldb-python/lldb/formatters/Logger.py +133 -0
- package/lldb/lib/lldb-python/lldb/formatters/__init__.py +11 -0
- package/lldb/lib/lldb-python/lldb/formatters/attrib_fromdict.py +41 -0
- package/lldb/lib/lldb-python/lldb/formatters/cache.py +35 -0
- package/lldb/lib/lldb-python/lldb/formatters/cpp/__init__.py +11 -0
- package/lldb/lib/lldb-python/lldb/formatters/cpp/gnu_libstdcpp.py +939 -0
- package/lldb/lib/lldb-python/lldb/formatters/cpp/libcxx.py +987 -0
- package/lldb/lib/lldb-python/lldb/formatters/metrics.py +119 -0
- package/lldb/lib/lldb-python/lldb/formatters/synth.py +59 -0
- package/lldb/lib/lldb-python/lldb/lldb-argdumper +0 -0
- package/lldb/lib/lldb-python/lldb/native/__init__.py +11 -0
- package/lldb/lib/lldb-python/lldb/plugins/__init__.py +11 -0
- package/lldb/lib/lldb-python/lldb/plugins/operating_system.py +103 -0
- package/lldb/lib/lldb-python/lldb/plugins/parsed_cmd.py +463 -0
- package/lldb/lib/lldb-python/lldb/plugins/scripted_frame_provider.py +188 -0
- package/lldb/lib/lldb-python/lldb/plugins/scripted_platform.py +96 -0
- package/lldb/lib/lldb-python/lldb/plugins/scripted_process.py +1475 -0
- package/lldb/lib/lldb-python/lldb/plugins/scripted_thread_plan.py +70 -0
- package/lldb/lib/lldb-python/lldb/utils/__init__.py +11 -0
- package/lldb/lib/lldb-python/lldb/utils/in_call_stack.py +24 -0
- package/lldb/lib/lldb-python/lldb/utils/symbolication.py +810 -0
- package/lldb/lib/python3.12/__future__.py +147 -0
- package/lldb/lib/python3.12/__hello__.py +16 -0
- package/lldb/lib/python3.12/__phello__/__init__.py +7 -0
- package/lldb/lib/python3.12/__phello__/spam.py +7 -0
- package/lldb/lib/python3.12/_aix_support.py +108 -0
- package/lldb/lib/python3.12/_collections_abc.py +1173 -0
- package/lldb/lib/python3.12/_compat_pickle.py +252 -0
- package/lldb/lib/python3.12/_compression.py +162 -0
- package/lldb/lib/python3.12/_markupbase.py +396 -0
- package/lldb/lib/python3.12/_osx_support.py +579 -0
- package/lldb/lib/python3.12/_py_abc.py +147 -0
- package/lldb/lib/python3.12/_pydatetime.py +2645 -0
- package/lldb/lib/python3.12/_pydecimal.py +6339 -0
- package/lldb/lib/python3.12/_pyio.py +2698 -0
- package/lldb/lib/python3.12/_pylong.py +329 -0
- package/lldb/lib/python3.12/_sitebuiltins.py +103 -0
- package/lldb/lib/python3.12/_strptime.py +565 -0
- package/lldb/lib/python3.12/_sysconfigdata__linux_aarch64-linux-gnu.py +1230 -0
- package/lldb/lib/python3.12/_threading_local.py +242 -0
- package/lldb/lib/python3.12/_weakrefset.py +205 -0
- package/lldb/lib/python3.12/abc.py +188 -0
- package/lldb/lib/python3.12/aifc.py +984 -0
- package/lldb/lib/python3.12/antigravity.py +17 -0
- package/lldb/lib/python3.12/argparse.py +2672 -0
- package/lldb/lib/python3.12/ast.py +1835 -0
- package/lldb/lib/python3.12/asyncio/__init__.py +47 -0
- package/lldb/lib/python3.12/asyncio/__main__.py +126 -0
- package/lldb/lib/python3.12/asyncio/base_events.py +2011 -0
- package/lldb/lib/python3.12/asyncio/base_futures.py +67 -0
- package/lldb/lib/python3.12/asyncio/base_subprocess.py +285 -0
- package/lldb/lib/python3.12/asyncio/base_tasks.py +94 -0
- package/lldb/lib/python3.12/asyncio/constants.py +41 -0
- package/lldb/lib/python3.12/asyncio/coroutines.py +109 -0
- package/lldb/lib/python3.12/asyncio/events.py +868 -0
- package/lldb/lib/python3.12/asyncio/exceptions.py +62 -0
- package/lldb/lib/python3.12/asyncio/format_helpers.py +76 -0
- package/lldb/lib/python3.12/asyncio/futures.py +432 -0
- package/lldb/lib/python3.12/asyncio/locks.py +586 -0
- package/lldb/lib/python3.12/asyncio/log.py +7 -0
- package/lldb/lib/python3.12/asyncio/mixins.py +21 -0
- package/lldb/lib/python3.12/asyncio/proactor_events.py +897 -0
- package/lldb/lib/python3.12/asyncio/protocols.py +216 -0
- package/lldb/lib/python3.12/asyncio/queues.py +244 -0
- package/lldb/lib/python3.12/asyncio/runners.py +215 -0
- package/lldb/lib/python3.12/asyncio/selector_events.py +1321 -0
- package/lldb/lib/python3.12/asyncio/sslproto.py +926 -0
- package/lldb/lib/python3.12/asyncio/staggered.py +138 -0
- package/lldb/lib/python3.12/asyncio/streams.py +770 -0
- package/lldb/lib/python3.12/asyncio/subprocess.py +229 -0
- package/lldb/lib/python3.12/asyncio/taskgroups.py +240 -0
- package/lldb/lib/python3.12/asyncio/tasks.py +1065 -0
- package/lldb/lib/python3.12/asyncio/threads.py +25 -0
- package/lldb/lib/python3.12/asyncio/timeouts.py +168 -0
- package/lldb/lib/python3.12/asyncio/transports.py +335 -0
- package/lldb/lib/python3.12/asyncio/trsock.py +98 -0
- package/lldb/lib/python3.12/asyncio/unix_events.py +1500 -0
- package/lldb/lib/python3.12/asyncio/windows_events.py +901 -0
- package/lldb/lib/python3.12/asyncio/windows_utils.py +173 -0
- package/lldb/lib/python3.12/base64.py +586 -0
- package/lldb/lib/python3.12/bdb.py +899 -0
- package/lldb/lib/python3.12/bisect.py +118 -0
- package/lldb/lib/python3.12/bz2.py +344 -0
- package/lldb/lib/python3.12/cProfile.py +195 -0
- package/lldb/lib/python3.12/calendar.py +798 -0
- package/lldb/lib/python3.12/cgi.py +1013 -0
- package/lldb/lib/python3.12/cgitb.py +332 -0
- package/lldb/lib/python3.12/chunk.py +173 -0
- package/lldb/lib/python3.12/cmd.py +401 -0
- package/lldb/lib/python3.12/code.py +324 -0
- package/lldb/lib/python3.12/codecs.py +1129 -0
- package/lldb/lib/python3.12/codeop.py +161 -0
- package/lldb/lib/python3.12/collections/__init__.py +1592 -0
- package/lldb/lib/python3.12/collections/abc.py +3 -0
- package/lldb/lib/python3.12/colorsys.py +166 -0
- package/lldb/lib/python3.12/compileall.py +469 -0
- package/lldb/lib/python3.12/concurrent/__init__.py +1 -0
- package/lldb/lib/python3.12/concurrent/futures/__init__.py +54 -0
- package/lldb/lib/python3.12/concurrent/futures/_base.py +654 -0
- package/lldb/lib/python3.12/concurrent/futures/process.py +884 -0
- package/lldb/lib/python3.12/concurrent/futures/thread.py +239 -0
- package/lldb/lib/python3.12/configparser.py +1333 -0
- package/lldb/lib/python3.12/contextlib.py +800 -0
- package/lldb/lib/python3.12/contextvars.py +4 -0
- package/lldb/lib/python3.12/copy.py +292 -0
- package/lldb/lib/python3.12/copyreg.py +217 -0
- package/lldb/lib/python3.12/crypt.py +124 -0
- package/lldb/lib/python3.12/csv.py +451 -0
- package/lldb/lib/python3.12/ctypes/__init__.py +582 -0
- package/lldb/lib/python3.12/ctypes/_aix.py +327 -0
- package/lldb/lib/python3.12/ctypes/_endian.py +78 -0
- package/lldb/lib/python3.12/ctypes/macholib/__init__.py +9 -0
- package/lldb/lib/python3.12/ctypes/macholib/dyld.py +165 -0
- package/lldb/lib/python3.12/ctypes/macholib/dylib.py +42 -0
- package/lldb/lib/python3.12/ctypes/macholib/framework.py +42 -0
- package/lldb/lib/python3.12/ctypes/util.py +379 -0
- package/lldb/lib/python3.12/ctypes/wintypes.py +202 -0
- package/lldb/lib/python3.12/dataclasses.py +1588 -0
- package/lldb/lib/python3.12/datetime.py +9 -0
- package/lldb/lib/python3.12/dbm/__init__.py +190 -0
- package/lldb/lib/python3.12/dbm/dumb.py +317 -0
- package/lldb/lib/python3.12/dbm/gnu.py +3 -0
- package/lldb/lib/python3.12/dbm/ndbm.py +3 -0
- package/lldb/lib/python3.12/decimal.py +108 -0
- package/lldb/lib/python3.12/difflib.py +2056 -0
- package/lldb/lib/python3.12/dis.py +805 -0
- package/lldb/lib/python3.12/doctest.py +2845 -0
- package/lldb/lib/python3.12/email/__init__.py +61 -0
- package/lldb/lib/python3.12/email/_encoded_words.py +233 -0
- package/lldb/lib/python3.12/email/_header_value_parser.py +3078 -0
- package/lldb/lib/python3.12/email/_parseaddr.py +557 -0
- package/lldb/lib/python3.12/email/_policybase.py +382 -0
- package/lldb/lib/python3.12/email/base64mime.py +115 -0
- package/lldb/lib/python3.12/email/charset.py +398 -0
- package/lldb/lib/python3.12/email/contentmanager.py +251 -0
- package/lldb/lib/python3.12/email/encoders.py +65 -0
- package/lldb/lib/python3.12/email/errors.py +117 -0
- package/lldb/lib/python3.12/email/feedparser.py +534 -0
- package/lldb/lib/python3.12/email/generator.py +520 -0
- package/lldb/lib/python3.12/email/header.py +573 -0
- package/lldb/lib/python3.12/email/headerregistry.py +604 -0
- package/lldb/lib/python3.12/email/iterators.py +68 -0
- package/lldb/lib/python3.12/email/message.py +1205 -0
- package/lldb/lib/python3.12/email/mime/__init__.py +0 -0
- package/lldb/lib/python3.12/email/mime/application.py +37 -0
- package/lldb/lib/python3.12/email/mime/audio.py +100 -0
- package/lldb/lib/python3.12/email/mime/base.py +29 -0
- package/lldb/lib/python3.12/email/mime/image.py +152 -0
- package/lldb/lib/python3.12/email/mime/message.py +33 -0
- package/lldb/lib/python3.12/email/mime/multipart.py +47 -0
- package/lldb/lib/python3.12/email/mime/nonmultipart.py +21 -0
- package/lldb/lib/python3.12/email/mime/text.py +40 -0
- package/lldb/lib/python3.12/email/parser.py +127 -0
- package/lldb/lib/python3.12/email/policy.py +232 -0
- package/lldb/lib/python3.12/email/quoprimime.py +300 -0
- package/lldb/lib/python3.12/email/utils.py +486 -0
- package/lldb/lib/python3.12/encodings/__init__.py +174 -0
- package/lldb/lib/python3.12/encodings/aliases.py +551 -0
- package/lldb/lib/python3.12/encodings/ascii.py +50 -0
- package/lldb/lib/python3.12/encodings/base64_codec.py +55 -0
- package/lldb/lib/python3.12/encodings/big5.py +39 -0
- package/lldb/lib/python3.12/encodings/big5hkscs.py +39 -0
- package/lldb/lib/python3.12/encodings/bz2_codec.py +78 -0
- package/lldb/lib/python3.12/encodings/charmap.py +69 -0
- package/lldb/lib/python3.12/encodings/cp037.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1006.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1026.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1125.py +698 -0
- package/lldb/lib/python3.12/encodings/cp1140.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1250.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1251.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1252.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1253.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1254.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1255.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1256.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1257.py +307 -0
- package/lldb/lib/python3.12/encodings/cp1258.py +307 -0
- package/lldb/lib/python3.12/encodings/cp273.py +307 -0
- package/lldb/lib/python3.12/encodings/cp424.py +307 -0
- package/lldb/lib/python3.12/encodings/cp437.py +698 -0
- package/lldb/lib/python3.12/encodings/cp500.py +307 -0
- package/lldb/lib/python3.12/encodings/cp720.py +309 -0
- package/lldb/lib/python3.12/encodings/cp737.py +698 -0
- package/lldb/lib/python3.12/encodings/cp775.py +697 -0
- package/lldb/lib/python3.12/encodings/cp850.py +698 -0
- package/lldb/lib/python3.12/encodings/cp852.py +698 -0
- package/lldb/lib/python3.12/encodings/cp855.py +698 -0
- package/lldb/lib/python3.12/encodings/cp856.py +307 -0
- package/lldb/lib/python3.12/encodings/cp857.py +694 -0
- package/lldb/lib/python3.12/encodings/cp858.py +698 -0
- package/lldb/lib/python3.12/encodings/cp860.py +698 -0
- package/lldb/lib/python3.12/encodings/cp861.py +698 -0
- package/lldb/lib/python3.12/encodings/cp862.py +698 -0
- package/lldb/lib/python3.12/encodings/cp863.py +698 -0
- package/lldb/lib/python3.12/encodings/cp864.py +690 -0
- package/lldb/lib/python3.12/encodings/cp865.py +698 -0
- package/lldb/lib/python3.12/encodings/cp866.py +698 -0
- package/lldb/lib/python3.12/encodings/cp869.py +689 -0
- package/lldb/lib/python3.12/encodings/cp874.py +307 -0
- package/lldb/lib/python3.12/encodings/cp875.py +307 -0
- package/lldb/lib/python3.12/encodings/cp932.py +39 -0
- package/lldb/lib/python3.12/encodings/cp949.py +39 -0
- package/lldb/lib/python3.12/encodings/cp950.py +39 -0
- package/lldb/lib/python3.12/encodings/euc_jis_2004.py +39 -0
- package/lldb/lib/python3.12/encodings/euc_jisx0213.py +39 -0
- package/lldb/lib/python3.12/encodings/euc_jp.py +39 -0
- package/lldb/lib/python3.12/encodings/euc_kr.py +39 -0
- package/lldb/lib/python3.12/encodings/gb18030.py +39 -0
- package/lldb/lib/python3.12/encodings/gb2312.py +39 -0
- package/lldb/lib/python3.12/encodings/gbk.py +39 -0
- package/lldb/lib/python3.12/encodings/hex_codec.py +55 -0
- package/lldb/lib/python3.12/encodings/hp_roman8.py +314 -0
- package/lldb/lib/python3.12/encodings/hz.py +39 -0
- package/lldb/lib/python3.12/encodings/idna.py +317 -0
- package/lldb/lib/python3.12/encodings/iso2022_jp.py +39 -0
- package/lldb/lib/python3.12/encodings/iso2022_jp_1.py +39 -0
- package/lldb/lib/python3.12/encodings/iso2022_jp_2.py +39 -0
- package/lldb/lib/python3.12/encodings/iso2022_jp_2004.py +39 -0
- package/lldb/lib/python3.12/encodings/iso2022_jp_3.py +39 -0
- package/lldb/lib/python3.12/encodings/iso2022_jp_ext.py +39 -0
- package/lldb/lib/python3.12/encodings/iso2022_kr.py +39 -0
- package/lldb/lib/python3.12/encodings/iso8859_1.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_10.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_11.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_13.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_14.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_15.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_16.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_2.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_3.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_4.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_5.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_6.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_7.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_8.py +307 -0
- package/lldb/lib/python3.12/encodings/iso8859_9.py +307 -0
- package/lldb/lib/python3.12/encodings/johab.py +39 -0
- package/lldb/lib/python3.12/encodings/koi8_r.py +307 -0
- package/lldb/lib/python3.12/encodings/koi8_t.py +308 -0
- package/lldb/lib/python3.12/encodings/koi8_u.py +307 -0
- package/lldb/lib/python3.12/encodings/kz1048.py +307 -0
- package/lldb/lib/python3.12/encodings/latin_1.py +50 -0
- package/lldb/lib/python3.12/encodings/mac_arabic.py +698 -0
- package/lldb/lib/python3.12/encodings/mac_croatian.py +307 -0
- package/lldb/lib/python3.12/encodings/mac_cyrillic.py +307 -0
- package/lldb/lib/python3.12/encodings/mac_farsi.py +307 -0
- package/lldb/lib/python3.12/encodings/mac_greek.py +307 -0
- package/lldb/lib/python3.12/encodings/mac_iceland.py +307 -0
- package/lldb/lib/python3.12/encodings/mac_latin2.py +312 -0
- package/lldb/lib/python3.12/encodings/mac_roman.py +307 -0
- package/lldb/lib/python3.12/encodings/mac_romanian.py +307 -0
- package/lldb/lib/python3.12/encodings/mac_turkish.py +307 -0
- package/lldb/lib/python3.12/encodings/mbcs.py +47 -0
- package/lldb/lib/python3.12/encodings/oem.py +41 -0
- package/lldb/lib/python3.12/encodings/palmos.py +308 -0
- package/lldb/lib/python3.12/encodings/ptcp154.py +312 -0
- package/lldb/lib/python3.12/encodings/punycode.py +237 -0
- package/lldb/lib/python3.12/encodings/quopri_codec.py +56 -0
- package/lldb/lib/python3.12/encodings/raw_unicode_escape.py +46 -0
- package/lldb/lib/python3.12/encodings/rot_13.py +113 -0
- package/lldb/lib/python3.12/encodings/shift_jis.py +39 -0
- package/lldb/lib/python3.12/encodings/shift_jis_2004.py +39 -0
- package/lldb/lib/python3.12/encodings/shift_jisx0213.py +39 -0
- package/lldb/lib/python3.12/encodings/tis_620.py +307 -0
- package/lldb/lib/python3.12/encodings/undefined.py +49 -0
- package/lldb/lib/python3.12/encodings/unicode_escape.py +46 -0
- package/lldb/lib/python3.12/encodings/utf_16.py +155 -0
- package/lldb/lib/python3.12/encodings/utf_16_be.py +42 -0
- package/lldb/lib/python3.12/encodings/utf_16_le.py +42 -0
- package/lldb/lib/python3.12/encodings/utf_32.py +150 -0
- package/lldb/lib/python3.12/encodings/utf_32_be.py +37 -0
- package/lldb/lib/python3.12/encodings/utf_32_le.py +37 -0
- package/lldb/lib/python3.12/encodings/utf_7.py +38 -0
- package/lldb/lib/python3.12/encodings/utf_8.py +42 -0
- package/lldb/lib/python3.12/encodings/utf_8_sig.py +130 -0
- package/lldb/lib/python3.12/encodings/uu_codec.py +103 -0
- package/lldb/lib/python3.12/encodings/zlib_codec.py +77 -0
- package/lldb/lib/python3.12/ensurepip/__init__.py +291 -0
- package/lldb/lib/python3.12/ensurepip/__main__.py +5 -0
- package/lldb/lib/python3.12/ensurepip/_uninstall.py +31 -0
- package/lldb/lib/python3.12/enum.py +2109 -0
- package/lldb/lib/python3.12/filecmp.py +315 -0
- package/lldb/lib/python3.12/fileinput.py +442 -0
- package/lldb/lib/python3.12/fnmatch.py +185 -0
- package/lldb/lib/python3.12/fractions.py +990 -0
- package/lldb/lib/python3.12/ftplib.py +966 -0
- package/lldb/lib/python3.12/functools.py +1004 -0
- package/lldb/lib/python3.12/genericpath.py +167 -0
- package/lldb/lib/python3.12/getopt.py +215 -0
- package/lldb/lib/python3.12/getpass.py +185 -0
- package/lldb/lib/python3.12/gettext.py +646 -0
- package/lldb/lib/python3.12/glob.py +252 -0
- package/lldb/lib/python3.12/graphlib.py +250 -0
- package/lldb/lib/python3.12/gzip.py +694 -0
- package/lldb/lib/python3.12/hashlib.py +253 -0
- package/lldb/lib/python3.12/heapq.py +603 -0
- package/lldb/lib/python3.12/hmac.py +219 -0
- package/lldb/lib/python3.12/html/__init__.py +132 -0
- package/lldb/lib/python3.12/html/entities.py +2513 -0
- package/lldb/lib/python3.12/html/parser.py +456 -0
- package/lldb/lib/python3.12/http/__init__.py +200 -0
- package/lldb/lib/python3.12/http/client.py +1548 -0
- package/lldb/lib/python3.12/http/cookiejar.py +2121 -0
- package/lldb/lib/python3.12/http/cookies.py +594 -0
- package/lldb/lib/python3.12/http/server.py +1320 -0
- package/lldb/lib/python3.12/imaplib.py +1632 -0
- package/lldb/lib/python3.12/imghdr.py +180 -0
- package/lldb/lib/python3.12/importlib/__init__.py +138 -0
- package/lldb/lib/python3.12/importlib/_abc.py +39 -0
- package/lldb/lib/python3.12/importlib/_bootstrap.py +1551 -0
- package/lldb/lib/python3.12/importlib/_bootstrap_external.py +1745 -0
- package/lldb/lib/python3.12/importlib/abc.py +239 -0
- package/lldb/lib/python3.12/importlib/machinery.py +20 -0
- package/lldb/lib/python3.12/importlib/metadata/__init__.py +966 -0
- package/lldb/lib/python3.12/importlib/metadata/_adapters.py +89 -0
- package/lldb/lib/python3.12/importlib/metadata/_collections.py +30 -0
- package/lldb/lib/python3.12/importlib/metadata/_functools.py +104 -0
- package/lldb/lib/python3.12/importlib/metadata/_itertools.py +73 -0
- package/lldb/lib/python3.12/importlib/metadata/_meta.py +63 -0
- package/lldb/lib/python3.12/importlib/metadata/_text.py +99 -0
- package/lldb/lib/python3.12/importlib/readers.py +12 -0
- package/lldb/lib/python3.12/importlib/resources/__init__.py +36 -0
- package/lldb/lib/python3.12/importlib/resources/_adapters.py +168 -0
- package/lldb/lib/python3.12/importlib/resources/_common.py +207 -0
- package/lldb/lib/python3.12/importlib/resources/_itertools.py +38 -0
- package/lldb/lib/python3.12/importlib/resources/_legacy.py +120 -0
- package/lldb/lib/python3.12/importlib/resources/abc.py +173 -0
- package/lldb/lib/python3.12/importlib/resources/readers.py +146 -0
- package/lldb/lib/python3.12/importlib/resources/simple.py +106 -0
- package/lldb/lib/python3.12/importlib/simple.py +14 -0
- package/lldb/lib/python3.12/importlib/util.py +270 -0
- package/lldb/lib/python3.12/inspect.py +3426 -0
- package/lldb/lib/python3.12/io.py +99 -0
- package/lldb/lib/python3.12/ipaddress.py +2380 -0
- package/lldb/lib/python3.12/json/__init__.py +359 -0
- package/lldb/lib/python3.12/json/decoder.py +356 -0
- package/lldb/lib/python3.12/json/encoder.py +443 -0
- package/lldb/lib/python3.12/json/scanner.py +73 -0
- package/lldb/lib/python3.12/json/tool.py +85 -0
- package/lldb/lib/python3.12/keyword.py +64 -0
- package/lldb/lib/python3.12/linecache.py +182 -0
- package/lldb/lib/python3.12/locale.py +1779 -0
- package/lldb/lib/python3.12/logging/__init__.py +2345 -0
- package/lldb/lib/python3.12/logging/config.py +1078 -0
- package/lldb/lib/python3.12/logging/handlers.py +1608 -0
- package/lldb/lib/python3.12/lzma.py +356 -0
- package/lldb/lib/python3.12/mailbox.py +2153 -0
- package/lldb/lib/python3.12/mailcap.py +302 -0
- package/lldb/lib/python3.12/mimetypes.py +653 -0
- package/lldb/lib/python3.12/modulefinder.py +666 -0
- package/lldb/lib/python3.12/multiprocessing/__init__.py +37 -0
- package/lldb/lib/python3.12/multiprocessing/connection.py +1178 -0
- package/lldb/lib/python3.12/multiprocessing/context.py +377 -0
- package/lldb/lib/python3.12/multiprocessing/dummy/__init__.py +126 -0
- package/lldb/lib/python3.12/multiprocessing/dummy/connection.py +75 -0
- package/lldb/lib/python3.12/multiprocessing/forkserver.py +348 -0
- package/lldb/lib/python3.12/multiprocessing/heap.py +337 -0
- package/lldb/lib/python3.12/multiprocessing/managers.py +1380 -0
- package/lldb/lib/python3.12/multiprocessing/pool.py +957 -0
- package/lldb/lib/python3.12/multiprocessing/popen_fork.py +83 -0
- package/lldb/lib/python3.12/multiprocessing/popen_forkserver.py +74 -0
- package/lldb/lib/python3.12/multiprocessing/popen_spawn_posix.py +72 -0
- package/lldb/lib/python3.12/multiprocessing/popen_spawn_win32.py +145 -0
- package/lldb/lib/python3.12/multiprocessing/process.py +439 -0
- package/lldb/lib/python3.12/multiprocessing/queues.py +401 -0
- package/lldb/lib/python3.12/multiprocessing/reduction.py +281 -0
- package/lldb/lib/python3.12/multiprocessing/resource_sharer.py +154 -0
- package/lldb/lib/python3.12/multiprocessing/resource_tracker.py +269 -0
- package/lldb/lib/python3.12/multiprocessing/shared_memory.py +534 -0
- package/lldb/lib/python3.12/multiprocessing/sharedctypes.py +240 -0
- package/lldb/lib/python3.12/multiprocessing/spawn.py +307 -0
- package/lldb/lib/python3.12/multiprocessing/synchronize.py +404 -0
- package/lldb/lib/python3.12/multiprocessing/util.py +494 -0
- package/lldb/lib/python3.12/netrc.py +192 -0
- package/lldb/lib/python3.12/nntplib.py +1093 -0
- package/lldb/lib/python3.12/ntpath.py +889 -0
- package/lldb/lib/python3.12/nturl2path.py +81 -0
- package/lldb/lib/python3.12/numbers.py +418 -0
- package/lldb/lib/python3.12/opcode.py +493 -0
- package/lldb/lib/python3.12/operator.py +467 -0
- package/lldb/lib/python3.12/optparse.py +1681 -0
- package/lldb/lib/python3.12/os.py +1159 -0
- package/lldb/lib/python3.12/pathlib.py +1435 -0
- package/lldb/lib/python3.12/pdb.py +1987 -0
- package/lldb/lib/python3.12/pickle.py +1865 -0
- package/lldb/lib/python3.12/pickletools.py +2901 -0
- package/lldb/lib/python3.12/pipes.py +250 -0
- package/lldb/lib/python3.12/pkgutil.py +529 -0
- package/lldb/lib/python3.12/platform.py +1358 -0
- package/lldb/lib/python3.12/plistlib.py +911 -0
- package/lldb/lib/python3.12/poplib.py +467 -0
- package/lldb/lib/python3.12/posixpath.py +573 -0
- package/lldb/lib/python3.12/pprint.py +658 -0
- package/lldb/lib/python3.12/profile.py +615 -0
- package/lldb/lib/python3.12/pstats.py +778 -0
- package/lldb/lib/python3.12/pty.py +211 -0
- package/lldb/lib/python3.12/py_compile.py +212 -0
- package/lldb/lib/python3.12/pyclbr.py +314 -0
- package/lldb/lib/python3.12/pydoc.py +2941 -0
- package/lldb/lib/python3.12/pydoc_data/__init__.py +0 -0
- package/lldb/lib/python3.12/pydoc_data/topics.py +16777 -0
- package/lldb/lib/python3.12/queue.py +326 -0
- package/lldb/lib/python3.12/quopri.py +237 -0
- package/lldb/lib/python3.12/random.py +996 -0
- package/lldb/lib/python3.12/re/__init__.py +385 -0
- package/lldb/lib/python3.12/re/_casefix.py +106 -0
- package/lldb/lib/python3.12/re/_compiler.py +765 -0
- package/lldb/lib/python3.12/re/_constants.py +220 -0
- package/lldb/lib/python3.12/re/_parser.py +1080 -0
- package/lldb/lib/python3.12/reprlib.py +193 -0
- package/lldb/lib/python3.12/rlcompleter.py +219 -0
- package/lldb/lib/python3.12/runpy.py +319 -0
- package/lldb/lib/python3.12/sched.py +167 -0
- package/lldb/lib/python3.12/secrets.py +71 -0
- package/lldb/lib/python3.12/selectors.py +623 -0
- package/lldb/lib/python3.12/shelve.py +243 -0
- package/lldb/lib/python3.12/shlex.py +345 -0
- package/lldb/lib/python3.12/shutil.py +1566 -0
- package/lldb/lib/python3.12/signal.py +94 -0
- package/lldb/lib/python3.12/site-packages/pip/__init__.py +13 -0
- package/lldb/lib/python3.12/site-packages/pip/__main__.py +24 -0
- package/lldb/lib/python3.12/site-packages/pip/__pip-runner__.py +50 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/__init__.py +18 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/build_env.py +314 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cache.py +290 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/__init__.py +4 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/autocompletion.py +176 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/base_command.py +234 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py +1074 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/command_context.py +27 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/index_command.py +172 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/main.py +80 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py +134 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/parser.py +294 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py +94 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/req_command.py +329 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/spinners.py +159 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/cli/status_codes.py +6 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/__init__.py +132 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/cache.py +225 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/check.py +52 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/completion.py +130 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/configuration.py +280 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/debug.py +201 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/download.py +146 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/freeze.py +108 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/hash.py +59 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/help.py +41 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/index.py +139 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/inspect.py +92 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/install.py +777 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/list.py +375 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/search.py +172 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/show.py +217 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/uninstall.py +114 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/commands/wheel.py +182 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/configuration.py +383 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/distributions/__init__.py +21 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/distributions/base.py +53 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/distributions/installed.py +29 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/distributions/sdist.py +158 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/distributions/wheel.py +42 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/exceptions.py +777 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/index/__init__.py +2 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/index/collector.py +494 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/index/package_finder.py +1021 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/index/sources.py +285 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/locations/__init__.py +456 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/locations/_distutils.py +172 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/locations/_sysconfig.py +214 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/locations/base.py +81 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/main.py +12 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/metadata/__init__.py +128 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/metadata/_json.py +84 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/metadata/base.py +688 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_compat.py +55 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py +228 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py +189 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/metadata/pkg_resources.py +301 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/__init__.py +2 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/candidate.py +25 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/direct_url.py +224 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/format_control.py +78 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/index.py +28 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/installation_report.py +56 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/link.py +590 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/scheme.py +25 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/search_scope.py +127 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/selection_prefs.py +53 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/target_python.py +121 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/models/wheel.py +93 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/network/__init__.py +2 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/network/auth.py +562 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/network/cache.py +106 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/network/download.py +187 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/network/lazy_wheel.py +210 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/network/session.py +522 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/network/utils.py +96 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/network/xmlrpc.py +62 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/__init__.py +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/build/build_tracker.py +138 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/build/metadata.py +39 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_legacy.py +74 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/build/wheel.py +37 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_editable.py +46 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_legacy.py +102 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/check.py +149 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/freeze.py +258 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/install/__init__.py +2 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/install/editable_legacy.py +47 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py +735 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/operations/prepare.py +732 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/pyproject.py +179 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/req/__init__.py +90 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/req/constructors.py +560 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/req/req_file.py +551 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/req/req_install.py +918 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/req/req_set.py +82 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/req/req_uninstall.py +633 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/__init__.py +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/base.py +20 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/legacy/resolver.py +597 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/base.py +139 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py +569 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py +816 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +174 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/provider.py +258 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/reporter.py +80 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/requirements.py +245 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py +317 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/self_outdated_check.py +248 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/__init__.py +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/_log.py +38 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/appdirs.py +52 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/compat.py +79 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/compatibility_tags.py +165 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/datetime.py +11 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/deprecation.py +124 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/egg_link.py +80 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/encoding.py +36 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/entrypoints.py +84 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/filesystem.py +153 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/filetypes.py +27 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/glibc.py +91 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/hashes.py +147 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/logging.py +347 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/misc.py +780 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/packaging.py +57 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/setuptools_build.py +146 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/subprocess.py +245 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py +296 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/unpacking.py +337 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/urls.py +55 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/virtualenv.py +104 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/utils/wheel.py +134 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/vcs/__init__.py +15 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/vcs/bazaar.py +112 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/vcs/git.py +527 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py +163 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/vcs/subversion.py +324 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/vcs/versioncontrol.py +688 -0
- package/lldb/lib/python3.12/site-packages/pip/_internal/wheel_builder.py +354 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/__init__.py +116 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__init__.py +28 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/adapter.py +161 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/cache.py +74 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +182 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/controller.py +499 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/filewrapper.py +119 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py +154 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/serialize.py +146 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/certifi/__init__.py +4 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/certifi/cacert.pem +4814 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/certifi/core.py +114 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/__init__.py +33 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/compat.py +1138 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/database.py +1359 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/index.py +508 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/locators.py +1303 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/manifest.py +384 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/markers.py +167 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/metadata.py +1068 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/resources.py +358 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/scripts.py +466 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/t32.exe +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/t64.exe +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/util.py +2025 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/version.py +751 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/w32.exe +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/w64.exe +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distlib/wheel.py +1099 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distro/__init__.py +54 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distro/__main__.py +4 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/distro/distro.py +1403 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/idna/__init__.py +44 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/idna/codec.py +118 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/idna/compat.py +13 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/idna/core.py +395 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/idna/idnadata.py +4245 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/idna/intranges.py +54 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/idna/package_data.py +2 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/idna/uts46data.py +8598 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/msgpack/__init__.py +55 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/msgpack/ext.py +168 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/msgpack/fallback.py +951 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/__init__.py +15 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/_elffile.py +110 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/_manylinux.py +262 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/_musllinux.py +85 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/_parser.py +354 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/_structures.py +61 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/_tokenizer.py +194 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/markers.py +325 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/metadata.py +804 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/requirements.py +91 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/specifiers.py +1009 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/tags.py +568 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/utils.py +174 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/packaging/version.py +563 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py +3325 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/platformdirs/__init__.py +627 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/platformdirs/__main__.py +55 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/platformdirs/android.py +222 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/platformdirs/api.py +292 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/platformdirs/macos.py +130 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/platformdirs/unix.py +275 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/platformdirs/version.py +16 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/platformdirs/windows.py +272 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py +82 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/__main__.py +17 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/cmdline.py +668 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/console.py +70 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/filter.py +71 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__init__.py +940 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatter.py +124 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__init__.py +158 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/bbcode.py +108 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/groff.py +170 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/html.py +990 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/img.py +684 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/irc.py +154 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/latex.py +521 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/other.py +161 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +83 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/rtf.py +146 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/svg.py +188 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/terminal.py +127 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/terminal256.py +338 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/lexer.py +961 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__init__.py +363 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/_mapping.py +580 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/python.py +1198 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/modeline.py +43 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/plugin.py +88 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/scanner.py +104 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/sphinxext.py +239 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/style.py +203 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__init__.py +61 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/styles/_mapping.py +53 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/token.py +214 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/unistring.py +153 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pygments/util.py +330 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__init__.py +23 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_compat.py +8 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py +330 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +18 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +353 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/__init__.py +179 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/__version__.py +14 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/_internal_utils.py +50 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/adapters.py +719 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/api.py +157 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/auth.py +314 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/certs.py +24 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/compat.py +78 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/cookies.py +561 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/exceptions.py +151 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/help.py +127 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/hooks.py +33 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/models.py +1037 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/packages.py +25 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/sessions.py +831 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/status_codes.py +128 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/structures.py +99 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/requests/utils.py +1096 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/resolvelib/providers.py +133 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/resolvelib/reporters.py +43 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers.py +547 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/resolvelib/structs.py +170 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/__init__.py +177 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/__main__.py +273 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_cell_widths.py +454 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_export_format.py +76 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_extension.py +10 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_fileno.py +24 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_inspect.py +270 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_log_render.py +94 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_loop.py +43 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_null_file.py +69 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_palettes.py +309 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_pick.py +17 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_ratio.py +159 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_spinners.py +482 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_stack.py +16 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_timer.py +19 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_win32_console.py +662 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_windows.py +71 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/_wrap.py +93 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/abc.py +33 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/align.py +311 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/ansi.py +240 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/bar.py +93 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/box.py +480 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/cells.py +167 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/color.py +621 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/columns.py +187 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/console.py +2633 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/constrain.py +37 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/containers.py +167 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/control.py +225 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/default_styles.py +190 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/diagnose.py +37 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/emoji.py +96 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/errors.py +34 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/filesize.py +89 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/highlighter.py +232 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/json.py +139 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/jupyter.py +101 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/layout.py +442 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/live.py +375 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/live_render.py +112 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/logging.py +289 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/markup.py +251 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/measure.py +151 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/padding.py +141 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/pager.py +34 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/palette.py +100 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/panel.py +312 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/pretty.py +995 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/progress.py +1699 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/progress_bar.py +223 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/prompt.py +375 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/protocol.py +42 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/region.py +10 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/repr.py +149 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/rule.py +130 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/scope.py +86 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/screen.py +54 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/segment.py +738 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/spinner.py +137 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/status.py +131 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/style.py +796 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/styled.py +42 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/syntax.py +958 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/table.py +1000 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/text.py +1357 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/theme.py +115 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/themes.py +5 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/traceback.py +753 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/rich/tree.py +249 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py +608 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tenacity/_asyncio.py +94 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tenacity/_utils.py +76 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tenacity/after.py +51 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tenacity/before.py +46 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tenacity/before_sleep.py +71 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tenacity/nap.py +43 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tenacity/retry.py +272 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tenacity/stop.py +103 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tenacity/tornadoweb.py +59 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tenacity/wait.py +228 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tomli/__init__.py +11 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tomli/_parser.py +691 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tomli/_re.py +107 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/tomli/_types.py +10 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/truststore/__init__.py +13 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/truststore/_api.py +313 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/truststore/_macos.py +499 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/truststore/_openssl.py +66 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/truststore/_windows.py +564 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/typing_extensions.py +3332 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/__init__.py +102 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/_collections.py +355 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/connection.py +572 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/connectionpool.py +1137 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +518 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +920 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +155 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/six.py +1076 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/poolmanager.py +540 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/request.py +191 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/response.py +879 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/request.py +137 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/retry.py +620 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_.py +495 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +159 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/timeout.py +271 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/url.py +435 -0
- package/lldb/lib/python3.12/site-packages/pip/_vendor/urllib3/util/wait.py +152 -0
- package/lldb/lib/python3.12/site.py +692 -0
- package/lldb/lib/python3.12/smtplib.py +1109 -0
- package/lldb/lib/python3.12/sndhdr.py +271 -0
- package/lldb/lib/python3.12/socket.py +981 -0
- package/lldb/lib/python3.12/socketserver.py +858 -0
- package/lldb/lib/python3.12/sre_compile.py +7 -0
- package/lldb/lib/python3.12/sre_constants.py +7 -0
- package/lldb/lib/python3.12/sre_parse.py +7 -0
- package/lldb/lib/python3.12/ssl.py +1476 -0
- package/lldb/lib/python3.12/stat.py +195 -0
- package/lldb/lib/python3.12/statistics.py +1454 -0
- package/lldb/lib/python3.12/string.py +309 -0
- package/lldb/lib/python3.12/stringprep.py +272 -0
- package/lldb/lib/python3.12/struct.py +15 -0
- package/lldb/lib/python3.12/subprocess.py +2216 -0
- package/lldb/lib/python3.12/sunau.py +533 -0
- package/lldb/lib/python3.12/symtable.py +362 -0
- package/lldb/lib/python3.12/sysconfig.py +876 -0
- package/lldb/lib/python3.12/tabnanny.py +340 -0
- package/lldb/lib/python3.12/tarfile.py +2933 -0
- package/lldb/lib/python3.12/telnetlib.py +680 -0
- package/lldb/lib/python3.12/tempfile.py +952 -0
- package/lldb/lib/python3.12/textwrap.py +491 -0
- package/lldb/lib/python3.12/this.py +28 -0
- package/lldb/lib/python3.12/threading.py +1708 -0
- package/lldb/lib/python3.12/timeit.py +381 -0
- package/lldb/lib/python3.12/token.py +142 -0
- package/lldb/lib/python3.12/tokenize.py +586 -0
- package/lldb/lib/python3.12/tomllib/__init__.py +10 -0
- package/lldb/lib/python3.12/tomllib/_parser.py +691 -0
- package/lldb/lib/python3.12/tomllib/_re.py +107 -0
- package/lldb/lib/python3.12/tomllib/_types.py +10 -0
- package/lldb/lib/python3.12/trace.py +748 -0
- package/lldb/lib/python3.12/traceback.py +1187 -0
- package/lldb/lib/python3.12/tracemalloc.py +560 -0
- package/lldb/lib/python3.12/tty.py +73 -0
- package/lldb/lib/python3.12/turtle.py +4207 -0
- package/lldb/lib/python3.12/types.py +333 -0
- package/lldb/lib/python3.12/typing.py +3489 -0
- package/lldb/lib/python3.12/unittest/__init__.py +85 -0
- package/lldb/lib/python3.12/unittest/__main__.py +18 -0
- package/lldb/lib/python3.12/unittest/_log.py +86 -0
- package/lldb/lib/python3.12/unittest/async_case.py +142 -0
- package/lldb/lib/python3.12/unittest/case.py +1456 -0
- package/lldb/lib/python3.12/unittest/loader.py +497 -0
- package/lldb/lib/python3.12/unittest/main.py +291 -0
- package/lldb/lib/python3.12/unittest/mock.py +3045 -0
- package/lldb/lib/python3.12/unittest/result.py +256 -0
- package/lldb/lib/python3.12/unittest/runner.py +292 -0
- package/lldb/lib/python3.12/unittest/signals.py +71 -0
- package/lldb/lib/python3.12/unittest/suite.py +379 -0
- package/lldb/lib/python3.12/unittest/util.py +170 -0
- package/lldb/lib/python3.12/urllib/__init__.py +0 -0
- package/lldb/lib/python3.12/urllib/error.py +74 -0
- package/lldb/lib/python3.12/urllib/parse.py +1246 -0
- package/lldb/lib/python3.12/urllib/request.py +2796 -0
- package/lldb/lib/python3.12/urllib/response.py +84 -0
- package/lldb/lib/python3.12/urllib/robotparser.py +273 -0
- package/lldb/lib/python3.12/uu.py +216 -0
- package/lldb/lib/python3.12/uuid.py +793 -0
- package/lldb/lib/python3.12/warnings.py +598 -0
- package/lldb/lib/python3.12/wave.py +653 -0
- package/lldb/lib/python3.12/weakref.py +674 -0
- package/lldb/lib/python3.12/webbrowser.py +689 -0
- package/lldb/lib/python3.12/wsgiref/__init__.py +25 -0
- package/lldb/lib/python3.12/wsgiref/handlers.py +573 -0
- package/lldb/lib/python3.12/wsgiref/headers.py +184 -0
- package/lldb/lib/python3.12/wsgiref/simple_server.py +165 -0
- package/lldb/lib/python3.12/wsgiref/types.py +54 -0
- package/lldb/lib/python3.12/wsgiref/util.py +159 -0
- package/lldb/lib/python3.12/wsgiref/validate.py +438 -0
- package/lldb/lib/python3.12/xdrlib.py +242 -0
- package/lldb/lib/python3.12/xml/__init__.py +20 -0
- package/lldb/lib/python3.12/xml/dom/NodeFilter.py +27 -0
- package/lldb/lib/python3.12/xml/dom/__init__.py +140 -0
- package/lldb/lib/python3.12/xml/dom/domreg.py +99 -0
- package/lldb/lib/python3.12/xml/dom/expatbuilder.py +962 -0
- package/lldb/lib/python3.12/xml/dom/minicompat.py +109 -0
- package/lldb/lib/python3.12/xml/dom/minidom.py +2013 -0
- package/lldb/lib/python3.12/xml/dom/pulldom.py +336 -0
- package/lldb/lib/python3.12/xml/dom/xmlbuilder.py +387 -0
- package/lldb/lib/python3.12/xml/etree/ElementInclude.py +186 -0
- package/lldb/lib/python3.12/xml/etree/ElementPath.py +423 -0
- package/lldb/lib/python3.12/xml/etree/ElementTree.py +2085 -0
- package/lldb/lib/python3.12/xml/etree/__init__.py +33 -0
- package/lldb/lib/python3.12/xml/etree/cElementTree.py +3 -0
- package/lldb/lib/python3.12/xml/parsers/__init__.py +8 -0
- package/lldb/lib/python3.12/xml/parsers/expat.py +8 -0
- package/lldb/lib/python3.12/xml/sax/__init__.py +94 -0
- package/lldb/lib/python3.12/xml/sax/_exceptions.py +127 -0
- package/lldb/lib/python3.12/xml/sax/expatreader.py +454 -0
- package/lldb/lib/python3.12/xml/sax/handler.py +387 -0
- package/lldb/lib/python3.12/xml/sax/saxutils.py +369 -0
- package/lldb/lib/python3.12/xml/sax/xmlreader.py +378 -0
- package/lldb/lib/python3.12/xmlrpc/__init__.py +1 -0
- package/lldb/lib/python3.12/xmlrpc/client.py +1529 -0
- package/lldb/lib/python3.12/xmlrpc/server.py +1002 -0
- package/lldb/lib/python3.12/zipapp.py +206 -0
- package/lldb/lib/python3.12/zipfile/__init__.py +2314 -0
- package/lldb/lib/python3.12/zipfile/__main__.py +4 -0
- package/lldb/lib/python3.12/zipfile/_path/__init__.py +412 -0
- package/lldb/lib/python3.12/zipfile/_path/glob.py +53 -0
- package/lldb/lib/python3.12/zipimport.py +712 -0
- package/lldb/lib/python3.12/zoneinfo/__init__.py +31 -0
- package/lldb/lib/python3.12/zoneinfo/_common.py +164 -0
- package/lldb/lib/python3.12/zoneinfo/_tzpath.py +181 -0
- package/lldb/lib/python3.12/zoneinfo/_zoneinfo.py +772 -0
- package/package.json +28 -4
- package/version.json +4 -0
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
"""Unix."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import os
|
|
6
|
+
import sys
|
|
7
|
+
from configparser import ConfigParser
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
from typing import Iterator, NoReturn
|
|
10
|
+
|
|
11
|
+
from .api import PlatformDirsABC
|
|
12
|
+
|
|
13
|
+
if sys.platform == "win32":
|
|
14
|
+
|
|
15
|
+
def getuid() -> NoReturn:
|
|
16
|
+
msg = "should only be used on Unix"
|
|
17
|
+
raise RuntimeError(msg)
|
|
18
|
+
|
|
19
|
+
else:
|
|
20
|
+
from os import getuid
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class Unix(PlatformDirsABC): # noqa: PLR0904
|
|
24
|
+
"""
|
|
25
|
+
On Unix/Linux, we follow the `XDG Basedir Spec <https://specifications.freedesktop.org/basedir-spec/basedir-spec-
|
|
26
|
+
latest.html>`_.
|
|
27
|
+
|
|
28
|
+
The spec allows overriding directories with environment variables. The examples shown are the default values,
|
|
29
|
+
alongside the name of the environment variable that overrides them. Makes use of the `appname
|
|
30
|
+
<platformdirs.api.PlatformDirsABC.appname>`, `version <platformdirs.api.PlatformDirsABC.version>`, `multipath
|
|
31
|
+
<platformdirs.api.PlatformDirsABC.multipath>`, `opinion <platformdirs.api.PlatformDirsABC.opinion>`, `ensure_exists
|
|
32
|
+
<platformdirs.api.PlatformDirsABC.ensure_exists>`.
|
|
33
|
+
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
@property
|
|
37
|
+
def user_data_dir(self) -> str:
|
|
38
|
+
"""
|
|
39
|
+
:return: data directory tied to the user, e.g. ``~/.local/share/$appname/$version`` or
|
|
40
|
+
``$XDG_DATA_HOME/$appname/$version``
|
|
41
|
+
"""
|
|
42
|
+
path = os.environ.get("XDG_DATA_HOME", "")
|
|
43
|
+
if not path.strip():
|
|
44
|
+
path = os.path.expanduser("~/.local/share") # noqa: PTH111
|
|
45
|
+
return self._append_app_name_and_version(path)
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
def _site_data_dirs(self) -> list[str]:
|
|
49
|
+
path = os.environ.get("XDG_DATA_DIRS", "")
|
|
50
|
+
if not path.strip():
|
|
51
|
+
path = f"/usr/local/share{os.pathsep}/usr/share"
|
|
52
|
+
return [self._append_app_name_and_version(p) for p in path.split(os.pathsep)]
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def site_data_dir(self) -> str:
|
|
56
|
+
"""
|
|
57
|
+
:return: data directories shared by users (if `multipath <platformdirs.api.PlatformDirsABC.multipath>` is
|
|
58
|
+
enabled and ``XDG_DATA_DIRS`` is set and a multi path the response is also a multi path separated by the
|
|
59
|
+
OS path separator), e.g. ``/usr/local/share/$appname/$version`` or ``/usr/share/$appname/$version``
|
|
60
|
+
"""
|
|
61
|
+
# XDG default for $XDG_DATA_DIRS; only first, if multipath is False
|
|
62
|
+
dirs = self._site_data_dirs
|
|
63
|
+
if not self.multipath:
|
|
64
|
+
return dirs[0]
|
|
65
|
+
return os.pathsep.join(dirs)
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def user_config_dir(self) -> str:
|
|
69
|
+
"""
|
|
70
|
+
:return: config directory tied to the user, e.g. ``~/.config/$appname/$version`` or
|
|
71
|
+
``$XDG_CONFIG_HOME/$appname/$version``
|
|
72
|
+
"""
|
|
73
|
+
path = os.environ.get("XDG_CONFIG_HOME", "")
|
|
74
|
+
if not path.strip():
|
|
75
|
+
path = os.path.expanduser("~/.config") # noqa: PTH111
|
|
76
|
+
return self._append_app_name_and_version(path)
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def _site_config_dirs(self) -> list[str]:
|
|
80
|
+
path = os.environ.get("XDG_CONFIG_DIRS", "")
|
|
81
|
+
if not path.strip():
|
|
82
|
+
path = "/etc/xdg"
|
|
83
|
+
return [self._append_app_name_and_version(p) for p in path.split(os.pathsep)]
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def site_config_dir(self) -> str:
|
|
87
|
+
"""
|
|
88
|
+
:return: config directories shared by users (if `multipath <platformdirs.api.PlatformDirsABC.multipath>`
|
|
89
|
+
is enabled and ``XDG_CONFIG_DIRS`` is set and a multi path the response is also a multi path separated by
|
|
90
|
+
the OS path separator), e.g. ``/etc/xdg/$appname/$version``
|
|
91
|
+
"""
|
|
92
|
+
# XDG default for $XDG_CONFIG_DIRS only first, if multipath is False
|
|
93
|
+
dirs = self._site_config_dirs
|
|
94
|
+
if not self.multipath:
|
|
95
|
+
return dirs[0]
|
|
96
|
+
return os.pathsep.join(dirs)
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def user_cache_dir(self) -> str:
|
|
100
|
+
"""
|
|
101
|
+
:return: cache directory tied to the user, e.g. ``~/.cache/$appname/$version`` or
|
|
102
|
+
``~/$XDG_CACHE_HOME/$appname/$version``
|
|
103
|
+
"""
|
|
104
|
+
path = os.environ.get("XDG_CACHE_HOME", "")
|
|
105
|
+
if not path.strip():
|
|
106
|
+
path = os.path.expanduser("~/.cache") # noqa: PTH111
|
|
107
|
+
return self._append_app_name_and_version(path)
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
def site_cache_dir(self) -> str:
|
|
111
|
+
""":return: cache directory shared by users, e.g. ``/var/cache/$appname/$version``"""
|
|
112
|
+
return self._append_app_name_and_version("/var/cache")
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
def user_state_dir(self) -> str:
|
|
116
|
+
"""
|
|
117
|
+
:return: state directory tied to the user, e.g. ``~/.local/state/$appname/$version`` or
|
|
118
|
+
``$XDG_STATE_HOME/$appname/$version``
|
|
119
|
+
"""
|
|
120
|
+
path = os.environ.get("XDG_STATE_HOME", "")
|
|
121
|
+
if not path.strip():
|
|
122
|
+
path = os.path.expanduser("~/.local/state") # noqa: PTH111
|
|
123
|
+
return self._append_app_name_and_version(path)
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
def user_log_dir(self) -> str:
|
|
127
|
+
""":return: log directory tied to the user, same as `user_state_dir` if not opinionated else ``log`` in it"""
|
|
128
|
+
path = self.user_state_dir
|
|
129
|
+
if self.opinion:
|
|
130
|
+
path = os.path.join(path, "log") # noqa: PTH118
|
|
131
|
+
self._optionally_create_directory(path)
|
|
132
|
+
return path
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
def user_documents_dir(self) -> str:
|
|
136
|
+
""":return: documents directory tied to the user, e.g. ``~/Documents``"""
|
|
137
|
+
return _get_user_media_dir("XDG_DOCUMENTS_DIR", "~/Documents")
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
def user_downloads_dir(self) -> str:
|
|
141
|
+
""":return: downloads directory tied to the user, e.g. ``~/Downloads``"""
|
|
142
|
+
return _get_user_media_dir("XDG_DOWNLOAD_DIR", "~/Downloads")
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
def user_pictures_dir(self) -> str:
|
|
146
|
+
""":return: pictures directory tied to the user, e.g. ``~/Pictures``"""
|
|
147
|
+
return _get_user_media_dir("XDG_PICTURES_DIR", "~/Pictures")
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def user_videos_dir(self) -> str:
|
|
151
|
+
""":return: videos directory tied to the user, e.g. ``~/Videos``"""
|
|
152
|
+
return _get_user_media_dir("XDG_VIDEOS_DIR", "~/Videos")
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
def user_music_dir(self) -> str:
|
|
156
|
+
""":return: music directory tied to the user, e.g. ``~/Music``"""
|
|
157
|
+
return _get_user_media_dir("XDG_MUSIC_DIR", "~/Music")
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def user_desktop_dir(self) -> str:
|
|
161
|
+
""":return: desktop directory tied to the user, e.g. ``~/Desktop``"""
|
|
162
|
+
return _get_user_media_dir("XDG_DESKTOP_DIR", "~/Desktop")
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def user_runtime_dir(self) -> str:
|
|
166
|
+
"""
|
|
167
|
+
:return: runtime directory tied to the user, e.g. ``/run/user/$(id -u)/$appname/$version`` or
|
|
168
|
+
``$XDG_RUNTIME_DIR/$appname/$version``.
|
|
169
|
+
|
|
170
|
+
For FreeBSD/OpenBSD/NetBSD, it would return ``/var/run/user/$(id -u)/$appname/$version`` if
|
|
171
|
+
exists, otherwise ``/tmp/runtime-$(id -u)/$appname/$version``, if``$XDG_RUNTIME_DIR``
|
|
172
|
+
is not set.
|
|
173
|
+
"""
|
|
174
|
+
path = os.environ.get("XDG_RUNTIME_DIR", "")
|
|
175
|
+
if not path.strip():
|
|
176
|
+
if sys.platform.startswith(("freebsd", "openbsd", "netbsd")):
|
|
177
|
+
path = f"/var/run/user/{getuid()}"
|
|
178
|
+
if not Path(path).exists():
|
|
179
|
+
path = f"/tmp/runtime-{getuid()}" # noqa: S108
|
|
180
|
+
else:
|
|
181
|
+
path = f"/run/user/{getuid()}"
|
|
182
|
+
return self._append_app_name_and_version(path)
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
def site_runtime_dir(self) -> str:
|
|
186
|
+
"""
|
|
187
|
+
:return: runtime directory shared by users, e.g. ``/run/$appname/$version`` or \
|
|
188
|
+
``$XDG_RUNTIME_DIR/$appname/$version``.
|
|
189
|
+
|
|
190
|
+
Note that this behaves almost exactly like `user_runtime_dir` if ``$XDG_RUNTIME_DIR`` is set, but will
|
|
191
|
+
fall back to paths associated to the root user instead of a regular logged-in user if it's not set.
|
|
192
|
+
|
|
193
|
+
If you wish to ensure that a logged-in root user path is returned e.g. ``/run/user/0``, use `user_runtime_dir`
|
|
194
|
+
instead.
|
|
195
|
+
|
|
196
|
+
For FreeBSD/OpenBSD/NetBSD, it would return ``/var/run/$appname/$version`` if ``$XDG_RUNTIME_DIR`` is not set.
|
|
197
|
+
"""
|
|
198
|
+
path = os.environ.get("XDG_RUNTIME_DIR", "")
|
|
199
|
+
if not path.strip():
|
|
200
|
+
if sys.platform.startswith(("freebsd", "openbsd", "netbsd")):
|
|
201
|
+
path = "/var/run"
|
|
202
|
+
else:
|
|
203
|
+
path = "/run"
|
|
204
|
+
return self._append_app_name_and_version(path)
|
|
205
|
+
|
|
206
|
+
@property
|
|
207
|
+
def site_data_path(self) -> Path:
|
|
208
|
+
""":return: data path shared by users. Only return the first item, even if ``multipath`` is set to ``True``"""
|
|
209
|
+
return self._first_item_as_path_if_multipath(self.site_data_dir)
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
def site_config_path(self) -> Path:
|
|
213
|
+
""":return: config path shared by the users, returns the first item, even if ``multipath`` is set to ``True``"""
|
|
214
|
+
return self._first_item_as_path_if_multipath(self.site_config_dir)
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def site_cache_path(self) -> Path:
|
|
218
|
+
""":return: cache path shared by users. Only return the first item, even if ``multipath`` is set to ``True``"""
|
|
219
|
+
return self._first_item_as_path_if_multipath(self.site_cache_dir)
|
|
220
|
+
|
|
221
|
+
def _first_item_as_path_if_multipath(self, directory: str) -> Path:
|
|
222
|
+
if self.multipath:
|
|
223
|
+
# If multipath is True, the first path is returned.
|
|
224
|
+
directory = directory.split(os.pathsep)[0]
|
|
225
|
+
return Path(directory)
|
|
226
|
+
|
|
227
|
+
def iter_config_dirs(self) -> Iterator[str]:
|
|
228
|
+
""":yield: all user and site configuration directories."""
|
|
229
|
+
yield self.user_config_dir
|
|
230
|
+
yield from self._site_config_dirs
|
|
231
|
+
|
|
232
|
+
def iter_data_dirs(self) -> Iterator[str]:
|
|
233
|
+
""":yield: all user and site data directories."""
|
|
234
|
+
yield self.user_data_dir
|
|
235
|
+
yield from self._site_data_dirs
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
def _get_user_media_dir(env_var: str, fallback_tilde_path: str) -> str:
|
|
239
|
+
media_dir = _get_user_dirs_folder(env_var)
|
|
240
|
+
if media_dir is None:
|
|
241
|
+
media_dir = os.environ.get(env_var, "").strip()
|
|
242
|
+
if not media_dir:
|
|
243
|
+
media_dir = os.path.expanduser(fallback_tilde_path) # noqa: PTH111
|
|
244
|
+
|
|
245
|
+
return media_dir
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
def _get_user_dirs_folder(key: str) -> str | None:
|
|
249
|
+
"""
|
|
250
|
+
Return directory from user-dirs.dirs config file.
|
|
251
|
+
|
|
252
|
+
See https://freedesktop.org/wiki/Software/xdg-user-dirs/.
|
|
253
|
+
|
|
254
|
+
"""
|
|
255
|
+
user_dirs_config_path = Path(Unix().user_config_dir) / "user-dirs.dirs"
|
|
256
|
+
if user_dirs_config_path.exists():
|
|
257
|
+
parser = ConfigParser()
|
|
258
|
+
|
|
259
|
+
with user_dirs_config_path.open() as stream:
|
|
260
|
+
# Add fake section header, so ConfigParser doesn't complain
|
|
261
|
+
parser.read_string(f"[top]\n{stream.read()}")
|
|
262
|
+
|
|
263
|
+
if key not in parser["top"]:
|
|
264
|
+
return None
|
|
265
|
+
|
|
266
|
+
path = parser["top"][key].strip('"')
|
|
267
|
+
# Handle relative home paths
|
|
268
|
+
return path.replace("$HOME", os.path.expanduser("~")) # noqa: PTH111
|
|
269
|
+
|
|
270
|
+
return None
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
__all__ = [
|
|
274
|
+
"Unix",
|
|
275
|
+
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# file generated by setuptools_scm
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
TYPE_CHECKING = False
|
|
4
|
+
if TYPE_CHECKING:
|
|
5
|
+
from typing import Tuple, Union
|
|
6
|
+
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
7
|
+
else:
|
|
8
|
+
VERSION_TUPLE = object
|
|
9
|
+
|
|
10
|
+
version: str
|
|
11
|
+
__version__: str
|
|
12
|
+
__version_tuple__: VERSION_TUPLE
|
|
13
|
+
version_tuple: VERSION_TUPLE
|
|
14
|
+
|
|
15
|
+
__version__ = version = '4.2.1'
|
|
16
|
+
__version_tuple__ = version_tuple = (4, 2, 1)
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
"""Windows."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import os
|
|
6
|
+
import sys
|
|
7
|
+
from functools import lru_cache
|
|
8
|
+
from typing import TYPE_CHECKING
|
|
9
|
+
|
|
10
|
+
from .api import PlatformDirsABC
|
|
11
|
+
|
|
12
|
+
if TYPE_CHECKING:
|
|
13
|
+
from collections.abc import Callable
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class Windows(PlatformDirsABC):
|
|
17
|
+
"""
|
|
18
|
+
`MSDN on where to store app data files <https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderid>`_.
|
|
19
|
+
|
|
20
|
+
Makes use of the `appname <platformdirs.api.PlatformDirsABC.appname>`, `appauthor
|
|
21
|
+
<platformdirs.api.PlatformDirsABC.appauthor>`, `version <platformdirs.api.PlatformDirsABC.version>`, `roaming
|
|
22
|
+
<platformdirs.api.PlatformDirsABC.roaming>`, `opinion <platformdirs.api.PlatformDirsABC.opinion>`, `ensure_exists
|
|
23
|
+
<platformdirs.api.PlatformDirsABC.ensure_exists>`.
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
@property
|
|
28
|
+
def user_data_dir(self) -> str:
|
|
29
|
+
"""
|
|
30
|
+
:return: data directory tied to the user, e.g.
|
|
31
|
+
``%USERPROFILE%\\AppData\\Local\\$appauthor\\$appname`` (not roaming) or
|
|
32
|
+
``%USERPROFILE%\\AppData\\Roaming\\$appauthor\\$appname`` (roaming)
|
|
33
|
+
"""
|
|
34
|
+
const = "CSIDL_APPDATA" if self.roaming else "CSIDL_LOCAL_APPDATA"
|
|
35
|
+
path = os.path.normpath(get_win_folder(const))
|
|
36
|
+
return self._append_parts(path)
|
|
37
|
+
|
|
38
|
+
def _append_parts(self, path: str, *, opinion_value: str | None = None) -> str:
|
|
39
|
+
params = []
|
|
40
|
+
if self.appname:
|
|
41
|
+
if self.appauthor is not False:
|
|
42
|
+
author = self.appauthor or self.appname
|
|
43
|
+
params.append(author)
|
|
44
|
+
params.append(self.appname)
|
|
45
|
+
if opinion_value is not None and self.opinion:
|
|
46
|
+
params.append(opinion_value)
|
|
47
|
+
if self.version:
|
|
48
|
+
params.append(self.version)
|
|
49
|
+
path = os.path.join(path, *params) # noqa: PTH118
|
|
50
|
+
self._optionally_create_directory(path)
|
|
51
|
+
return path
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
def site_data_dir(self) -> str:
|
|
55
|
+
""":return: data directory shared by users, e.g. ``C:\\ProgramData\\$appauthor\\$appname``"""
|
|
56
|
+
path = os.path.normpath(get_win_folder("CSIDL_COMMON_APPDATA"))
|
|
57
|
+
return self._append_parts(path)
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def user_config_dir(self) -> str:
|
|
61
|
+
""":return: config directory tied to the user, same as `user_data_dir`"""
|
|
62
|
+
return self.user_data_dir
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
def site_config_dir(self) -> str:
|
|
66
|
+
""":return: config directory shared by the users, same as `site_data_dir`"""
|
|
67
|
+
return self.site_data_dir
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def user_cache_dir(self) -> str:
|
|
71
|
+
"""
|
|
72
|
+
:return: cache directory tied to the user (if opinionated with ``Cache`` folder within ``$appname``) e.g.
|
|
73
|
+
``%USERPROFILE%\\AppData\\Local\\$appauthor\\$appname\\Cache\\$version``
|
|
74
|
+
"""
|
|
75
|
+
path = os.path.normpath(get_win_folder("CSIDL_LOCAL_APPDATA"))
|
|
76
|
+
return self._append_parts(path, opinion_value="Cache")
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def site_cache_dir(self) -> str:
|
|
80
|
+
""":return: cache directory shared by users, e.g. ``C:\\ProgramData\\$appauthor\\$appname\\Cache\\$version``"""
|
|
81
|
+
path = os.path.normpath(get_win_folder("CSIDL_COMMON_APPDATA"))
|
|
82
|
+
return self._append_parts(path, opinion_value="Cache")
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def user_state_dir(self) -> str:
|
|
86
|
+
""":return: state directory tied to the user, same as `user_data_dir`"""
|
|
87
|
+
return self.user_data_dir
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def user_log_dir(self) -> str:
|
|
91
|
+
""":return: log directory tied to the user, same as `user_data_dir` if not opinionated else ``Logs`` in it"""
|
|
92
|
+
path = self.user_data_dir
|
|
93
|
+
if self.opinion:
|
|
94
|
+
path = os.path.join(path, "Logs") # noqa: PTH118
|
|
95
|
+
self._optionally_create_directory(path)
|
|
96
|
+
return path
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def user_documents_dir(self) -> str:
|
|
100
|
+
""":return: documents directory tied to the user e.g. ``%USERPROFILE%\\Documents``"""
|
|
101
|
+
return os.path.normpath(get_win_folder("CSIDL_PERSONAL"))
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
def user_downloads_dir(self) -> str:
|
|
105
|
+
""":return: downloads directory tied to the user e.g. ``%USERPROFILE%\\Downloads``"""
|
|
106
|
+
return os.path.normpath(get_win_folder("CSIDL_DOWNLOADS"))
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def user_pictures_dir(self) -> str:
|
|
110
|
+
""":return: pictures directory tied to the user e.g. ``%USERPROFILE%\\Pictures``"""
|
|
111
|
+
return os.path.normpath(get_win_folder("CSIDL_MYPICTURES"))
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def user_videos_dir(self) -> str:
|
|
115
|
+
""":return: videos directory tied to the user e.g. ``%USERPROFILE%\\Videos``"""
|
|
116
|
+
return os.path.normpath(get_win_folder("CSIDL_MYVIDEO"))
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
def user_music_dir(self) -> str:
|
|
120
|
+
""":return: music directory tied to the user e.g. ``%USERPROFILE%\\Music``"""
|
|
121
|
+
return os.path.normpath(get_win_folder("CSIDL_MYMUSIC"))
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def user_desktop_dir(self) -> str:
|
|
125
|
+
""":return: desktop directory tied to the user, e.g. ``%USERPROFILE%\\Desktop``"""
|
|
126
|
+
return os.path.normpath(get_win_folder("CSIDL_DESKTOPDIRECTORY"))
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def user_runtime_dir(self) -> str:
|
|
130
|
+
"""
|
|
131
|
+
:return: runtime directory tied to the user, e.g.
|
|
132
|
+
``%USERPROFILE%\\AppData\\Local\\Temp\\$appauthor\\$appname``
|
|
133
|
+
"""
|
|
134
|
+
path = os.path.normpath(os.path.join(get_win_folder("CSIDL_LOCAL_APPDATA"), "Temp")) # noqa: PTH118
|
|
135
|
+
return self._append_parts(path)
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def site_runtime_dir(self) -> str:
|
|
139
|
+
""":return: runtime directory shared by users, same as `user_runtime_dir`"""
|
|
140
|
+
return self.user_runtime_dir
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def get_win_folder_from_env_vars(csidl_name: str) -> str:
|
|
144
|
+
"""Get folder from environment variables."""
|
|
145
|
+
result = get_win_folder_if_csidl_name_not_env_var(csidl_name)
|
|
146
|
+
if result is not None:
|
|
147
|
+
return result
|
|
148
|
+
|
|
149
|
+
env_var_name = {
|
|
150
|
+
"CSIDL_APPDATA": "APPDATA",
|
|
151
|
+
"CSIDL_COMMON_APPDATA": "ALLUSERSPROFILE",
|
|
152
|
+
"CSIDL_LOCAL_APPDATA": "LOCALAPPDATA",
|
|
153
|
+
}.get(csidl_name)
|
|
154
|
+
if env_var_name is None:
|
|
155
|
+
msg = f"Unknown CSIDL name: {csidl_name}"
|
|
156
|
+
raise ValueError(msg)
|
|
157
|
+
result = os.environ.get(env_var_name)
|
|
158
|
+
if result is None:
|
|
159
|
+
msg = f"Unset environment variable: {env_var_name}"
|
|
160
|
+
raise ValueError(msg)
|
|
161
|
+
return result
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
def get_win_folder_if_csidl_name_not_env_var(csidl_name: str) -> str | None:
|
|
165
|
+
"""Get a folder for a CSIDL name that does not exist as an environment variable."""
|
|
166
|
+
if csidl_name == "CSIDL_PERSONAL":
|
|
167
|
+
return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Documents") # noqa: PTH118
|
|
168
|
+
|
|
169
|
+
if csidl_name == "CSIDL_DOWNLOADS":
|
|
170
|
+
return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Downloads") # noqa: PTH118
|
|
171
|
+
|
|
172
|
+
if csidl_name == "CSIDL_MYPICTURES":
|
|
173
|
+
return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Pictures") # noqa: PTH118
|
|
174
|
+
|
|
175
|
+
if csidl_name == "CSIDL_MYVIDEO":
|
|
176
|
+
return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Videos") # noqa: PTH118
|
|
177
|
+
|
|
178
|
+
if csidl_name == "CSIDL_MYMUSIC":
|
|
179
|
+
return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Music") # noqa: PTH118
|
|
180
|
+
return None
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
def get_win_folder_from_registry(csidl_name: str) -> str:
|
|
184
|
+
"""
|
|
185
|
+
Get folder from the registry.
|
|
186
|
+
|
|
187
|
+
This is a fallback technique at best. I'm not sure if using the registry for these guarantees us the correct answer
|
|
188
|
+
for all CSIDL_* names.
|
|
189
|
+
|
|
190
|
+
"""
|
|
191
|
+
shell_folder_name = {
|
|
192
|
+
"CSIDL_APPDATA": "AppData",
|
|
193
|
+
"CSIDL_COMMON_APPDATA": "Common AppData",
|
|
194
|
+
"CSIDL_LOCAL_APPDATA": "Local AppData",
|
|
195
|
+
"CSIDL_PERSONAL": "Personal",
|
|
196
|
+
"CSIDL_DOWNLOADS": "{374DE290-123F-4565-9164-39C4925E467B}",
|
|
197
|
+
"CSIDL_MYPICTURES": "My Pictures",
|
|
198
|
+
"CSIDL_MYVIDEO": "My Video",
|
|
199
|
+
"CSIDL_MYMUSIC": "My Music",
|
|
200
|
+
}.get(csidl_name)
|
|
201
|
+
if shell_folder_name is None:
|
|
202
|
+
msg = f"Unknown CSIDL name: {csidl_name}"
|
|
203
|
+
raise ValueError(msg)
|
|
204
|
+
if sys.platform != "win32": # only needed for mypy type checker to know that this code runs only on Windows
|
|
205
|
+
raise NotImplementedError
|
|
206
|
+
import winreg # noqa: PLC0415
|
|
207
|
+
|
|
208
|
+
key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, r"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders")
|
|
209
|
+
directory, _ = winreg.QueryValueEx(key, shell_folder_name)
|
|
210
|
+
return str(directory)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
def get_win_folder_via_ctypes(csidl_name: str) -> str:
|
|
214
|
+
"""Get folder with ctypes."""
|
|
215
|
+
# There is no 'CSIDL_DOWNLOADS'.
|
|
216
|
+
# Use 'CSIDL_PROFILE' (40) and append the default folder 'Downloads' instead.
|
|
217
|
+
# https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderid
|
|
218
|
+
|
|
219
|
+
import ctypes # noqa: PLC0415
|
|
220
|
+
|
|
221
|
+
csidl_const = {
|
|
222
|
+
"CSIDL_APPDATA": 26,
|
|
223
|
+
"CSIDL_COMMON_APPDATA": 35,
|
|
224
|
+
"CSIDL_LOCAL_APPDATA": 28,
|
|
225
|
+
"CSIDL_PERSONAL": 5,
|
|
226
|
+
"CSIDL_MYPICTURES": 39,
|
|
227
|
+
"CSIDL_MYVIDEO": 14,
|
|
228
|
+
"CSIDL_MYMUSIC": 13,
|
|
229
|
+
"CSIDL_DOWNLOADS": 40,
|
|
230
|
+
"CSIDL_DESKTOPDIRECTORY": 16,
|
|
231
|
+
}.get(csidl_name)
|
|
232
|
+
if csidl_const is None:
|
|
233
|
+
msg = f"Unknown CSIDL name: {csidl_name}"
|
|
234
|
+
raise ValueError(msg)
|
|
235
|
+
|
|
236
|
+
buf = ctypes.create_unicode_buffer(1024)
|
|
237
|
+
windll = getattr(ctypes, "windll") # noqa: B009 # using getattr to avoid false positive with mypy type checker
|
|
238
|
+
windll.shell32.SHGetFolderPathW(None, csidl_const, None, 0, buf)
|
|
239
|
+
|
|
240
|
+
# Downgrade to short path name if it has high-bit chars.
|
|
241
|
+
if any(ord(c) > 255 for c in buf): # noqa: PLR2004
|
|
242
|
+
buf2 = ctypes.create_unicode_buffer(1024)
|
|
243
|
+
if windll.kernel32.GetShortPathNameW(buf.value, buf2, 1024):
|
|
244
|
+
buf = buf2
|
|
245
|
+
|
|
246
|
+
if csidl_name == "CSIDL_DOWNLOADS":
|
|
247
|
+
return os.path.join(buf.value, "Downloads") # noqa: PTH118
|
|
248
|
+
|
|
249
|
+
return buf.value
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
def _pick_get_win_folder() -> Callable[[str], str]:
|
|
253
|
+
try:
|
|
254
|
+
import ctypes # noqa: PLC0415
|
|
255
|
+
except ImportError:
|
|
256
|
+
pass
|
|
257
|
+
else:
|
|
258
|
+
if hasattr(ctypes, "windll"):
|
|
259
|
+
return get_win_folder_via_ctypes
|
|
260
|
+
try:
|
|
261
|
+
import winreg # noqa: PLC0415, F401
|
|
262
|
+
except ImportError:
|
|
263
|
+
return get_win_folder_from_env_vars
|
|
264
|
+
else:
|
|
265
|
+
return get_win_folder_from_registry
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
get_win_folder = lru_cache(maxsize=None)(_pick_get_win_folder())
|
|
269
|
+
|
|
270
|
+
__all__ = [
|
|
271
|
+
"Windows",
|
|
272
|
+
]
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Pygments
|
|
3
|
+
~~~~~~~~
|
|
4
|
+
|
|
5
|
+
Pygments is a syntax highlighting package written in Python.
|
|
6
|
+
|
|
7
|
+
It is a generic syntax highlighter for general use in all kinds of software
|
|
8
|
+
such as forum systems, wikis or other applications that need to prettify
|
|
9
|
+
source code. Highlights are:
|
|
10
|
+
|
|
11
|
+
* a wide range of common languages and markup formats is supported
|
|
12
|
+
* special attention is paid to details, increasing quality by a fair amount
|
|
13
|
+
* support for new languages and formats are added easily
|
|
14
|
+
* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image
|
|
15
|
+
formats that PIL supports, and ANSI sequences
|
|
16
|
+
* it is usable as a command-line tool and as a library
|
|
17
|
+
* ... and it highlights even Brainfuck!
|
|
18
|
+
|
|
19
|
+
The `Pygments master branch`_ is installable with ``easy_install Pygments==dev``.
|
|
20
|
+
|
|
21
|
+
.. _Pygments master branch:
|
|
22
|
+
https://github.com/pygments/pygments/archive/master.zip#egg=Pygments-dev
|
|
23
|
+
|
|
24
|
+
:copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
|
|
25
|
+
:license: BSD, see LICENSE for details.
|
|
26
|
+
"""
|
|
27
|
+
from io import StringIO, BytesIO
|
|
28
|
+
|
|
29
|
+
__version__ = '2.17.2'
|
|
30
|
+
__docformat__ = 'restructuredtext'
|
|
31
|
+
|
|
32
|
+
__all__ = ['lex', 'format', 'highlight']
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def lex(code, lexer):
|
|
36
|
+
"""
|
|
37
|
+
Lex `code` with the `lexer` (must be a `Lexer` instance)
|
|
38
|
+
and return an iterable of tokens. Currently, this only calls
|
|
39
|
+
`lexer.get_tokens()`.
|
|
40
|
+
"""
|
|
41
|
+
try:
|
|
42
|
+
return lexer.get_tokens(code)
|
|
43
|
+
except TypeError:
|
|
44
|
+
# Heuristic to catch a common mistake.
|
|
45
|
+
from pip._vendor.pygments.lexer import RegexLexer
|
|
46
|
+
if isinstance(lexer, type) and issubclass(lexer, RegexLexer):
|
|
47
|
+
raise TypeError('lex() argument must be a lexer instance, '
|
|
48
|
+
'not a class')
|
|
49
|
+
raise
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def format(tokens, formatter, outfile=None): # pylint: disable=redefined-builtin
|
|
53
|
+
"""
|
|
54
|
+
Format ``tokens`` (an iterable of tokens) with the formatter ``formatter``
|
|
55
|
+
(a `Formatter` instance).
|
|
56
|
+
|
|
57
|
+
If ``outfile`` is given and a valid file object (an object with a
|
|
58
|
+
``write`` method), the result will be written to it, otherwise it
|
|
59
|
+
is returned as a string.
|
|
60
|
+
"""
|
|
61
|
+
try:
|
|
62
|
+
if not outfile:
|
|
63
|
+
realoutfile = getattr(formatter, 'encoding', None) and BytesIO() or StringIO()
|
|
64
|
+
formatter.format(tokens, realoutfile)
|
|
65
|
+
return realoutfile.getvalue()
|
|
66
|
+
else:
|
|
67
|
+
formatter.format(tokens, outfile)
|
|
68
|
+
except TypeError:
|
|
69
|
+
# Heuristic to catch a common mistake.
|
|
70
|
+
from pip._vendor.pygments.formatter import Formatter
|
|
71
|
+
if isinstance(formatter, type) and issubclass(formatter, Formatter):
|
|
72
|
+
raise TypeError('format() argument must be a formatter instance, '
|
|
73
|
+
'not a class')
|
|
74
|
+
raise
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def highlight(code, lexer, formatter, outfile=None):
|
|
78
|
+
"""
|
|
79
|
+
This is the most high-level highlighting function. It combines `lex` and
|
|
80
|
+
`format` in one function.
|
|
81
|
+
"""
|
|
82
|
+
return format(lex(code, lexer), formatter, outfile)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
pygments.__main__
|
|
3
|
+
~~~~~~~~~~~~~~~~~
|
|
4
|
+
|
|
5
|
+
Main entry point for ``python -m pygments``.
|
|
6
|
+
|
|
7
|
+
:copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
|
|
8
|
+
:license: BSD, see LICENSE for details.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
import sys
|
|
12
|
+
from pip._vendor.pygments.cmdline import main
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
sys.exit(main(sys.argv))
|
|
16
|
+
except KeyboardInterrupt:
|
|
17
|
+
sys.exit(1)
|