@scrypted/server 0.0.137 → 0.0.141
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.
Potentially problematic release.
This version of @scrypted/server might be problematic. Click here for more details.
- package/.venv/bin/Activate.ps1 +241 -0
- package/.venv/bin/activate +66 -0
- package/.venv/bin/activate.csh +25 -0
- package/.venv/bin/activate.fish +64 -0
- package/.venv/bin/pip +8 -0
- package/.venv/bin/pip3 +8 -0
- package/.venv/bin/pip3.9 +8 -0
- package/.venv/lib/python3.9/site-packages/_distutils_hack/__init__.py +198 -0
- package/.venv/lib/python3.9/site-packages/_distutils_hack/override.py +1 -0
- package/.venv/lib/python3.9/site-packages/distutils-precedence.pth +1 -0
- package/.venv/lib/python3.9/site-packages/pgi/__init__.py +62 -0
- package/.venv/lib/python3.9/site-packages/pgi/_compat.py +74 -0
- package/.venv/lib/python3.9/site-packages/pgi/callback.py +15 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/__init__.py +12 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/_compat.py +25 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/_utils.py +119 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/__init__.py +60 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/_cdef.py +574 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/_ffi.py +25 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/error.py +13 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giarginfo.py +73 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giargument.py +36 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gibaseinfo.py +113 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gicallableinfo.py +75 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giconstantinfo.py +22 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gienuminfo.py +59 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gifieldinfo.py +40 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gifunctioninfo.py +64 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giinterfaceinfo.py +93 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giobjectinfo.py +143 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gipropertyinfo.py +28 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giregisteredtypeinfo.py +27 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/girepository.py +143 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gisignalinfo.py +55 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gistructinfo.py +55 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gitypeinfo.py +66 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/gitypelib.py +40 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gir/giunioninfo.py +66 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/__init__.py +8 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/_cdef.py +101 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/glib/glib.py +260 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/__init__.py +15 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/_cdef.py +45 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/_ffi.py +26 -0
- package/.venv/lib/python3.9/site-packages/pgi/cffilib/gobject/gobject.py +27 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/__init__.py +11 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/_compat.py +20 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/_utils.py +213 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/__init__.py +71 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/error.py +13 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giarginfo.py +65 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giargument.py +58 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gibaseinfo.py +152 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gicallableinfo.py +203 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giconstantinfo.py +35 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gienuminfo.py +64 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gifieldinfo.py +46 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giinterfaceinfo.py +83 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giobjectinfo.py +134 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gipropertyinfo.py +36 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giregisteredtypeinfo.py +34 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/girepository.py +200 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gistructinfo.py +55 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gitypeinfo.py +97 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/gitypelib.py +56 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gir/giunioninfo.py +60 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/glib.py +336 -0
- package/.venv/lib/python3.9/site-packages/pgi/clib/gobject.py +405 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/__init__.py +28 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/arguments.py +640 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/backend.py +95 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/cbargs.py +152 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/cbreturn.py +77 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/cffi_backend.py +424 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/construct.py +222 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/__init__.py +11 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/main.py +184 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_basic.py +705 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_container.py +236 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_interface.py +402 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/types_other.py +93 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/ctypes_backend/utils.py +168 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/fieldgen.py +114 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/fields.py +244 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/funcgen.py +376 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/null_backend.py +110 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/returnvalues.py +443 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/siggen.py +157 -0
- package/.venv/lib/python3.9/site-packages/pgi/codegen/utils.py +248 -0
- package/.venv/lib/python3.9/site-packages/pgi/const.py +9 -0
- package/.venv/lib/python3.9/site-packages/pgi/constant.py +32 -0
- package/.venv/lib/python3.9/site-packages/pgi/debug.py +31 -0
- package/.venv/lib/python3.9/site-packages/pgi/enum.py +244 -0
- package/.venv/lib/python3.9/site-packages/pgi/field.py +58 -0
- package/.venv/lib/python3.9/site-packages/pgi/finalizer.py +3 -0
- package/.venv/lib/python3.9/site-packages/pgi/foreign/__init__.py +71 -0
- package/.venv/lib/python3.9/site-packages/pgi/foreign/_base.py +43 -0
- package/.venv/lib/python3.9/site-packages/pgi/foreign/cairo.py +41 -0
- package/.venv/lib/python3.9/site-packages/pgi/function.py +12 -0
- package/.venv/lib/python3.9/site-packages/pgi/gerror.py +58 -0
- package/.venv/lib/python3.9/site-packages/pgi/gtype.py +168 -0
- package/.venv/lib/python3.9/site-packages/pgi/importer.py +189 -0
- package/.venv/lib/python3.9/site-packages/pgi/module.py +141 -0
- package/.venv/lib/python3.9/site-packages/pgi/obj.py +519 -0
- package/.venv/lib/python3.9/site-packages/pgi/overrides/GLib.py +1013 -0
- package/.venv/lib/python3.9/site-packages/pgi/overrides/GObject.py +583 -0
- package/.venv/lib/python3.9/site-packages/pgi/overrides/Gdk.py +454 -0
- package/.venv/lib/python3.9/site-packages/pgi/overrides/Gio.py +237 -0
- package/.venv/lib/python3.9/site-packages/pgi/overrides/Gtk.py +2412 -0
- package/.venv/lib/python3.9/site-packages/pgi/overrides/Pango.py +53 -0
- package/.venv/lib/python3.9/site-packages/pgi/overrides/Poppler.py +61 -0
- package/.venv/lib/python3.9/site-packages/pgi/overrides/__init__.py +327 -0
- package/.venv/lib/python3.9/site-packages/pgi/overrides/keysyms.py +54 -0
- package/.venv/lib/python3.9/site-packages/pgi/properties.py +313 -0
- package/.venv/lib/python3.9/site-packages/pgi/propertyhelper.py +12 -0
- package/.venv/lib/python3.9/site-packages/pgi/repository/__init__.py +10 -0
- package/.venv/lib/python3.9/site-packages/pgi/signalhelper.py +18 -0
- package/.venv/lib/python3.9/site-packages/pgi/signals.py +122 -0
- package/.venv/lib/python3.9/site-packages/pgi/static.py +189 -0
- package/.venv/lib/python3.9/site-packages/pgi/structure.py +131 -0
- package/.venv/lib/python3.9/site-packages/pgi/util.py +342 -0
- package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/COPYING +502 -0
- package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/INSTALLER +1 -0
- package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/METADATA +22 -0
- package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/RECORD +229 -0
- package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/REQUESTED +0 -0
- package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/WHEEL +5 -0
- package/.venv/lib/python3.9/site-packages/pgi-0.0.11.2.dist-info/top_level.txt +1 -0
- package/.venv/lib/python3.9/site-packages/pip/__init__.py +13 -0
- package/.venv/lib/python3.9/site-packages/pip/__main__.py +31 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/__init__.py +19 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/build_env.py +293 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cache.py +264 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/__init__.py +4 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py +163 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/base_command.py +214 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py +1010 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/command_context.py +27 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/main.py +70 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py +87 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/parser.py +292 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/progress_bars.py +250 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/req_command.py +469 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/spinners.py +157 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/cli/status_codes.py +6 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/__init__.py +127 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/cache.py +223 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/check.py +53 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/completion.py +96 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/configuration.py +266 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/debug.py +202 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/download.py +139 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/freeze.py +97 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/hash.py +59 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/help.py +41 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/index.py +138 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/install.py +770 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/list.py +361 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/search.py +174 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/show.py +235 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/uninstall.py +105 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/commands/wheel.py +177 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/configuration.py +367 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/__init__.py +21 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/base.py +36 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/installed.py +22 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py +129 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/distributions/wheel.py +31 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/exceptions.py +402 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/index/__init__.py +2 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/index/collector.py +536 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/index/package_finder.py +993 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/index/sources.py +224 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/locations/__init__.py +446 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/locations/_distutils.py +169 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/locations/_sysconfig.py +219 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/locations/base.py +52 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/main.py +12 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/__init__.py +51 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/base.py +330 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/metadata/pkg_resources.py +146 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/models/__init__.py +2 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/models/candidate.py +34 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/models/direct_url.py +220 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/models/format_control.py +80 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/models/index.py +28 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/models/link.py +288 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/models/scheme.py +31 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/models/search_scope.py +129 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/models/selection_prefs.py +51 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/models/target_python.py +110 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/models/wheel.py +89 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/network/__init__.py +2 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/network/auth.py +323 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/network/cache.py +69 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/network/download.py +184 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/network/lazy_wheel.py +210 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/network/session.py +454 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/network/utils.py +96 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/network/xmlrpc.py +60 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata.py +30 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_editable.py +34 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_legacy.py +67 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel.py +37 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel_editable.py +46 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/build/wheel_legacy.py +105 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/check.py +149 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/freeze.py +254 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/__init__.py +2 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/editable_legacy.py +46 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/legacy.py +125 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/install/wheel.py +738 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/operations/prepare.py +632 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/pyproject.py +183 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/req/__init__.py +94 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/req/constructors.py +466 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_file.py +536 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_install.py +891 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_set.py +189 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_tracker.py +124 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/req/req_uninstall.py +633 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/base.py +20 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/resolver.py +467 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/base.py +141 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py +540 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py +701 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +155 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/provider.py +215 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/reporter.py +68 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/requirements.py +166 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py +251 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/self_outdated_check.py +182 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/_log.py +38 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/appdirs.py +52 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/compat.py +63 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/compatibility_tags.py +165 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/datetime.py +11 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/deprecation.py +120 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/distutils_args.py +42 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/egg_link.py +75 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/encoding.py +36 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/entrypoints.py +27 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/filesystem.py +182 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/filetypes.py +27 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/glibc.py +88 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/hashes.py +144 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/inject_securetransport.py +35 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/logging.py +358 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/misc.py +689 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/models.py +39 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/packaging.py +84 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/parallel.py +103 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/pkg_resources.py +33 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/setuptools_build.py +167 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py +289 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/temp_dir.py +246 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/unpacking.py +258 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/urls.py +62 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/virtualenv.py +104 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/utils/wheel.py +182 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/__init__.py +15 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/bazaar.py +93 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/git.py +513 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/mercurial.py +153 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/subversion.py +318 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/vcs/versioncontrol.py +693 -0
- package/.venv/lib/python3.9/site-packages/pip/_internal/wheel_builder.py +375 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/__init__.py +111 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/__init__.py +11 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/_cmd.py +57 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/adapter.py +133 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/cache.py +39 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +2 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +146 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +33 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/compat.py +29 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/controller.py +376 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/filewrapper.py +80 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/heuristics.py +135 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/serialize.py +188 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/cachecontrol/wrapper.py +29 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/__init__.py +3 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/cacert.pem +4257 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/certifi/core.py +76 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/__init__.py +83 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/big5freq.py +386 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/big5prober.py +47 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/chardistribution.py +233 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/charsetgroupprober.py +107 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/charsetprober.py +145 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cli/__init__.py +1 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cli/chardetect.py +84 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/codingstatemachine.py +88 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/compat.py +36 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/cp949prober.py +49 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/enums.py +76 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/escprober.py +101 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/escsm.py +246 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/eucjpprober.py +92 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euckrfreq.py +195 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euckrprober.py +47 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euctwfreq.py +387 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/euctwprober.py +46 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/gb2312freq.py +283 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/gb2312prober.py +46 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/hebrewprober.py +292 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/jisfreq.py +325 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/jpcntx.py +233 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +4650 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langgreekmodel.py +4398 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langhebrewmodel.py +4383 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langhungarianmodel.py +4650 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langrussianmodel.py +5718 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langthaimodel.py +4383 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/langturkishmodel.py +4383 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/latin1prober.py +145 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcharsetprober.py +91 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +54 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/mbcssm.py +572 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/metadata/languages.py +310 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sbcharsetprober.py +145 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +83 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/sjisprober.py +92 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/universaldetector.py +286 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/utf8prober.py +82 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/chardet/version.py +9 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/__init__.py +6 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/ansi.py +102 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/ansitowin32.py +258 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/initialise.py +80 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/win32.py +152 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/colorama/winterm.py +169 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/__init__.py +23 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/__init__.py +6 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/misc.py +41 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/shutil.py +764 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/sysconfig.cfg +84 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/sysconfig.py +786 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/_backport/tarfile.py +2607 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/compat.py +1122 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/database.py +1339 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/index.py +509 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/locators.py +1300 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/manifest.py +393 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/markers.py +147 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/metadata.py +1058 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/resources.py +358 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/scripts.py +429 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t32.exe +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/t64.exe +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/util.py +1969 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/version.py +739 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w32.exe +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/w64.exe +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distlib/wheel.py +1053 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/distro.py +1386 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/__init__.py +35 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_ihatexml.py +289 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_inputstream.py +918 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_tokenizer.py +1735 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/__init__.py +5 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/_base.py +40 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_trie/py.py +67 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/_utils.py +159 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/constants.py +2946 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +29 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/base.py +12 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +73 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +207 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +916 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/html5parser.py +2795 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/serializer.py +409 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +30 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +54 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +50 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +88 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/base.py +417 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +239 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +343 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +392 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +154 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/base.py +252 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +43 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +131 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +215 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +69 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/__init__.py +44 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/codec.py +117 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/compat.py +16 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/core.py +409 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/idnadata.py +2050 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/intranges.py +58 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/package_data.py +2 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/idna/uts46data.py +8438 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/__init__.py +54 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/_version.py +1 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/ext.py +193 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/msgpack/fallback.py +1087 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/__about__.py +26 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/__init__.py +25 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_manylinux.py +301 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_musllinux.py +136 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/_structures.py +67 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/markers.py +304 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/requirements.py +146 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/specifiers.py +828 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/tags.py +484 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/utils.py +136 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/packaging/version.py +504 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/__init__.py +6 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/build.py +127 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/check.py +207 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/colorlog.py +115 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/compat.py +51 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/dirtools.py +44 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/envbuild.py +171 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/__init__.py +17 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py +363 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/meta.py +92 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/wrappers.py +375 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py +3296 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pkg_resources/py31compat.py +23 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/__init__.py +329 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/__main__.py +44 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/android.py +117 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/api.py +155 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/macos.py +62 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/unix.py +180 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/version.py +4 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/platformdirs/windows.py +180 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/__init__.py +189 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/bar.py +93 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/colors.py +79 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/counter.py +47 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/progress/spinner.py +45 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/pyparsing.py +7107 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/__init__.py +154 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/__version__.py +14 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/_internal_utils.py +42 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/adapters.py +533 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/api.py +159 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/auth.py +305 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/certs.py +18 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/compat.py +76 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/cookies.py +549 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/exceptions.py +127 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/help.py +132 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/hooks.py +34 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/models.py +966 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/packages.py +16 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py +781 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/status_codes.py +123 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/structures.py +105 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/requests/utils.py +1013 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/providers.py +133 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/reporters.py +37 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py +483 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py +165 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/six.py +998 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/__init__.py +517 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/_asyncio.py +92 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/_utils.py +68 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/after.py +46 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/before.py +41 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/before_sleep.py +58 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/nap.py +43 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/retry.py +213 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/stop.py +96 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/tornadoweb.py +59 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tenacity/wait.py +191 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/__init__.py +6 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/_parser.py +703 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/tomli/_re.py +83 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/__init__.py +85 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/_collections.py +337 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/connection.py +569 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py +1078 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +511 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +922 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/__init__.py +5 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/six.py +1077 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py +24 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py +160 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/poolmanager.py +536 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/request.py +170 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py +821 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/connection.py +150 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/request.py +143 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/retry.py +602 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/ssl_.py +495 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/timeout.py +268 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/url.py +432 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/urllib3/util/wait.py +153 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/vendor.txt +22 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/__init__.py +342 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/labels.py +231 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/mklabels.py +59 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/tests.py +153 -0
- package/.venv/lib/python3.9/site-packages/pip/_vendor/webencodings/x_user_defined.py +325 -0
- package/.venv/lib/python3.9/site-packages/pip/py.typed +4 -0
- package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/INSTALLER +1 -0
- package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/LICENSE.txt +20 -0
- package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/METADATA +93 -0
- package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/RECORD +819 -0
- package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/REQUESTED +0 -0
- package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/WHEEL +5 -0
- package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/entry_points.txt +5 -0
- package/.venv/lib/python3.9/site-packages/pip-21.3.1.dist-info/top_level.txt +1 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/__init__.py +3303 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/appdirs.py +608 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/__about__.py +26 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/__init__.py +25 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_manylinux.py +301 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_musllinux.py +136 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_structures.py +67 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/markers.py +304 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/requirements.py +146 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/specifiers.py +828 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/tags.py +484 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/utils.py +136 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/version.py +504 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/_vendor/pyparsing.py +5742 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/extern/__init__.py +73 -0
- package/.venv/lib/python3.9/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +6 -0
- package/.venv/lib/python3.9/site-packages/setuptools/__init__.py +244 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_deprecation_warning.py +7 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/__init__.py +24 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/_collections.py +56 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/_msvccompiler.py +561 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/archive_util.py +256 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/bcppcompiler.py +393 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/ccompiler.py +1123 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py +403 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/__init__.py +31 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist.py +143 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_dumb.py +123 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_msi.py +749 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_rpm.py +579 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/bdist_wininst.py +377 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build.py +157 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_clib.py +209 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py +755 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_py.py +392 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_scripts.py +152 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/check.py +148 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/clean.py +76 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/config.py +344 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install.py +775 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_data.py +79 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_egg_info.py +84 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_headers.py +47 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_lib.py +217 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/install_scripts.py +60 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/py37compat.py +30 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/register.py +304 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/sdist.py +494 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/command/upload.py +214 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/config.py +130 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/core.py +249 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/cygwinccompiler.py +362 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/debug.py +5 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dep_util.py +92 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dir_util.py +210 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py +1257 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/errors.py +97 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/extension.py +240 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/fancy_getopt.py +457 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/file_util.py +238 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/filelist.py +355 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/log.py +81 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/msvc9compiler.py +788 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/msvccompiler.py +643 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/py35compat.py +19 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/py38compat.py +7 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/spawn.py +106 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/sysconfig.py +567 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/text_file.py +286 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/unixccompiler.py +325 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/util.py +548 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/version.py +363 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_distutils/versionpredicate.py +169 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_imp.py +82 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/__init__.py +4 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/more.py +3825 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/recipes.py +620 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/ordered_set.py +488 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/__about__.py +26 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/__init__.py +25 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_manylinux.py +301 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_musllinux.py +136 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/_structures.py +67 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/markers.py +304 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/requirements.py +146 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/specifiers.py +828 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/tags.py +484 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/utils.py +136 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/packaging/version.py +504 -0
- package/.venv/lib/python3.9/site-packages/setuptools/_vendor/pyparsing.py +5742 -0
- package/.venv/lib/python3.9/site-packages/setuptools/archive_util.py +205 -0
- package/.venv/lib/python3.9/site-packages/setuptools/build_meta.py +290 -0
- package/.venv/lib/python3.9/site-packages/setuptools/cli-32.exe +0 -0
- package/.venv/lib/python3.9/site-packages/setuptools/cli-64.exe +0 -0
- package/.venv/lib/python3.9/site-packages/setuptools/cli-arm64.exe +0 -0
- package/.venv/lib/python3.9/site-packages/setuptools/cli.exe +0 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/__init__.py +8 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/alias.py +78 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/bdist_egg.py +456 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/bdist_rpm.py +40 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/build_clib.py +101 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/build_ext.py +328 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/build_py.py +242 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/develop.py +193 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/dist_info.py +36 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/easy_install.py +2304 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/egg_info.py +755 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/install.py +132 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/install_egg_info.py +62 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/install_lib.py +122 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/install_scripts.py +69 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/launcher manifest.xml +15 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/py36compat.py +134 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/register.py +18 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/rotate.py +64 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/saveopts.py +22 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/sdist.py +196 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/setopt.py +149 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/test.py +252 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/upload.py +17 -0
- package/.venv/lib/python3.9/site-packages/setuptools/command/upload_docs.py +202 -0
- package/.venv/lib/python3.9/site-packages/setuptools/config.py +751 -0
- package/.venv/lib/python3.9/site-packages/setuptools/dep_util.py +25 -0
- package/.venv/lib/python3.9/site-packages/setuptools/depends.py +176 -0
- package/.venv/lib/python3.9/site-packages/setuptools/dist.py +1156 -0
- package/.venv/lib/python3.9/site-packages/setuptools/errors.py +40 -0
- package/.venv/lib/python3.9/site-packages/setuptools/extension.py +55 -0
- package/.venv/lib/python3.9/site-packages/setuptools/extern/__init__.py +73 -0
- package/.venv/lib/python3.9/site-packages/setuptools/glob.py +167 -0
- package/.venv/lib/python3.9/site-packages/setuptools/gui-32.exe +0 -0
- package/.venv/lib/python3.9/site-packages/setuptools/gui-64.exe +0 -0
- package/.venv/lib/python3.9/site-packages/setuptools/gui-arm64.exe +0 -0
- package/.venv/lib/python3.9/site-packages/setuptools/gui.exe +0 -0
- package/.venv/lib/python3.9/site-packages/setuptools/installer.py +104 -0
- package/.venv/lib/python3.9/site-packages/setuptools/launch.py +36 -0
- package/.venv/lib/python3.9/site-packages/setuptools/logging.py +30 -0
- package/.venv/lib/python3.9/site-packages/setuptools/monkey.py +177 -0
- package/.venv/lib/python3.9/site-packages/setuptools/msvc.py +1805 -0
- package/.venv/lib/python3.9/site-packages/setuptools/namespaces.py +107 -0
- package/.venv/lib/python3.9/site-packages/setuptools/package_index.py +1127 -0
- package/.venv/lib/python3.9/site-packages/setuptools/py34compat.py +13 -0
- package/.venv/lib/python3.9/site-packages/setuptools/sandbox.py +530 -0
- package/.venv/lib/python3.9/site-packages/setuptools/script (dev).tmpl +6 -0
- package/.venv/lib/python3.9/site-packages/setuptools/script.tmpl +3 -0
- package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/__init__.py +0 -0
- package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/helpers.py +61 -0
- package/.venv/lib/python3.9/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +218 -0
- package/.venv/lib/python3.9/site-packages/setuptools/unicode_utils.py +42 -0
- package/.venv/lib/python3.9/site-packages/setuptools/version.py +6 -0
- package/.venv/lib/python3.9/site-packages/setuptools/wheel.py +213 -0
- package/.venv/lib/python3.9/site-packages/setuptools/windows_support.py +29 -0
- package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/INSTALLER +1 -0
- package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/LICENSE +19 -0
- package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/METADATA +142 -0
- package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/RECORD +308 -0
- package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/REQUESTED +0 -0
- package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/WHEEL +5 -0
- package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/entry_points.txt +56 -0
- package/.venv/lib/python3.9/site-packages/setuptools-60.5.0.dist-info/top_level.txt +3 -0
- package/.venv/pyvenv.cfg +3 -0
- package/dist/http-interfaces.js +8 -4
- package/dist/http-interfaces.js.map +1 -1
- package/dist/plugin/media.js +29 -14
- package/dist/plugin/media.js.map +1 -1
- package/dist/plugin/plugin-console.js +13 -3
- package/dist/plugin/plugin-console.js.map +1 -1
- package/dist/plugin/plugin-device.js +1 -1
- package/dist/plugin/plugin-device.js.map +1 -1
- package/dist/plugin/plugin-host-api.js +1 -1
- package/dist/plugin/plugin-host-api.js.map +1 -1
- package/dist/plugin/plugin-host.js +36 -127
- package/dist/plugin/plugin-host.js.map +1 -1
- package/dist/plugin/plugin-remote-worker.js +5 -42
- package/dist/plugin/plugin-remote-worker.js.map +1 -1
- package/dist/plugin/plugin-remote.js +3 -3
- package/dist/plugin/plugin-remote.js.map +1 -1
- package/dist/plugin/runtime/child-process-worker.js +42 -0
- package/dist/plugin/runtime/child-process-worker.js.map +1 -0
- package/dist/plugin/runtime/node-fork-worker.js +51 -0
- package/dist/plugin/runtime/node-fork-worker.js.map +1 -0
- package/dist/plugin/runtime/node-thread-worker.js +73 -0
- package/dist/plugin/runtime/node-thread-worker.js.map +1 -0
- package/dist/plugin/runtime/python-worker.js +54 -0
- package/dist/plugin/runtime/python-worker.js.map +1 -0
- package/dist/plugin/runtime/runtime-worker.js +3 -0
- package/dist/plugin/runtime/runtime-worker.js.map +1 -0
- package/dist/plugin/system.js +3 -3
- package/dist/plugin/system.js.map +1 -1
- package/dist/rpc.js +79 -55
- package/dist/rpc.js.map +1 -1
- package/dist/runtime.js +1 -6
- package/dist/runtime.js.map +1 -1
- package/dist/scrypted-main.js +14 -7
- package/dist/scrypted-main.js.map +1 -1
- package/dist/scrypted-plugin-main.js +31 -4
- package/dist/scrypted-plugin-main.js.map +1 -1
- package/dist/scrypted-server-main.js +1 -1
- package/dist/scrypted-server-main.js.map +1 -1
- package/dist/threading.js +99 -0
- package/dist/threading.js.map +1 -0
- package/package.json +5 -3
- package/python/plugin-remote.py +31 -2
- package/python/rpc.py +6 -0
- package/src/http-interfaces.ts +10 -5
- package/src/plugin/media.ts +34 -16
- package/src/plugin/plugin-console.ts +15 -6
- package/src/plugin/plugin-device.ts +2 -2
- package/src/plugin/plugin-host-api.ts +2 -2
- package/src/plugin/plugin-host.ts +42 -146
- package/src/plugin/plugin-remote-websocket.ts +1 -1
- package/src/plugin/plugin-remote-worker.ts +7 -44
- package/src/plugin/plugin-remote.ts +5 -5
- package/src/plugin/runtime/child-process-worker.ts +49 -0
- package/src/plugin/runtime/node-fork-worker.ts +54 -0
- package/src/plugin/runtime/node-thread-worker.ts +76 -0
- package/src/plugin/runtime/python-worker.ts +67 -0
- package/src/plugin/runtime/runtime-worker.ts +28 -0
- package/src/plugin/system.ts +4 -4
- package/src/rpc.ts +92 -66
- package/src/runtime.ts +1 -8
- package/src/scrypted-main.ts +15 -7
- package/src/scrypted-plugin-main.ts +31 -5
- package/src/scrypted-server-main.ts +1 -1
- package/src/threading.ts +108 -0
|
@@ -0,0 +1,643 @@
|
|
|
1
|
+
"""distutils.msvccompiler
|
|
2
|
+
|
|
3
|
+
Contains MSVCCompiler, an implementation of the abstract CCompiler class
|
|
4
|
+
for the Microsoft Visual Studio.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
# Written by Perry Stoll
|
|
8
|
+
# hacked by Robin Becker and Thomas Heller to do a better job of
|
|
9
|
+
# finding DevStudio (through the registry)
|
|
10
|
+
|
|
11
|
+
import sys, os
|
|
12
|
+
from distutils.errors import \
|
|
13
|
+
DistutilsExecError, DistutilsPlatformError, \
|
|
14
|
+
CompileError, LibError, LinkError
|
|
15
|
+
from distutils.ccompiler import \
|
|
16
|
+
CCompiler, gen_lib_options
|
|
17
|
+
from distutils import log
|
|
18
|
+
|
|
19
|
+
_can_read_reg = False
|
|
20
|
+
try:
|
|
21
|
+
import winreg
|
|
22
|
+
|
|
23
|
+
_can_read_reg = True
|
|
24
|
+
hkey_mod = winreg
|
|
25
|
+
|
|
26
|
+
RegOpenKeyEx = winreg.OpenKeyEx
|
|
27
|
+
RegEnumKey = winreg.EnumKey
|
|
28
|
+
RegEnumValue = winreg.EnumValue
|
|
29
|
+
RegError = winreg.error
|
|
30
|
+
|
|
31
|
+
except ImportError:
|
|
32
|
+
try:
|
|
33
|
+
import win32api
|
|
34
|
+
import win32con
|
|
35
|
+
_can_read_reg = True
|
|
36
|
+
hkey_mod = win32con
|
|
37
|
+
|
|
38
|
+
RegOpenKeyEx = win32api.RegOpenKeyEx
|
|
39
|
+
RegEnumKey = win32api.RegEnumKey
|
|
40
|
+
RegEnumValue = win32api.RegEnumValue
|
|
41
|
+
RegError = win32api.error
|
|
42
|
+
except ImportError:
|
|
43
|
+
log.info("Warning: Can't read registry to find the "
|
|
44
|
+
"necessary compiler setting\n"
|
|
45
|
+
"Make sure that Python modules winreg, "
|
|
46
|
+
"win32api or win32con are installed.")
|
|
47
|
+
pass
|
|
48
|
+
|
|
49
|
+
if _can_read_reg:
|
|
50
|
+
HKEYS = (hkey_mod.HKEY_USERS,
|
|
51
|
+
hkey_mod.HKEY_CURRENT_USER,
|
|
52
|
+
hkey_mod.HKEY_LOCAL_MACHINE,
|
|
53
|
+
hkey_mod.HKEY_CLASSES_ROOT)
|
|
54
|
+
|
|
55
|
+
def read_keys(base, key):
|
|
56
|
+
"""Return list of registry keys."""
|
|
57
|
+
try:
|
|
58
|
+
handle = RegOpenKeyEx(base, key)
|
|
59
|
+
except RegError:
|
|
60
|
+
return None
|
|
61
|
+
L = []
|
|
62
|
+
i = 0
|
|
63
|
+
while True:
|
|
64
|
+
try:
|
|
65
|
+
k = RegEnumKey(handle, i)
|
|
66
|
+
except RegError:
|
|
67
|
+
break
|
|
68
|
+
L.append(k)
|
|
69
|
+
i += 1
|
|
70
|
+
return L
|
|
71
|
+
|
|
72
|
+
def read_values(base, key):
|
|
73
|
+
"""Return dict of registry keys and values.
|
|
74
|
+
|
|
75
|
+
All names are converted to lowercase.
|
|
76
|
+
"""
|
|
77
|
+
try:
|
|
78
|
+
handle = RegOpenKeyEx(base, key)
|
|
79
|
+
except RegError:
|
|
80
|
+
return None
|
|
81
|
+
d = {}
|
|
82
|
+
i = 0
|
|
83
|
+
while True:
|
|
84
|
+
try:
|
|
85
|
+
name, value, type = RegEnumValue(handle, i)
|
|
86
|
+
except RegError:
|
|
87
|
+
break
|
|
88
|
+
name = name.lower()
|
|
89
|
+
d[convert_mbcs(name)] = convert_mbcs(value)
|
|
90
|
+
i += 1
|
|
91
|
+
return d
|
|
92
|
+
|
|
93
|
+
def convert_mbcs(s):
|
|
94
|
+
dec = getattr(s, "decode", None)
|
|
95
|
+
if dec is not None:
|
|
96
|
+
try:
|
|
97
|
+
s = dec("mbcs")
|
|
98
|
+
except UnicodeError:
|
|
99
|
+
pass
|
|
100
|
+
return s
|
|
101
|
+
|
|
102
|
+
class MacroExpander:
|
|
103
|
+
def __init__(self, version):
|
|
104
|
+
self.macros = {}
|
|
105
|
+
self.load_macros(version)
|
|
106
|
+
|
|
107
|
+
def set_macro(self, macro, path, key):
|
|
108
|
+
for base in HKEYS:
|
|
109
|
+
d = read_values(base, path)
|
|
110
|
+
if d:
|
|
111
|
+
self.macros["$(%s)" % macro] = d[key]
|
|
112
|
+
break
|
|
113
|
+
|
|
114
|
+
def load_macros(self, version):
|
|
115
|
+
vsbase = r"Software\Microsoft\VisualStudio\%0.1f" % version
|
|
116
|
+
self.set_macro("VCInstallDir", vsbase + r"\Setup\VC", "productdir")
|
|
117
|
+
self.set_macro("VSInstallDir", vsbase + r"\Setup\VS", "productdir")
|
|
118
|
+
net = r"Software\Microsoft\.NETFramework"
|
|
119
|
+
self.set_macro("FrameworkDir", net, "installroot")
|
|
120
|
+
try:
|
|
121
|
+
if version > 7.0:
|
|
122
|
+
self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv1.1")
|
|
123
|
+
else:
|
|
124
|
+
self.set_macro("FrameworkSDKDir", net, "sdkinstallroot")
|
|
125
|
+
except KeyError as exc: #
|
|
126
|
+
raise DistutilsPlatformError(
|
|
127
|
+
"""Python was built with Visual Studio 2003;
|
|
128
|
+
extensions must be built with a compiler than can generate compatible binaries.
|
|
129
|
+
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
|
|
130
|
+
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.""")
|
|
131
|
+
|
|
132
|
+
p = r"Software\Microsoft\NET Framework Setup\Product"
|
|
133
|
+
for base in HKEYS:
|
|
134
|
+
try:
|
|
135
|
+
h = RegOpenKeyEx(base, p)
|
|
136
|
+
except RegError:
|
|
137
|
+
continue
|
|
138
|
+
key = RegEnumKey(h, 0)
|
|
139
|
+
d = read_values(base, r"%s\%s" % (p, key))
|
|
140
|
+
self.macros["$(FrameworkVersion)"] = d["version"]
|
|
141
|
+
|
|
142
|
+
def sub(self, s):
|
|
143
|
+
for k, v in self.macros.items():
|
|
144
|
+
s = s.replace(k, v)
|
|
145
|
+
return s
|
|
146
|
+
|
|
147
|
+
def get_build_version():
|
|
148
|
+
"""Return the version of MSVC that was used to build Python.
|
|
149
|
+
|
|
150
|
+
For Python 2.3 and up, the version number is included in
|
|
151
|
+
sys.version. For earlier versions, assume the compiler is MSVC 6.
|
|
152
|
+
"""
|
|
153
|
+
prefix = "MSC v."
|
|
154
|
+
i = sys.version.find(prefix)
|
|
155
|
+
if i == -1:
|
|
156
|
+
return 6
|
|
157
|
+
i = i + len(prefix)
|
|
158
|
+
s, rest = sys.version[i:].split(" ", 1)
|
|
159
|
+
majorVersion = int(s[:-2]) - 6
|
|
160
|
+
if majorVersion >= 13:
|
|
161
|
+
# v13 was skipped and should be v14
|
|
162
|
+
majorVersion += 1
|
|
163
|
+
minorVersion = int(s[2:3]) / 10.0
|
|
164
|
+
# I don't think paths are affected by minor version in version 6
|
|
165
|
+
if majorVersion == 6:
|
|
166
|
+
minorVersion = 0
|
|
167
|
+
if majorVersion >= 6:
|
|
168
|
+
return majorVersion + minorVersion
|
|
169
|
+
# else we don't know what version of the compiler this is
|
|
170
|
+
return None
|
|
171
|
+
|
|
172
|
+
def get_build_architecture():
|
|
173
|
+
"""Return the processor architecture.
|
|
174
|
+
|
|
175
|
+
Possible results are "Intel" or "AMD64".
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
prefix = " bit ("
|
|
179
|
+
i = sys.version.find(prefix)
|
|
180
|
+
if i == -1:
|
|
181
|
+
return "Intel"
|
|
182
|
+
j = sys.version.find(")", i)
|
|
183
|
+
return sys.version[i+len(prefix):j]
|
|
184
|
+
|
|
185
|
+
def normalize_and_reduce_paths(paths):
|
|
186
|
+
"""Return a list of normalized paths with duplicates removed.
|
|
187
|
+
|
|
188
|
+
The current order of paths is maintained.
|
|
189
|
+
"""
|
|
190
|
+
# Paths are normalized so things like: /a and /a/ aren't both preserved.
|
|
191
|
+
reduced_paths = []
|
|
192
|
+
for p in paths:
|
|
193
|
+
np = os.path.normpath(p)
|
|
194
|
+
# XXX(nnorwitz): O(n**2), if reduced_paths gets long perhaps use a set.
|
|
195
|
+
if np not in reduced_paths:
|
|
196
|
+
reduced_paths.append(np)
|
|
197
|
+
return reduced_paths
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
class MSVCCompiler(CCompiler) :
|
|
201
|
+
"""Concrete class that implements an interface to Microsoft Visual C++,
|
|
202
|
+
as defined by the CCompiler abstract class."""
|
|
203
|
+
|
|
204
|
+
compiler_type = 'msvc'
|
|
205
|
+
|
|
206
|
+
# Just set this so CCompiler's constructor doesn't barf. We currently
|
|
207
|
+
# don't use the 'set_executables()' bureaucracy provided by CCompiler,
|
|
208
|
+
# as it really isn't necessary for this sort of single-compiler class.
|
|
209
|
+
# Would be nice to have a consistent interface with UnixCCompiler,
|
|
210
|
+
# though, so it's worth thinking about.
|
|
211
|
+
executables = {}
|
|
212
|
+
|
|
213
|
+
# Private class data (need to distinguish C from C++ source for compiler)
|
|
214
|
+
_c_extensions = ['.c']
|
|
215
|
+
_cpp_extensions = ['.cc', '.cpp', '.cxx']
|
|
216
|
+
_rc_extensions = ['.rc']
|
|
217
|
+
_mc_extensions = ['.mc']
|
|
218
|
+
|
|
219
|
+
# Needed for the filename generation methods provided by the
|
|
220
|
+
# base class, CCompiler.
|
|
221
|
+
src_extensions = (_c_extensions + _cpp_extensions +
|
|
222
|
+
_rc_extensions + _mc_extensions)
|
|
223
|
+
res_extension = '.res'
|
|
224
|
+
obj_extension = '.obj'
|
|
225
|
+
static_lib_extension = '.lib'
|
|
226
|
+
shared_lib_extension = '.dll'
|
|
227
|
+
static_lib_format = shared_lib_format = '%s%s'
|
|
228
|
+
exe_extension = '.exe'
|
|
229
|
+
|
|
230
|
+
def __init__(self, verbose=0, dry_run=0, force=0):
|
|
231
|
+
CCompiler.__init__ (self, verbose, dry_run, force)
|
|
232
|
+
self.__version = get_build_version()
|
|
233
|
+
self.__arch = get_build_architecture()
|
|
234
|
+
if self.__arch == "Intel":
|
|
235
|
+
# x86
|
|
236
|
+
if self.__version >= 7:
|
|
237
|
+
self.__root = r"Software\Microsoft\VisualStudio"
|
|
238
|
+
self.__macros = MacroExpander(self.__version)
|
|
239
|
+
else:
|
|
240
|
+
self.__root = r"Software\Microsoft\Devstudio"
|
|
241
|
+
self.__product = "Visual Studio version %s" % self.__version
|
|
242
|
+
else:
|
|
243
|
+
# Win64. Assume this was built with the platform SDK
|
|
244
|
+
self.__product = "Microsoft SDK compiler %s" % (self.__version + 6)
|
|
245
|
+
|
|
246
|
+
self.initialized = False
|
|
247
|
+
|
|
248
|
+
def initialize(self):
|
|
249
|
+
self.__paths = []
|
|
250
|
+
if "DISTUTILS_USE_SDK" in os.environ and "MSSdk" in os.environ and self.find_exe("cl.exe"):
|
|
251
|
+
# Assume that the SDK set up everything alright; don't try to be
|
|
252
|
+
# smarter
|
|
253
|
+
self.cc = "cl.exe"
|
|
254
|
+
self.linker = "link.exe"
|
|
255
|
+
self.lib = "lib.exe"
|
|
256
|
+
self.rc = "rc.exe"
|
|
257
|
+
self.mc = "mc.exe"
|
|
258
|
+
else:
|
|
259
|
+
self.__paths = self.get_msvc_paths("path")
|
|
260
|
+
|
|
261
|
+
if len(self.__paths) == 0:
|
|
262
|
+
raise DistutilsPlatformError("Python was built with %s, "
|
|
263
|
+
"and extensions need to be built with the same "
|
|
264
|
+
"version of the compiler, but it isn't installed."
|
|
265
|
+
% self.__product)
|
|
266
|
+
|
|
267
|
+
self.cc = self.find_exe("cl.exe")
|
|
268
|
+
self.linker = self.find_exe("link.exe")
|
|
269
|
+
self.lib = self.find_exe("lib.exe")
|
|
270
|
+
self.rc = self.find_exe("rc.exe") # resource compiler
|
|
271
|
+
self.mc = self.find_exe("mc.exe") # message compiler
|
|
272
|
+
self.set_path_env_var('lib')
|
|
273
|
+
self.set_path_env_var('include')
|
|
274
|
+
|
|
275
|
+
# extend the MSVC path with the current path
|
|
276
|
+
try:
|
|
277
|
+
for p in os.environ['path'].split(';'):
|
|
278
|
+
self.__paths.append(p)
|
|
279
|
+
except KeyError:
|
|
280
|
+
pass
|
|
281
|
+
self.__paths = normalize_and_reduce_paths(self.__paths)
|
|
282
|
+
os.environ['path'] = ";".join(self.__paths)
|
|
283
|
+
|
|
284
|
+
self.preprocess_options = None
|
|
285
|
+
if self.__arch == "Intel":
|
|
286
|
+
self.compile_options = [ '/nologo', '/O2', '/MD', '/W3', '/GX' ,
|
|
287
|
+
'/DNDEBUG']
|
|
288
|
+
self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/GX',
|
|
289
|
+
'/Z7', '/D_DEBUG']
|
|
290
|
+
else:
|
|
291
|
+
# Win64
|
|
292
|
+
self.compile_options = [ '/nologo', '/O2', '/MD', '/W3', '/GS-' ,
|
|
293
|
+
'/DNDEBUG']
|
|
294
|
+
self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/GS-',
|
|
295
|
+
'/Z7', '/D_DEBUG']
|
|
296
|
+
|
|
297
|
+
self.ldflags_shared = ['/DLL', '/nologo', '/INCREMENTAL:NO']
|
|
298
|
+
if self.__version >= 7:
|
|
299
|
+
self.ldflags_shared_debug = [
|
|
300
|
+
'/DLL', '/nologo', '/INCREMENTAL:no', '/DEBUG'
|
|
301
|
+
]
|
|
302
|
+
else:
|
|
303
|
+
self.ldflags_shared_debug = [
|
|
304
|
+
'/DLL', '/nologo', '/INCREMENTAL:no', '/pdb:None', '/DEBUG'
|
|
305
|
+
]
|
|
306
|
+
self.ldflags_static = [ '/nologo']
|
|
307
|
+
|
|
308
|
+
self.initialized = True
|
|
309
|
+
|
|
310
|
+
# -- Worker methods ------------------------------------------------
|
|
311
|
+
|
|
312
|
+
def object_filenames(self,
|
|
313
|
+
source_filenames,
|
|
314
|
+
strip_dir=0,
|
|
315
|
+
output_dir=''):
|
|
316
|
+
# Copied from ccompiler.py, extended to return .res as 'object'-file
|
|
317
|
+
# for .rc input file
|
|
318
|
+
if output_dir is None: output_dir = ''
|
|
319
|
+
obj_names = []
|
|
320
|
+
for src_name in source_filenames:
|
|
321
|
+
(base, ext) = os.path.splitext (src_name)
|
|
322
|
+
base = os.path.splitdrive(base)[1] # Chop off the drive
|
|
323
|
+
base = base[os.path.isabs(base):] # If abs, chop off leading /
|
|
324
|
+
if ext not in self.src_extensions:
|
|
325
|
+
# Better to raise an exception instead of silently continuing
|
|
326
|
+
# and later complain about sources and targets having
|
|
327
|
+
# different lengths
|
|
328
|
+
raise CompileError ("Don't know how to compile %s" % src_name)
|
|
329
|
+
if strip_dir:
|
|
330
|
+
base = os.path.basename (base)
|
|
331
|
+
if ext in self._rc_extensions:
|
|
332
|
+
obj_names.append (os.path.join (output_dir,
|
|
333
|
+
base + self.res_extension))
|
|
334
|
+
elif ext in self._mc_extensions:
|
|
335
|
+
obj_names.append (os.path.join (output_dir,
|
|
336
|
+
base + self.res_extension))
|
|
337
|
+
else:
|
|
338
|
+
obj_names.append (os.path.join (output_dir,
|
|
339
|
+
base + self.obj_extension))
|
|
340
|
+
return obj_names
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
def compile(self, sources,
|
|
344
|
+
output_dir=None, macros=None, include_dirs=None, debug=0,
|
|
345
|
+
extra_preargs=None, extra_postargs=None, depends=None):
|
|
346
|
+
|
|
347
|
+
if not self.initialized:
|
|
348
|
+
self.initialize()
|
|
349
|
+
compile_info = self._setup_compile(output_dir, macros, include_dirs,
|
|
350
|
+
sources, depends, extra_postargs)
|
|
351
|
+
macros, objects, extra_postargs, pp_opts, build = compile_info
|
|
352
|
+
|
|
353
|
+
compile_opts = extra_preargs or []
|
|
354
|
+
compile_opts.append ('/c')
|
|
355
|
+
if debug:
|
|
356
|
+
compile_opts.extend(self.compile_options_debug)
|
|
357
|
+
else:
|
|
358
|
+
compile_opts.extend(self.compile_options)
|
|
359
|
+
|
|
360
|
+
for obj in objects:
|
|
361
|
+
try:
|
|
362
|
+
src, ext = build[obj]
|
|
363
|
+
except KeyError:
|
|
364
|
+
continue
|
|
365
|
+
if debug:
|
|
366
|
+
# pass the full pathname to MSVC in debug mode,
|
|
367
|
+
# this allows the debugger to find the source file
|
|
368
|
+
# without asking the user to browse for it
|
|
369
|
+
src = os.path.abspath(src)
|
|
370
|
+
|
|
371
|
+
if ext in self._c_extensions:
|
|
372
|
+
input_opt = "/Tc" + src
|
|
373
|
+
elif ext in self._cpp_extensions:
|
|
374
|
+
input_opt = "/Tp" + src
|
|
375
|
+
elif ext in self._rc_extensions:
|
|
376
|
+
# compile .RC to .RES file
|
|
377
|
+
input_opt = src
|
|
378
|
+
output_opt = "/fo" + obj
|
|
379
|
+
try:
|
|
380
|
+
self.spawn([self.rc] + pp_opts +
|
|
381
|
+
[output_opt] + [input_opt])
|
|
382
|
+
except DistutilsExecError as msg:
|
|
383
|
+
raise CompileError(msg)
|
|
384
|
+
continue
|
|
385
|
+
elif ext in self._mc_extensions:
|
|
386
|
+
# Compile .MC to .RC file to .RES file.
|
|
387
|
+
# * '-h dir' specifies the directory for the
|
|
388
|
+
# generated include file
|
|
389
|
+
# * '-r dir' specifies the target directory of the
|
|
390
|
+
# generated RC file and the binary message resource
|
|
391
|
+
# it includes
|
|
392
|
+
#
|
|
393
|
+
# For now (since there are no options to change this),
|
|
394
|
+
# we use the source-directory for the include file and
|
|
395
|
+
# the build directory for the RC file and message
|
|
396
|
+
# resources. This works at least for win32all.
|
|
397
|
+
h_dir = os.path.dirname(src)
|
|
398
|
+
rc_dir = os.path.dirname(obj)
|
|
399
|
+
try:
|
|
400
|
+
# first compile .MC to .RC and .H file
|
|
401
|
+
self.spawn([self.mc] +
|
|
402
|
+
['-h', h_dir, '-r', rc_dir] + [src])
|
|
403
|
+
base, _ = os.path.splitext (os.path.basename (src))
|
|
404
|
+
rc_file = os.path.join (rc_dir, base + '.rc')
|
|
405
|
+
# then compile .RC to .RES file
|
|
406
|
+
self.spawn([self.rc] +
|
|
407
|
+
["/fo" + obj] + [rc_file])
|
|
408
|
+
|
|
409
|
+
except DistutilsExecError as msg:
|
|
410
|
+
raise CompileError(msg)
|
|
411
|
+
continue
|
|
412
|
+
else:
|
|
413
|
+
# how to handle this file?
|
|
414
|
+
raise CompileError("Don't know how to compile %s to %s"
|
|
415
|
+
% (src, obj))
|
|
416
|
+
|
|
417
|
+
output_opt = "/Fo" + obj
|
|
418
|
+
try:
|
|
419
|
+
self.spawn([self.cc] + compile_opts + pp_opts +
|
|
420
|
+
[input_opt, output_opt] +
|
|
421
|
+
extra_postargs)
|
|
422
|
+
except DistutilsExecError as msg:
|
|
423
|
+
raise CompileError(msg)
|
|
424
|
+
|
|
425
|
+
return objects
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
def create_static_lib(self,
|
|
429
|
+
objects,
|
|
430
|
+
output_libname,
|
|
431
|
+
output_dir=None,
|
|
432
|
+
debug=0,
|
|
433
|
+
target_lang=None):
|
|
434
|
+
|
|
435
|
+
if not self.initialized:
|
|
436
|
+
self.initialize()
|
|
437
|
+
(objects, output_dir) = self._fix_object_args(objects, output_dir)
|
|
438
|
+
output_filename = self.library_filename(output_libname,
|
|
439
|
+
output_dir=output_dir)
|
|
440
|
+
|
|
441
|
+
if self._need_link(objects, output_filename):
|
|
442
|
+
lib_args = objects + ['/OUT:' + output_filename]
|
|
443
|
+
if debug:
|
|
444
|
+
pass # XXX what goes here?
|
|
445
|
+
try:
|
|
446
|
+
self.spawn([self.lib] + lib_args)
|
|
447
|
+
except DistutilsExecError as msg:
|
|
448
|
+
raise LibError(msg)
|
|
449
|
+
else:
|
|
450
|
+
log.debug("skipping %s (up-to-date)", output_filename)
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
def link(self,
|
|
454
|
+
target_desc,
|
|
455
|
+
objects,
|
|
456
|
+
output_filename,
|
|
457
|
+
output_dir=None,
|
|
458
|
+
libraries=None,
|
|
459
|
+
library_dirs=None,
|
|
460
|
+
runtime_library_dirs=None,
|
|
461
|
+
export_symbols=None,
|
|
462
|
+
debug=0,
|
|
463
|
+
extra_preargs=None,
|
|
464
|
+
extra_postargs=None,
|
|
465
|
+
build_temp=None,
|
|
466
|
+
target_lang=None):
|
|
467
|
+
|
|
468
|
+
if not self.initialized:
|
|
469
|
+
self.initialize()
|
|
470
|
+
(objects, output_dir) = self._fix_object_args(objects, output_dir)
|
|
471
|
+
fixed_args = self._fix_lib_args(libraries, library_dirs,
|
|
472
|
+
runtime_library_dirs)
|
|
473
|
+
(libraries, library_dirs, runtime_library_dirs) = fixed_args
|
|
474
|
+
|
|
475
|
+
if runtime_library_dirs:
|
|
476
|
+
self.warn ("I don't know what to do with 'runtime_library_dirs': "
|
|
477
|
+
+ str (runtime_library_dirs))
|
|
478
|
+
|
|
479
|
+
lib_opts = gen_lib_options(self,
|
|
480
|
+
library_dirs, runtime_library_dirs,
|
|
481
|
+
libraries)
|
|
482
|
+
if output_dir is not None:
|
|
483
|
+
output_filename = os.path.join(output_dir, output_filename)
|
|
484
|
+
|
|
485
|
+
if self._need_link(objects, output_filename):
|
|
486
|
+
if target_desc == CCompiler.EXECUTABLE:
|
|
487
|
+
if debug:
|
|
488
|
+
ldflags = self.ldflags_shared_debug[1:]
|
|
489
|
+
else:
|
|
490
|
+
ldflags = self.ldflags_shared[1:]
|
|
491
|
+
else:
|
|
492
|
+
if debug:
|
|
493
|
+
ldflags = self.ldflags_shared_debug
|
|
494
|
+
else:
|
|
495
|
+
ldflags = self.ldflags_shared
|
|
496
|
+
|
|
497
|
+
export_opts = []
|
|
498
|
+
for sym in (export_symbols or []):
|
|
499
|
+
export_opts.append("/EXPORT:" + sym)
|
|
500
|
+
|
|
501
|
+
ld_args = (ldflags + lib_opts + export_opts +
|
|
502
|
+
objects + ['/OUT:' + output_filename])
|
|
503
|
+
|
|
504
|
+
# The MSVC linker generates .lib and .exp files, which cannot be
|
|
505
|
+
# suppressed by any linker switches. The .lib files may even be
|
|
506
|
+
# needed! Make sure they are generated in the temporary build
|
|
507
|
+
# directory. Since they have different names for debug and release
|
|
508
|
+
# builds, they can go into the same directory.
|
|
509
|
+
if export_symbols is not None:
|
|
510
|
+
(dll_name, dll_ext) = os.path.splitext(
|
|
511
|
+
os.path.basename(output_filename))
|
|
512
|
+
implib_file = os.path.join(
|
|
513
|
+
os.path.dirname(objects[0]),
|
|
514
|
+
self.library_filename(dll_name))
|
|
515
|
+
ld_args.append ('/IMPLIB:' + implib_file)
|
|
516
|
+
|
|
517
|
+
if extra_preargs:
|
|
518
|
+
ld_args[:0] = extra_preargs
|
|
519
|
+
if extra_postargs:
|
|
520
|
+
ld_args.extend(extra_postargs)
|
|
521
|
+
|
|
522
|
+
self.mkpath(os.path.dirname(output_filename))
|
|
523
|
+
try:
|
|
524
|
+
self.spawn([self.linker] + ld_args)
|
|
525
|
+
except DistutilsExecError as msg:
|
|
526
|
+
raise LinkError(msg)
|
|
527
|
+
|
|
528
|
+
else:
|
|
529
|
+
log.debug("skipping %s (up-to-date)", output_filename)
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
# -- Miscellaneous methods -----------------------------------------
|
|
533
|
+
# These are all used by the 'gen_lib_options() function, in
|
|
534
|
+
# ccompiler.py.
|
|
535
|
+
|
|
536
|
+
def library_dir_option(self, dir):
|
|
537
|
+
return "/LIBPATH:" + dir
|
|
538
|
+
|
|
539
|
+
def runtime_library_dir_option(self, dir):
|
|
540
|
+
raise DistutilsPlatformError(
|
|
541
|
+
"don't know how to set runtime library search path for MSVC++")
|
|
542
|
+
|
|
543
|
+
def library_option(self, lib):
|
|
544
|
+
return self.library_filename(lib)
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
def find_library_file(self, dirs, lib, debug=0):
|
|
548
|
+
# Prefer a debugging library if found (and requested), but deal
|
|
549
|
+
# with it if we don't have one.
|
|
550
|
+
if debug:
|
|
551
|
+
try_names = [lib + "_d", lib]
|
|
552
|
+
else:
|
|
553
|
+
try_names = [lib]
|
|
554
|
+
for dir in dirs:
|
|
555
|
+
for name in try_names:
|
|
556
|
+
libfile = os.path.join(dir, self.library_filename (name))
|
|
557
|
+
if os.path.exists(libfile):
|
|
558
|
+
return libfile
|
|
559
|
+
else:
|
|
560
|
+
# Oops, didn't find it in *any* of 'dirs'
|
|
561
|
+
return None
|
|
562
|
+
|
|
563
|
+
# Helper methods for using the MSVC registry settings
|
|
564
|
+
|
|
565
|
+
def find_exe(self, exe):
|
|
566
|
+
"""Return path to an MSVC executable program.
|
|
567
|
+
|
|
568
|
+
Tries to find the program in several places: first, one of the
|
|
569
|
+
MSVC program search paths from the registry; next, the directories
|
|
570
|
+
in the PATH environment variable. If any of those work, return an
|
|
571
|
+
absolute path that is known to exist. If none of them work, just
|
|
572
|
+
return the original program name, 'exe'.
|
|
573
|
+
"""
|
|
574
|
+
for p in self.__paths:
|
|
575
|
+
fn = os.path.join(os.path.abspath(p), exe)
|
|
576
|
+
if os.path.isfile(fn):
|
|
577
|
+
return fn
|
|
578
|
+
|
|
579
|
+
# didn't find it; try existing path
|
|
580
|
+
for p in os.environ['Path'].split(';'):
|
|
581
|
+
fn = os.path.join(os.path.abspath(p),exe)
|
|
582
|
+
if os.path.isfile(fn):
|
|
583
|
+
return fn
|
|
584
|
+
|
|
585
|
+
return exe
|
|
586
|
+
|
|
587
|
+
def get_msvc_paths(self, path, platform='x86'):
|
|
588
|
+
"""Get a list of devstudio directories (include, lib or path).
|
|
589
|
+
|
|
590
|
+
Return a list of strings. The list will be empty if unable to
|
|
591
|
+
access the registry or appropriate registry keys not found.
|
|
592
|
+
"""
|
|
593
|
+
if not _can_read_reg:
|
|
594
|
+
return []
|
|
595
|
+
|
|
596
|
+
path = path + " dirs"
|
|
597
|
+
if self.__version >= 7:
|
|
598
|
+
key = (r"%s\%0.1f\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Directories"
|
|
599
|
+
% (self.__root, self.__version))
|
|
600
|
+
else:
|
|
601
|
+
key = (r"%s\6.0\Build System\Components\Platforms"
|
|
602
|
+
r"\Win32 (%s)\Directories" % (self.__root, platform))
|
|
603
|
+
|
|
604
|
+
for base in HKEYS:
|
|
605
|
+
d = read_values(base, key)
|
|
606
|
+
if d:
|
|
607
|
+
if self.__version >= 7:
|
|
608
|
+
return self.__macros.sub(d[path]).split(";")
|
|
609
|
+
else:
|
|
610
|
+
return d[path].split(";")
|
|
611
|
+
# MSVC 6 seems to create the registry entries we need only when
|
|
612
|
+
# the GUI is run.
|
|
613
|
+
if self.__version == 6:
|
|
614
|
+
for base in HKEYS:
|
|
615
|
+
if read_values(base, r"%s\6.0" % self.__root) is not None:
|
|
616
|
+
self.warn("It seems you have Visual Studio 6 installed, "
|
|
617
|
+
"but the expected registry settings are not present.\n"
|
|
618
|
+
"You must at least run the Visual Studio GUI once "
|
|
619
|
+
"so that these entries are created.")
|
|
620
|
+
break
|
|
621
|
+
return []
|
|
622
|
+
|
|
623
|
+
def set_path_env_var(self, name):
|
|
624
|
+
"""Set environment variable 'name' to an MSVC path type value.
|
|
625
|
+
|
|
626
|
+
This is equivalent to a SET command prior to execution of spawned
|
|
627
|
+
commands.
|
|
628
|
+
"""
|
|
629
|
+
|
|
630
|
+
if name == "lib":
|
|
631
|
+
p = self.get_msvc_paths("library")
|
|
632
|
+
else:
|
|
633
|
+
p = self.get_msvc_paths(name)
|
|
634
|
+
if p:
|
|
635
|
+
os.environ[name] = ';'.join(p)
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
if get_build_version() >= 8.0:
|
|
639
|
+
log.debug("Importing new compiler from distutils.msvc9compiler")
|
|
640
|
+
OldMSVCCompiler = MSVCCompiler
|
|
641
|
+
from distutils.msvc9compiler import MSVCCompiler
|
|
642
|
+
# get_build_architecture not really relevant now we support cross-compile
|
|
643
|
+
from distutils.msvc9compiler import MacroExpander
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import subprocess
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
def __optim_args_from_interpreter_flags():
|
|
6
|
+
"""Return a list of command-line arguments reproducing the current
|
|
7
|
+
optimization settings in sys.flags."""
|
|
8
|
+
args = []
|
|
9
|
+
value = sys.flags.optimize
|
|
10
|
+
if value > 0:
|
|
11
|
+
args.append("-" + "O" * value)
|
|
12
|
+
return args
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
_optim_args_from_interpreter_flags = getattr(
|
|
16
|
+
subprocess,
|
|
17
|
+
"_optim_args_from_interpreter_flags",
|
|
18
|
+
__optim_args_from_interpreter_flags,
|
|
19
|
+
)
|