quarchpy 2.1.14.dev4__py2.py3-none-any.whl → 2.1.14.dev5__py2.py3-none-any.whl
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.
- quarchpy/.idea/.name +1 -0
- quarchpy/.idea/workspace.xml +70 -11
- quarchpy/__pycache__/_version.cpython-311.pyc +0 -0
- quarchpy/__pycache__/run.cpython-311.pyc +0 -0
- quarchpy/_version.py +1 -1
- quarchpy/_version.py.bak +1 -0
- quarchpy/connection_specific/QPS/qis/qis.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/CInterface-1.7.04.jar +0 -0
- quarchpy/connection_specific/QPS/qps.jar +0 -0
- quarchpy/connection_specific/QPS/scriptCommands.txt +2 -2
- quarchpy/connection_specific/__pycache__/connection_QIS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/connection_QIS.py +6 -4
- quarchpy/connection_specific/connection_ReST.py +26 -16
- quarchpy/debug/__pycache__/module_debug.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/simple_terminal.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/upgrade_quarchpy.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/scanDevices.cpython-311.pyc +0 -0
- quarchpy/device/scanDevices.py +2 -4
- quarchpy/device/scanDevices.py.bak +657 -0
- quarchpy/qis/qisFuncs.py +25 -42
- quarchpy/qis/qisFuncs.py.bak +213 -0
- quarchpy/qps/__pycache__/qpsFuncs.cpython-311.pyc +0 -0
- quarchpy/qps/qpsFuncs.py +18 -22
- quarchpy/qps/qpsFuncs.py.bak +224 -0
- quarchpy/venv/.gitignore +2 -0
- quarchpy/venv/Include/Python-ast.h +535 -0
- quarchpy/venv/Include/Python.h +181 -0
- quarchpy/venv/Include/abstract.h +1396 -0
- quarchpy/venv/Include/asdl.h +45 -0
- quarchpy/venv/Include/ast.h +13 -0
- quarchpy/venv/Include/bitset.h +32 -0
- quarchpy/venv/Include/boolobject.h +36 -0
- quarchpy/venv/Include/bufferobject.h +33 -0
- quarchpy/venv/Include/bytearrayobject.h +57 -0
- quarchpy/venv/Include/bytes_methods.h +75 -0
- quarchpy/venv/Include/bytesobject.h +27 -0
- quarchpy/venv/Include/cStringIO.h +73 -0
- quarchpy/venv/Include/cellobject.h +28 -0
- quarchpy/venv/Include/ceval.h +154 -0
- quarchpy/venv/Include/classobject.h +83 -0
- quarchpy/venv/Include/cobject.h +89 -0
- quarchpy/venv/Include/code.h +116 -0
- quarchpy/venv/Include/codecs.h +212 -0
- quarchpy/venv/Include/compile.h +40 -0
- quarchpy/venv/Include/complexobject.h +66 -0
- quarchpy/venv/Include/datetime.h +239 -0
- quarchpy/venv/Include/descrobject.h +94 -0
- quarchpy/venv/Include/dictobject.h +160 -0
- quarchpy/venv/Include/dtoa.h +15 -0
- quarchpy/venv/Include/enumobject.h +17 -0
- quarchpy/venv/Include/errcode.h +37 -0
- quarchpy/venv/Include/eval.h +25 -0
- quarchpy/venv/Include/fileobject.h +97 -0
- quarchpy/venv/Include/floatobject.h +140 -0
- quarchpy/venv/Include/frameobject.h +89 -0
- quarchpy/venv/Include/funcobject.h +76 -0
- quarchpy/venv/Include/genobject.h +40 -0
- quarchpy/venv/Include/graminit.h +87 -0
- quarchpy/venv/Include/grammar.h +94 -0
- quarchpy/venv/Include/import.h +71 -0
- quarchpy/venv/Include/intobject.h +84 -0
- quarchpy/venv/Include/intrcheck.h +15 -0
- quarchpy/venv/Include/iterobject.h +23 -0
- quarchpy/venv/Include/listobject.h +68 -0
- quarchpy/venv/Include/longintrepr.h +103 -0
- quarchpy/venv/Include/longobject.h +135 -0
- quarchpy/venv/Include/marshal.h +25 -0
- quarchpy/venv/Include/memoryobject.h +74 -0
- quarchpy/venv/Include/metagrammar.h +18 -0
- quarchpy/venv/Include/methodobject.h +93 -0
- quarchpy/venv/Include/modsupport.h +134 -0
- quarchpy/venv/Include/moduleobject.h +24 -0
- quarchpy/venv/Include/node.h +41 -0
- quarchpy/venv/Include/object.h +1046 -0
- quarchpy/venv/Include/objimpl.h +369 -0
- quarchpy/venv/Include/opcode.h +171 -0
- quarchpy/venv/Include/osdefs.h +63 -0
- quarchpy/venv/Include/parsetok.h +64 -0
- quarchpy/venv/Include/patchlevel.h +43 -0
- quarchpy/venv/Include/pgen.h +18 -0
- quarchpy/venv/Include/pgenheaders.h +43 -0
- quarchpy/venv/Include/py_curses.h +177 -0
- quarchpy/venv/Include/pyarena.h +62 -0
- quarchpy/venv/Include/pycapsule.h +56 -0
- quarchpy/venv/Include/pyconfig.h +770 -0
- quarchpy/venv/Include/pyctype.h +31 -0
- quarchpy/venv/Include/pydebug.h +41 -0
- quarchpy/venv/Include/pyerrors.h +329 -0
- quarchpy/venv/Include/pyexpat.h +50 -0
- quarchpy/venv/Include/pyfpe.h +176 -0
- quarchpy/venv/Include/pygetopt.h +18 -0
- quarchpy/venv/Include/pymacconfig.h +102 -0
- quarchpy/venv/Include/pymactoolbox.h +232 -0
- quarchpy/venv/Include/pymath.h +214 -0
- quarchpy/venv/Include/pymem.h +122 -0
- quarchpy/venv/Include/pyport.h +950 -0
- quarchpy/venv/Include/pystate.h +200 -0
- quarchpy/venv/Include/pystrcmp.h +23 -0
- quarchpy/venv/Include/pystrtod.h +45 -0
- quarchpy/venv/Include/pythonrun.h +181 -0
- quarchpy/venv/Include/pythread.h +41 -0
- quarchpy/venv/Include/rangeobject.h +28 -0
- quarchpy/venv/Include/setobject.h +99 -0
- quarchpy/venv/Include/sliceobject.h +50 -0
- quarchpy/venv/Include/stringobject.h +210 -0
- quarchpy/venv/Include/structmember.h +99 -0
- quarchpy/venv/Include/structseq.h +41 -0
- quarchpy/venv/Include/symtable.h +98 -0
- quarchpy/venv/Include/sysmodule.h +31 -0
- quarchpy/venv/Include/timefuncs.h +26 -0
- quarchpy/venv/Include/token.h +85 -0
- quarchpy/venv/Include/traceback.h +31 -0
- quarchpy/venv/Include/tupleobject.h +61 -0
- quarchpy/venv/Include/ucnhash.h +33 -0
- quarchpy/venv/Include/unicodeobject.h +1413 -0
- quarchpy/venv/Include/warnings.h +23 -0
- quarchpy/venv/Include/weakrefobject.h +82 -0
- quarchpy/venv/Lib/os.py +742 -0
- quarchpy/venv/Lib/os.pyc +0 -0
- quarchpy/venv/Lib/site-packages/_virtualenv.pth +1 -0
- quarchpy/venv/Lib/site-packages/_virtualenv.py +130 -0
- quarchpy/venv/Lib/site-packages/_virtualenv.pyc +0 -0
- quarchpy/venv/Lib/site-packages/easy_install.py +5 -0
- quarchpy/venv/Lib/site-packages/pip/__init__.py +18 -0
- quarchpy/venv/Lib/site-packages/pip/__main__.py +26 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/__init__.py +17 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/build_env.py +242 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cache.py +346 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/__init__.py +4 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/autocompletion.py +164 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/base_command.py +260 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/cmdoptions.py +971 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/command_context.py +36 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/main.py +75 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/main_parser.py +96 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/parser.py +285 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/progress_bars.py +280 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/req_command.py +436 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/spinners.py +173 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/status_codes.py +8 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/__init__.py +123 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/cache.py +234 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/check.py +51 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/completion.py +98 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/configuration.py +280 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/debug.py +230 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/download.py +143 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/freeze.py +116 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/hash.py +63 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/help.py +46 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/install.py +737 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/list.py +327 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/search.py +169 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/show.py +186 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/uninstall.py +95 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/wheel.py +198 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/configuration.py +407 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/distributions/__init__.py +24 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/distributions/base.py +46 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/distributions/installed.py +25 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/distributions/sdist.py +105 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/distributions/wheel.py +37 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/exceptions.py +391 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/index/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/index/collector.py +667 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/index/package_finder.py +1015 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/locations.py +193 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/main.py +16 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/candidate.py +39 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/direct_url.py +243 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/format_control.py +92 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/index.py +34 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/link.py +246 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/scheme.py +31 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/search_scope.py +135 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/selection_prefs.py +50 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/target_python.py +117 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/wheel.py +78 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/auth.py +310 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/cache.py +79 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/download.py +202 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/lazy_wheel.py +231 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/session.py +428 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/utils.py +97 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/xmlrpc.py +53 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/build/metadata.py +38 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/build/metadata_legacy.py +77 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/build/wheel.py +47 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/build/wheel_legacy.py +113 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/check.py +155 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/freeze.py +277 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/install/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/install/editable_legacy.py +52 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/install/legacy.py +130 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/install/wheel.py +846 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/prepare.py +608 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/pyproject.py +196 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/__init__.py +103 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/constructors.py +476 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/req_file.py +574 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/req_install.py +907 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/req_set.py +204 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/req_tracker.py +151 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/req_uninstall.py +657 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/base.py +21 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +473 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +156 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +604 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +504 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +101 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +174 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py +84 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py +201 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +296 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/self_outdated_check.py +197 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/appdirs.py +44 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/compat.py +293 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/compatibility_tags.py +178 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/datetime.py +14 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/deprecation.py +104 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py +126 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/distutils_args.py +48 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/encoding.py +41 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/entrypoints.py +31 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/filesystem.py +224 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/filetypes.py +26 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/glibc.py +98 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/hashes.py +169 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/inject_securetransport.py +36 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/logging.py +399 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/misc.py +962 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/models.py +44 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/packaging.py +95 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/parallel.py +107 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/pkg_resources.py +44 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/setuptools_build.py +181 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/subprocess.py +299 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/temp_dir.py +284 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/typing.py +38 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/unpacking.py +281 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/urls.py +55 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/virtualenv.py +119 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/wheel.py +225 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/__init__.py +15 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/bazaar.py +123 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/git.py +454 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/mercurial.py +172 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/subversion.py +340 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +735 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/wheel_builder.py +362 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/__init__.py +114 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/appdirs.py +633 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py +11 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/_cmd.py +57 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py +133 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/cache.py +39 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +146 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +33 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/compat.py +29 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/controller.py +376 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py +80 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py +135 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py +188 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py +29 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/certifi/__init__.py +3 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/certifi/cacert.pem +4606 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/certifi/core.py +60 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/__init__.py +39 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/big5freq.py +386 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/big5prober.py +47 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/chardistribution.py +233 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/charsetgroupprober.py +106 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/charsetprober.py +145 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/cli/__init__.py +1 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/cli/chardetect.py +85 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/codingstatemachine.py +88 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/compat.py +34 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/cp949prober.py +49 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/enums.py +76 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/escprober.py +101 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/escsm.py +246 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/eucjpprober.py +92 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/euckrfreq.py +195 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/euckrprober.py +47 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/euctwfreq.py +387 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/euctwprober.py +46 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/gb2312freq.py +283 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/gb2312prober.py +46 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/hebrewprober.py +292 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/jisfreq.py +325 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/jpcntx.py +233 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +228 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langcyrillicmodel.py +333 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langgreekmodel.py +225 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langhebrewmodel.py +200 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langhungarianmodel.py +225 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langthaimodel.py +199 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py +193 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/latin1prober.py +145 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/mbcharsetprober.py +91 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +54 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/mbcssm.py +572 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/sbcharsetprober.py +132 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +73 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/sjisprober.py +92 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/universaldetector.py +286 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/utf8prober.py +82 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/version.py +9 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/__init__.py +6 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/ansi.py +102 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/ansitowin32.py +258 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/initialise.py +80 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/win32.py +152 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/winterm.py +169 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/contextlib2.py +518 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/__init__.py +23 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/__init__.py +6 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/misc.py +41 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/shutil.py +764 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/sysconfig.cfg +84 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/sysconfig.py +786 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile.py +2607 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/compat.py +1120 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/database.py +1339 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/index.py +516 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/locators.py +1302 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/manifest.py +393 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/markers.py +131 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/metadata.py +1056 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/resources.py +355 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/scripts.py +419 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/t32.exe +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/t64.exe +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/util.py +1761 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/version.py +736 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/w32.exe +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/w64.exe +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/wheel.py +1018 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distro.py +1230 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/__init__.py +35 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_ihatexml.py +289 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_inputstream.py +918 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_tokenizer.py +1735 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_trie/__init__.py +5 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_trie/_base.py +40 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_trie/py.py +67 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_utils.py +159 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/constants.py +2946 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +29 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/base.py +12 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +73 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +207 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +916 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/html5parser.py +2795 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/serializer.py +409 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +30 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +54 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +50 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +88 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treebuilders/base.py +417 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +239 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +343 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +392 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +154 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/base.py +252 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +43 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +131 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +215 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +69 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/codec.py +118 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/compat.py +12 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/core.py +400 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/idnadata.py +2050 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/intranges.py +53 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/package_data.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/uts46data.py +8357 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/ipaddress.py +2420 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/msgpack/__init__.py +54 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/msgpack/_version.py +1 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/msgpack/ext.py +191 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/msgpack/fallback.py +1063 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/__about__.py +27 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/__init__.py +26 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/_compat.py +38 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/_structures.py +86 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/_typing.py +48 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/markers.py +328 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/requirements.py +151 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/specifiers.py +864 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/tags.py +852 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/utils.py +67 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/version.py +556 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/__init__.py +6 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/_in_process.py +280 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/build.py +124 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/check.py +203 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/colorlog.py +115 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/compat.py +34 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/dirtools.py +44 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/envbuild.py +167 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/meta.py +92 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/wrappers.py +327 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py +3296 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pkg_resources/py31compat.py +23 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/progress/__init__.py +177 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/progress/bar.py +91 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/progress/counter.py +41 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/progress/spinner.py +43 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pyparsing.py +7107 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/__init__.py +144 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/__version__.py +14 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +42 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/adapters.py +533 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/api.py +161 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/auth.py +305 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/certs.py +18 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/compat.py +76 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/cookies.py +549 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/exceptions.py +123 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/help.py +119 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/hooks.py +34 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/models.py +956 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/packages.py +16 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/sessions.py +781 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/status_codes.py +123 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/structures.py +105 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/utils.py +988 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/providers.py +119 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +37 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers.py +454 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/structs.py +149 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/retrying.py +267 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/six.py +982 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/toml/__init__.py +25 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/toml/decoder.py +1057 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/toml/encoder.py +304 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/toml/ordered.py +15 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/toml/tz.py +24 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/__init__.py +85 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/_collections.py +337 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/connection.py +535 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +1067 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +396 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +121 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +509 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +920 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +313 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/__init__.py +5 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/six.py +1021 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py +22 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py +160 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +536 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/request.py +170 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/response.py +821 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/connection.py +150 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/proxy.py +56 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/request.py +143 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +601 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +474 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py +268 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/url.py +430 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +153 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/vendor.txt +24 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/webencodings/__init__.py +342 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/webencodings/labels.py +231 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/webencodings/mklabels.py +59 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/webencodings/tests.py +153 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/webencodings/x_user_defined.py +325 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/INSTALLER +1 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/LICENSE.txt +20 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/METADATA +94 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/RECORD +812 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/WHEEL +6 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/entry_points.txt +5 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/top_level.txt +1 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.virtualenv +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/__init__.py +3296 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/__init__.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/__init__.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/appdirs.py +608 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/appdirs.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/__about__.py +21 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/__about__.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/__init__.py +14 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/__init__.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/_compat.py +30 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/_compat.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/_structures.py +68 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/_structures.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/markers.py +301 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/markers.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/requirements.py +127 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/requirements.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/specifiers.py +774 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/specifiers.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/utils.py +14 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/version.py +393 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/version.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py +5742 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/six.py +868 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/six.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/extern/__init__.py +73 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/extern/__init__.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/py31compat.py +23 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/py31compat.pyc +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/__init__.py +245 -0
- quarchpy/venv/Lib/site-packages/setuptools/_deprecation_warning.py +7 -0
- quarchpy/venv/Lib/site-packages/setuptools/_imp.py +73 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/ordered_set.py +488 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/__about__.py +27 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/__init__.py +26 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/_compat.py +31 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/_structures.py +68 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/markers.py +296 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/requirements.py +138 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/specifiers.py +749 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/tags.py +404 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/utils.py +57 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/version.py +420 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/pyparsing.py +5742 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/six.py +868 -0
- quarchpy/venv/Lib/site-packages/setuptools/archive_util.py +173 -0
- quarchpy/venv/Lib/site-packages/setuptools/build_meta.py +264 -0
- quarchpy/venv/Lib/site-packages/setuptools/cli-32.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/cli-64.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/cli.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/__init__.py +17 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/alias.py +80 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/bdist_egg.py +502 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/bdist_rpm.py +43 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/bdist_wininst.py +21 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/build_clib.py +98 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/build_ext.py +327 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/build_py.py +270 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/develop.py +221 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/dist_info.py +36 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/easy_install.py +2347 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/egg_info.py +717 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/install.py +125 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/install_egg_info.py +62 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/install_lib.py +121 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/install_scripts.py +65 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/launcher manifest.xml +15 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/py36compat.py +136 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/register.py +18 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/rotate.py +66 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/saveopts.py +22 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/sdist.py +252 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/setopt.py +149 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/test.py +279 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/upload.py +17 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/upload_docs.py +206 -0
- quarchpy/venv/Lib/site-packages/setuptools/config.py +659 -0
- quarchpy/venv/Lib/site-packages/setuptools/dep_util.py +23 -0
- quarchpy/venv/Lib/site-packages/setuptools/depends.py +176 -0
- quarchpy/venv/Lib/site-packages/setuptools/dist.py +1274 -0
- quarchpy/venv/Lib/site-packages/setuptools/errors.py +16 -0
- quarchpy/venv/Lib/site-packages/setuptools/extension.py +57 -0
- quarchpy/venv/Lib/site-packages/setuptools/extern/__init__.py +73 -0
- quarchpy/venv/Lib/site-packages/setuptools/glob.py +174 -0
- quarchpy/venv/Lib/site-packages/setuptools/gui-32.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/gui-64.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/gui.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/installer.py +150 -0
- quarchpy/venv/Lib/site-packages/setuptools/launch.py +35 -0
- quarchpy/venv/Lib/site-packages/setuptools/lib2to3_ex.py +62 -0
- quarchpy/venv/Lib/site-packages/setuptools/monkey.py +179 -0
- quarchpy/venv/Lib/site-packages/setuptools/msvc.py +1679 -0
- quarchpy/venv/Lib/site-packages/setuptools/namespaces.py +107 -0
- quarchpy/venv/Lib/site-packages/setuptools/package_index.py +1136 -0
- quarchpy/venv/Lib/site-packages/setuptools/py27compat.py +60 -0
- quarchpy/venv/Lib/site-packages/setuptools/py31compat.py +32 -0
- quarchpy/venv/Lib/site-packages/setuptools/py33compat.py +59 -0
- quarchpy/venv/Lib/site-packages/setuptools/py34compat.py +13 -0
- quarchpy/venv/Lib/site-packages/setuptools/sandbox.py +491 -0
- quarchpy/venv/Lib/site-packages/setuptools/script (dev).tmpl +6 -0
- quarchpy/venv/Lib/site-packages/setuptools/script.tmpl +3 -0
- quarchpy/venv/Lib/site-packages/setuptools/site-patch.py +74 -0
- quarchpy/venv/Lib/site-packages/setuptools/ssl_support.py +260 -0
- quarchpy/venv/Lib/site-packages/setuptools/unicode_utils.py +44 -0
- quarchpy/venv/Lib/site-packages/setuptools/version.py +6 -0
- quarchpy/venv/Lib/site-packages/setuptools/wheel.py +220 -0
- quarchpy/venv/Lib/site-packages/setuptools/windows_support.py +29 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/INSTALLER +1 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/LICENSE +19 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/METADATA +86 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/RECORD +207 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/WHEEL +6 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/dependency_links.txt +2 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/entry_points.txt +69 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/top_level.txt +3 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/zip-safe +1 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.virtualenv +0 -0
- quarchpy/venv/Lib/site-packages/wheel/__init__.py +1 -0
- quarchpy/venv/Lib/site-packages/wheel/__main__.py +19 -0
- quarchpy/venv/Lib/site-packages/wheel/bdist_wheel.py +492 -0
- quarchpy/venv/Lib/site-packages/wheel/cli/__init__.py +88 -0
- quarchpy/venv/Lib/site-packages/wheel/cli/convert.py +269 -0
- quarchpy/venv/Lib/site-packages/wheel/cli/pack.py +82 -0
- quarchpy/venv/Lib/site-packages/wheel/cli/unpack.py +25 -0
- quarchpy/venv/Lib/site-packages/wheel/macosx_libfile.py +428 -0
- quarchpy/venv/Lib/site-packages/wheel/metadata.py +133 -0
- quarchpy/venv/Lib/site-packages/wheel/pkginfo.py +43 -0
- quarchpy/venv/Lib/site-packages/wheel/util.py +46 -0
- quarchpy/venv/Lib/site-packages/wheel/vendored/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/wheel/vendored/packaging/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/wheel/vendored/packaging/_typing.py +48 -0
- quarchpy/venv/Lib/site-packages/wheel/vendored/packaging/tags.py +866 -0
- quarchpy/venv/Lib/site-packages/wheel/wheelfile.py +181 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/INSTALLER +1 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/LICENSE.txt +22 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/METADATA +69 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/RECORD +49 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/WHEEL +6 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/entry_points.txt +6 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/top_level.txt +1 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.virtualenv +0 -0
- quarchpy/venv/Lib/site.py +190 -0
- quarchpy/venv/Lib/site.pyc +0 -0
- quarchpy/venv/Scripts/activate +83 -0
- quarchpy/venv/Scripts/activate.bat +39 -0
- quarchpy/venv/Scripts/activate.fish +100 -0
- quarchpy/venv/Scripts/activate.nu +41 -0
- quarchpy/venv/Scripts/activate.ps1 +60 -0
- quarchpy/venv/Scripts/activate_this.py +32 -0
- quarchpy/venv/Scripts/deactivate.bat +19 -0
- quarchpy/venv/Scripts/deactivate.nu +11 -0
- quarchpy/venv/Scripts/easy_install-2.7.exe +0 -0
- quarchpy/venv/Scripts/easy_install.exe +0 -0
- quarchpy/venv/Scripts/easy_install2.7.exe +0 -0
- quarchpy/venv/Scripts/easy_install2.exe +0 -0
- quarchpy/venv/Scripts/pip-2.7.exe +0 -0
- quarchpy/venv/Scripts/pip.exe +0 -0
- quarchpy/venv/Scripts/pip2.7.exe +0 -0
- quarchpy/venv/Scripts/pip2.exe +0 -0
- quarchpy/venv/Scripts/pydoc.bat +1 -0
- quarchpy/venv/Scripts/python.exe +0 -0
- quarchpy/venv/Scripts/python27.dll +0 -0
- quarchpy/venv/Scripts/pythonw.exe +0 -0
- quarchpy/venv/Scripts/wheel-2.7.exe +0 -0
- quarchpy/venv/Scripts/wheel.exe +0 -0
- quarchpy/venv/Scripts/wheel2.7.exe +0 -0
- quarchpy/venv/Scripts/wheel2.exe +0 -0
- quarchpy/venv/libs/_bsddb.lib +0 -0
- quarchpy/venv/libs/_ctypes.lib +0 -0
- quarchpy/venv/libs/_ctypes_test.lib +0 -0
- quarchpy/venv/libs/_elementtree.lib +0 -0
- quarchpy/venv/libs/_hashlib.lib +0 -0
- quarchpy/venv/libs/_msi.lib +0 -0
- quarchpy/venv/libs/_multiprocessing.lib +0 -0
- quarchpy/venv/libs/_socket.lib +0 -0
- quarchpy/venv/libs/_sqlite3.lib +0 -0
- quarchpy/venv/libs/_ssl.lib +0 -0
- quarchpy/venv/libs/_testcapi.lib +0 -0
- quarchpy/venv/libs/_tkinter.lib +0 -0
- quarchpy/venv/libs/bz2.lib +0 -0
- quarchpy/venv/libs/libpython27.a +0 -0
- quarchpy/venv/libs/pyexpat.lib +0 -0
- quarchpy/venv/libs/python27.lib +0 -0
- quarchpy/venv/libs/select.lib +0 -0
- quarchpy/venv/libs/unicodedata.lib +0 -0
- quarchpy/venv/libs/winsound.lib +0 -0
- quarchpy/venv/pyvenv.cfg +8 -0
- {quarchpy-2.1.14.dev4.dist-info → quarchpy-2.1.14.dev5.dist-info}/METADATA +1 -1
- quarchpy-2.1.14.dev5.dist-info/RECORD +1219 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/CInterface-1.7.02.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/CInterface-1.7.8.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Collections-1.2.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Desktop-1.0.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Executor-3.11.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/JNA-1.0.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/OS-1.6.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/QuarchCommon-0.2.9.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/SystemTray-4.2.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Updates-1.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Utilities-1.39.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/commons-csv-1.8.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/javassist-3.29.2-GA.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/jna-jpms-5.12.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/jna-platform-jpms-5.12.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/kotlin-stdlib-1.7.22.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/slf4j-api-2.0.9.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/slf4j-simple-2.0.9.jar +0 -0
- quarchpy/connection_specific/QPS/qis/resources/filters/filters.csv +0 -1004
- quarchpy/connection_specific/QPS/qps_lib/QuarchCommon-0.2.9.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/commons-lang3-3.12.0.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/opencsv-5.9.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/qis-1.39.4.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/qis-1.39.5.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/qis-1.39.6.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/qis-1.39.7.jar +0 -0
- quarchpy-2.1.14.dev4.dist-info/RECORD +0 -561
- {quarchpy-2.1.14.dev4.dist-info → quarchpy-2.1.14.dev5.dist-info}/WHEEL +0 -0
- {quarchpy-2.1.14.dev4.dist-info → quarchpy-2.1.14.dev5.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,181 @@
|
|
1
|
+
from __future__ import print_function
|
2
|
+
|
3
|
+
import csv
|
4
|
+
import hashlib
|
5
|
+
import os.path
|
6
|
+
import re
|
7
|
+
import stat
|
8
|
+
import sys
|
9
|
+
import time
|
10
|
+
from collections import OrderedDict
|
11
|
+
from distutils import log as logger
|
12
|
+
from zipfile import ZIP_DEFLATED, ZipInfo, ZipFile
|
13
|
+
|
14
|
+
from wheel.cli import WheelError
|
15
|
+
from wheel.util import urlsafe_b64decode, as_unicode, native, urlsafe_b64encode, as_bytes, StringIO
|
16
|
+
|
17
|
+
if sys.version_info >= (3,):
|
18
|
+
from io import TextIOWrapper
|
19
|
+
|
20
|
+
def read_csv(fp):
|
21
|
+
return csv.reader(TextIOWrapper(fp, newline='', encoding='utf-8'))
|
22
|
+
else:
|
23
|
+
def read_csv(fp):
|
24
|
+
for line in csv.reader(fp):
|
25
|
+
yield [column.decode('utf-8') for column in line]
|
26
|
+
|
27
|
+
# Non-greedy matching of an optional build number may be too clever (more
|
28
|
+
# invalid wheel filenames will match). Separate regex for .dist-info?
|
29
|
+
WHEEL_INFO_RE = re.compile(
|
30
|
+
r"""^(?P<namever>(?P<name>.+?)-(?P<ver>.+?))(-(?P<build>\d[^-]*))?
|
31
|
+
-(?P<pyver>.+?)-(?P<abi>.+?)-(?P<plat>.+?)\.whl$""",
|
32
|
+
re.VERBOSE)
|
33
|
+
|
34
|
+
|
35
|
+
def get_zipinfo_datetime(timestamp=None):
|
36
|
+
# Some applications need reproducible .whl files, but they can't do this without forcing
|
37
|
+
# the timestamp of the individual ZipInfo objects. See issue #143.
|
38
|
+
timestamp = int(os.environ.get('SOURCE_DATE_EPOCH', timestamp or time.time()))
|
39
|
+
return time.gmtime(timestamp)[0:6]
|
40
|
+
|
41
|
+
|
42
|
+
class WheelFile(ZipFile):
|
43
|
+
"""A ZipFile derivative class that also reads SHA-256 hashes from
|
44
|
+
.dist-info/RECORD and checks any read files against those.
|
45
|
+
"""
|
46
|
+
|
47
|
+
_default_algorithm = hashlib.sha256
|
48
|
+
|
49
|
+
def __init__(self, file, mode='r', compression=ZIP_DEFLATED):
|
50
|
+
basename = os.path.basename(file)
|
51
|
+
self.parsed_filename = WHEEL_INFO_RE.match(basename)
|
52
|
+
if not basename.endswith('.whl') or self.parsed_filename is None:
|
53
|
+
raise WheelError("Bad wheel filename {!r}".format(basename))
|
54
|
+
|
55
|
+
ZipFile.__init__(self, file, mode, compression=compression, allowZip64=True)
|
56
|
+
|
57
|
+
self.dist_info_path = '{}.dist-info'.format(self.parsed_filename.group('namever'))
|
58
|
+
self.record_path = self.dist_info_path + '/RECORD'
|
59
|
+
self._file_hashes = OrderedDict()
|
60
|
+
self._file_sizes = {}
|
61
|
+
if mode == 'r':
|
62
|
+
# Ignore RECORD and any embedded wheel signatures
|
63
|
+
self._file_hashes[self.record_path] = None, None
|
64
|
+
self._file_hashes[self.record_path + '.jws'] = None, None
|
65
|
+
self._file_hashes[self.record_path + '.p7s'] = None, None
|
66
|
+
|
67
|
+
# Fill in the expected hashes by reading them from RECORD
|
68
|
+
try:
|
69
|
+
record = self.open(self.record_path)
|
70
|
+
except KeyError:
|
71
|
+
raise WheelError('Missing {} file'.format(self.record_path))
|
72
|
+
|
73
|
+
with record:
|
74
|
+
for line in read_csv(record):
|
75
|
+
path, hash_sum, size = line
|
76
|
+
if not hash_sum:
|
77
|
+
continue
|
78
|
+
|
79
|
+
algorithm, hash_sum = hash_sum.split(u'=')
|
80
|
+
try:
|
81
|
+
hashlib.new(algorithm)
|
82
|
+
except ValueError:
|
83
|
+
raise WheelError('Unsupported hash algorithm: {}'.format(algorithm))
|
84
|
+
|
85
|
+
if algorithm.lower() in {'md5', 'sha1'}:
|
86
|
+
raise WheelError(
|
87
|
+
'Weak hash algorithm ({}) is not permitted by PEP 427'
|
88
|
+
.format(algorithm))
|
89
|
+
|
90
|
+
self._file_hashes[path] = (
|
91
|
+
algorithm, urlsafe_b64decode(hash_sum.encode('ascii')))
|
92
|
+
|
93
|
+
def open(self, name_or_info, mode="r", pwd=None):
|
94
|
+
def _update_crc(newdata, eof=None):
|
95
|
+
if eof is None:
|
96
|
+
eof = ef._eof
|
97
|
+
update_crc_orig(newdata)
|
98
|
+
else: # Python 2
|
99
|
+
update_crc_orig(newdata, eof)
|
100
|
+
|
101
|
+
running_hash.update(newdata)
|
102
|
+
if eof and running_hash.digest() != expected_hash:
|
103
|
+
raise WheelError("Hash mismatch for file '{}'".format(native(ef_name)))
|
104
|
+
|
105
|
+
ef_name = as_unicode(name_or_info.filename if isinstance(name_or_info, ZipInfo)
|
106
|
+
else name_or_info)
|
107
|
+
if mode == 'r' and not ef_name.endswith('/') and ef_name not in self._file_hashes:
|
108
|
+
raise WheelError("No hash found for file '{}'".format(native(ef_name)))
|
109
|
+
|
110
|
+
ef = ZipFile.open(self, name_or_info, mode, pwd)
|
111
|
+
if mode == 'r' and not ef_name.endswith('/'):
|
112
|
+
algorithm, expected_hash = self._file_hashes[ef_name]
|
113
|
+
if expected_hash is not None:
|
114
|
+
# Monkey patch the _update_crc method to also check for the hash from RECORD
|
115
|
+
running_hash = hashlib.new(algorithm)
|
116
|
+
update_crc_orig, ef._update_crc = ef._update_crc, _update_crc
|
117
|
+
|
118
|
+
return ef
|
119
|
+
|
120
|
+
def write_files(self, base_dir):
|
121
|
+
logger.info("creating '%s' and adding '%s' to it", self.filename, base_dir)
|
122
|
+
deferred = []
|
123
|
+
for root, dirnames, filenames in os.walk(base_dir):
|
124
|
+
# Sort the directory names so that `os.walk` will walk them in a
|
125
|
+
# defined order on the next iteration.
|
126
|
+
dirnames.sort()
|
127
|
+
for name in sorted(filenames):
|
128
|
+
path = os.path.normpath(os.path.join(root, name))
|
129
|
+
if os.path.isfile(path):
|
130
|
+
arcname = os.path.relpath(path, base_dir).replace(os.path.sep, '/')
|
131
|
+
if arcname == self.record_path:
|
132
|
+
pass
|
133
|
+
elif root.endswith('.dist-info'):
|
134
|
+
deferred.append((path, arcname))
|
135
|
+
else:
|
136
|
+
self.write(path, arcname)
|
137
|
+
|
138
|
+
deferred.sort()
|
139
|
+
for path, arcname in deferred:
|
140
|
+
self.write(path, arcname)
|
141
|
+
|
142
|
+
def write(self, filename, arcname=None, compress_type=None):
|
143
|
+
with open(filename, 'rb') as f:
|
144
|
+
st = os.fstat(f.fileno())
|
145
|
+
data = f.read()
|
146
|
+
|
147
|
+
zinfo = ZipInfo(arcname or filename, date_time=get_zipinfo_datetime(st.st_mtime))
|
148
|
+
zinfo.external_attr = (stat.S_IMODE(st.st_mode) | stat.S_IFMT(st.st_mode)) << 16
|
149
|
+
zinfo.compress_type = compress_type or self.compression
|
150
|
+
self.writestr(zinfo, data, compress_type)
|
151
|
+
|
152
|
+
def writestr(self, zinfo_or_arcname, bytes, compress_type=None):
|
153
|
+
ZipFile.writestr(self, zinfo_or_arcname, bytes, compress_type)
|
154
|
+
fname = (zinfo_or_arcname.filename if isinstance(zinfo_or_arcname, ZipInfo)
|
155
|
+
else zinfo_or_arcname)
|
156
|
+
logger.info("adding '%s'", fname)
|
157
|
+
if fname != self.record_path:
|
158
|
+
hash_ = self._default_algorithm(bytes)
|
159
|
+
self._file_hashes[fname] = hash_.name, native(urlsafe_b64encode(hash_.digest()))
|
160
|
+
self._file_sizes[fname] = len(bytes)
|
161
|
+
|
162
|
+
def close(self):
|
163
|
+
# Write RECORD
|
164
|
+
if self.fp is not None and self.mode == 'w' and self._file_hashes:
|
165
|
+
data = StringIO()
|
166
|
+
writer = csv.writer(data, delimiter=',', quotechar='"', lineterminator='\n')
|
167
|
+
writer.writerows((
|
168
|
+
(
|
169
|
+
fname,
|
170
|
+
algorithm + "=" + hash_,
|
171
|
+
self._file_sizes[fname]
|
172
|
+
)
|
173
|
+
for fname, (algorithm, hash_) in self._file_hashes.items()
|
174
|
+
))
|
175
|
+
writer.writerow((format(self.record_path), "", ""))
|
176
|
+
zinfo = ZipInfo(native(self.record_path), date_time=get_zipinfo_datetime())
|
177
|
+
zinfo.compress_type = self.compression
|
178
|
+
zinfo.external_attr = 0o664 << 16
|
179
|
+
self.writestr(zinfo, as_bytes(data.getvalue()))
|
180
|
+
|
181
|
+
ZipFile.close(self)
|
@@ -0,0 +1 @@
|
|
1
|
+
pip
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"wheel" copyright (c) 2012-2014 Daniel Holth <dholth@fastmail.fm> and
|
2
|
+
contributors.
|
3
|
+
|
4
|
+
The MIT License
|
5
|
+
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
7
|
+
copy of this software and associated documentation files (the "Software"),
|
8
|
+
to deal in the Software without restriction, including without limitation
|
9
|
+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
10
|
+
and/or sell copies of the Software, and to permit persons to whom the
|
11
|
+
Software is furnished to do so, subject to the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be included
|
14
|
+
in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
19
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
20
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
21
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,69 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: wheel
|
3
|
+
Version: 0.37.1
|
4
|
+
Summary: A built-package format for Python
|
5
|
+
Home-page: https://github.com/pypa/wheel
|
6
|
+
Author: Daniel Holth
|
7
|
+
Author-email: dholth@fastmail.fm
|
8
|
+
Maintainer: Alex Grönholm
|
9
|
+
Maintainer-email: alex.gronholm@nextday.fi
|
10
|
+
License: MIT
|
11
|
+
Project-URL: Documentation, https://wheel.readthedocs.io/
|
12
|
+
Project-URL: Changelog, https://wheel.readthedocs.io/en/stable/news.html
|
13
|
+
Project-URL: Issue Tracker, https://github.com/pypa/wheel/issues
|
14
|
+
Keywords: wheel,packaging
|
15
|
+
Platform: UNKNOWN
|
16
|
+
Classifier: Development Status :: 5 - Production/Stable
|
17
|
+
Classifier: Intended Audience :: Developers
|
18
|
+
Classifier: Topic :: System :: Archiving :: Packaging
|
19
|
+
Classifier: License :: OSI Approved :: MIT License
|
20
|
+
Classifier: Programming Language :: Python
|
21
|
+
Classifier: Programming Language :: Python :: 2
|
22
|
+
Classifier: Programming Language :: Python :: 2.7
|
23
|
+
Classifier: Programming Language :: Python :: 3
|
24
|
+
Classifier: Programming Language :: Python :: 3.5
|
25
|
+
Classifier: Programming Language :: Python :: 3.6
|
26
|
+
Classifier: Programming Language :: Python :: 3.7
|
27
|
+
Classifier: Programming Language :: Python :: 3.8
|
28
|
+
Classifier: Programming Language :: Python :: 3.9
|
29
|
+
Classifier: Programming Language :: Python :: 3.10
|
30
|
+
Requires-Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7
|
31
|
+
Provides-Extra: test
|
32
|
+
Requires-Dist: pytest (>=3.0.0) ; extra == 'test'
|
33
|
+
Requires-Dist: pytest-cov ; extra == 'test'
|
34
|
+
|
35
|
+
wheel
|
36
|
+
=====
|
37
|
+
|
38
|
+
This library is the reference implementation of the Python wheel packaging
|
39
|
+
standard, as defined in `PEP 427`_.
|
40
|
+
|
41
|
+
It has two different roles:
|
42
|
+
|
43
|
+
#. A setuptools_ extension for building wheels that provides the
|
44
|
+
``bdist_wheel`` setuptools command
|
45
|
+
#. A command line tool for working with wheel files
|
46
|
+
|
47
|
+
It should be noted that wheel is **not** intended to be used as a library, and
|
48
|
+
as such there is no stable, public API.
|
49
|
+
|
50
|
+
.. _PEP 427: https://www.python.org/dev/peps/pep-0427/
|
51
|
+
.. _setuptools: https://pypi.org/project/setuptools/
|
52
|
+
|
53
|
+
Documentation
|
54
|
+
-------------
|
55
|
+
|
56
|
+
The documentation_ can be found on Read The Docs.
|
57
|
+
|
58
|
+
.. _documentation: https://wheel.readthedocs.io/
|
59
|
+
|
60
|
+
Code of Conduct
|
61
|
+
---------------
|
62
|
+
|
63
|
+
Everyone interacting in the wheel project's codebases, issue trackers, chat
|
64
|
+
rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.
|
65
|
+
|
66
|
+
.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
|
67
|
+
|
68
|
+
|
69
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
wheel/__init__.py,sha256=yLOqsEZUPaM3VNKOMxQraLgCCyF8q3k10KY4C1Hi_Lo,23
|
2
|
+
wheel/__main__.py,sha256=lF-YLO4hdQmoWuh4eWZd8YL1U95RSdm76sNLBXa0vjE,417
|
3
|
+
wheel/bdist_wheel.py,sha256=2vfv3g_b8BvZ5Do9bpLEBdu9dQEcvoMQ1flXpKYFJDU,19075
|
4
|
+
wheel/macosx_libfile.py,sha256=Xvp-IrFyRJ9RThIrPxfEpVCDGfljJPWRTZiyopk70hI,15930
|
5
|
+
wheel/metadata.py,sha256=b3kPhZn2w2D9wengltX5nGIZQ3ERUOQ5U-K5vHKPdeg,4344
|
6
|
+
wheel/pkginfo.py,sha256=GR76kupQzn1x9sKDaXuE6B6FsZ4OkfRtG7pndlXPvQ4,1257
|
7
|
+
wheel/util.py,sha256=mnNZkJCi9DHLI_q4lTudoD0mW97h_AoAWl7prNPLXJc,938
|
8
|
+
wheel/wheelfile.py,sha256=NyH8VcFLvu7jUwH6r4KoL_U45OKFVpUyJ5Z7gRAI_Lc,7574
|
9
|
+
wheel/cli/__init__.py,sha256=GWSoGUpRabTf8bk3FsNTPrc5Fsr8YOv2dX55iY2W7eY,2572
|
10
|
+
wheel/cli/convert.py,sha256=7F4vj23A2OghDDWn9gX2V-_TeXMza1a5nIejmFGEUJM,9498
|
11
|
+
wheel/cli/pack.py,sha256=Bfq6KrHicZKrpbktkreeRxIaWwBozUP99JQy2D8-ddY,3364
|
12
|
+
wheel/cli/unpack.py,sha256=0VWzT7U_xyenTPwEVavxqvdee93GPvAFHnR3Uu91aRc,673
|
13
|
+
wheel/vendored/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
|
+
wheel/vendored/packaging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
|
+
wheel/vendored/packaging/_typing.py,sha256=x59EhQ57TMT-kTRyLZV25HZvYGGwbucTo6iKh_O0tMw,1812
|
16
|
+
wheel/vendored/packaging/tags.py,sha256=noDvA--vVKVKlg49XMuZ5_Epi85jW7gMOKfiGuJ2sqU,29560
|
17
|
+
wheel-0.37.1.dist-info/LICENSE.txt,sha256=zKniDGrx_Pv2lAjzd3aShsvuvN7TNhAMm0o_NfvmNeQ,1125
|
18
|
+
wheel-0.37.1.dist-info/METADATA,sha256=YmebdXwPQlF98dp9V-Cy4BlE-M-fFM-J9cPVVvlSUi8,2328
|
19
|
+
wheel-0.37.1.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
20
|
+
wheel-0.37.1.dist-info/entry_points.txt,sha256=N8HbYFST3yrNQYeB2wXWBEPUhFsEtKNRPaCFGJPyqyc,108
|
21
|
+
wheel-0.37.1.dist-info/top_level.txt,sha256=HxSBIbgEstMPe4eFawhA66Mq-QYHMopXVoAncfjb_1c,6
|
22
|
+
wheel-0.37.1.dist-info/RECORD,,
|
23
|
+
wheel\__pycache__,,
|
24
|
+
wheel-0.37.1.virtualenv,,
|
25
|
+
wheel\__init__.cpython-27.pyc,,
|
26
|
+
..\..\Scripts\wheel2.7.exe,,
|
27
|
+
wheel\cli\unpack.cpython-27.pyc,,
|
28
|
+
wheel\pkginfo.cpython-27.pyc,,
|
29
|
+
wheel\vendored\packaging\tags.cpython-27.pyc,,
|
30
|
+
wheel\macosx_libfile.cpython-27.pyc,,
|
31
|
+
wheel\vendored\__pycache__,,
|
32
|
+
wheel\bdist_wheel.cpython-27.pyc,,
|
33
|
+
wheel\wheelfile.cpython-27.pyc,,
|
34
|
+
wheel\vendored\packaging\__pycache__,,
|
35
|
+
wheel\cli\__init__.cpython-27.pyc,,
|
36
|
+
wheel\cli\convert.cpython-27.pyc,,
|
37
|
+
wheel\__main__.cpython-27.pyc,,
|
38
|
+
wheel\cli\pack.cpython-27.pyc,,
|
39
|
+
wheel-0.37.1.dist-info\INSTALLER,,
|
40
|
+
wheel\util.cpython-27.pyc,,
|
41
|
+
..\..\Scripts\wheel.exe,,
|
42
|
+
wheel\vendored\packaging\__init__.cpython-27.pyc,,
|
43
|
+
wheel\cli\__pycache__,,
|
44
|
+
..\..\Scripts\wheel2.exe,,
|
45
|
+
wheel\metadata.cpython-27.pyc,,
|
46
|
+
wheel\vendored\packaging\_typing.cpython-27.pyc,,
|
47
|
+
wheel-0.37.1.dist-info\__pycache__,,
|
48
|
+
..\..\Scripts\wheel-2.7.exe,,
|
49
|
+
wheel\vendored\__init__.cpython-27.pyc,,
|
@@ -0,0 +1 @@
|
|
1
|
+
wheel
|
File without changes
|
@@ -0,0 +1,190 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
"""
|
3
|
+
A simple shim module to fix up things on Python 2 only.
|
4
|
+
|
5
|
+
Note: until we setup correctly the paths we can only import built-ins.
|
6
|
+
"""
|
7
|
+
import sys
|
8
|
+
|
9
|
+
|
10
|
+
def main():
|
11
|
+
"""Patch what needed, and invoke the original site.py"""
|
12
|
+
here = __file__ # the distutils.install patterns will be injected relative to this site.py, save it here
|
13
|
+
config = read_pyvenv()
|
14
|
+
sys.real_prefix = sys.base_prefix = config["base-prefix"]
|
15
|
+
sys.base_exec_prefix = config["base-exec-prefix"]
|
16
|
+
sys.base_executable = config["base-executable"]
|
17
|
+
global_site_package_enabled = config.get("include-system-site-packages", False) == "true"
|
18
|
+
rewrite_standard_library_sys_path()
|
19
|
+
disable_user_site_package()
|
20
|
+
load_host_site(here)
|
21
|
+
if global_site_package_enabled:
|
22
|
+
add_global_site_package()
|
23
|
+
rewrite_getsitepackages(here)
|
24
|
+
|
25
|
+
|
26
|
+
def load_host_site(here):
|
27
|
+
"""trigger reload of site.py - now it will use the standard library instance that will take care of init"""
|
28
|
+
# we have a duality here, we generate the platform and pure library path based on what distutils.install specifies
|
29
|
+
# because this is what pip will be using; the host site.py though may contain it's own pattern for where the
|
30
|
+
# platform and pure library paths should exist
|
31
|
+
|
32
|
+
# notably on Ubuntu there's a patch for getsitepackages to point to
|
33
|
+
# - prefix + local/lib/pythonx.y/dist-packages
|
34
|
+
# - prefix + lib/pythonx.y/dist-packages
|
35
|
+
# while distutils.install.cmd still points both of these to
|
36
|
+
# - prefix + lib/python2.7/site-packages
|
37
|
+
|
38
|
+
# to facilitate when the two match, or not we first reload the site.py, now triggering the import of host site.py,
|
39
|
+
# as this will ensure that initialization code within host site.py runs
|
40
|
+
|
41
|
+
reload(sys.modules["site"]) # noqa # call system site.py to setup import libraries
|
42
|
+
|
43
|
+
# and then if the distutils site packages are not on the sys.path we add them via add_site_dir; note we must add
|
44
|
+
# them by invoking add_site_dir to trigger the processing of pth files
|
45
|
+
|
46
|
+
add_site_dir = sys.modules["site"].addsitedir
|
47
|
+
for path in get_site_packages_dirs(here):
|
48
|
+
add_site_dir(path)
|
49
|
+
|
50
|
+
|
51
|
+
def get_site_packages_dirs(here):
|
52
|
+
import json
|
53
|
+
import os
|
54
|
+
|
55
|
+
site_packages = r"""
|
56
|
+
["..\\site-packages"]
|
57
|
+
"""
|
58
|
+
|
59
|
+
for path in json.loads(site_packages):
|
60
|
+
yield os.path.abspath(os.path.join(here, path.encode("utf-8")))
|
61
|
+
|
62
|
+
|
63
|
+
sep = "\\" if sys.platform == "win32" else "/" # no os module here yet - poor mans version
|
64
|
+
|
65
|
+
|
66
|
+
def read_pyvenv():
|
67
|
+
"""read pyvenv.cfg"""
|
68
|
+
config_file = "{}{}pyvenv.cfg".format(sys.prefix, sep)
|
69
|
+
with open(config_file) as file_handler:
|
70
|
+
lines = file_handler.readlines()
|
71
|
+
config = {}
|
72
|
+
for line in lines:
|
73
|
+
try:
|
74
|
+
split_at = line.index("=")
|
75
|
+
except ValueError:
|
76
|
+
continue # ignore bad/empty lines
|
77
|
+
else:
|
78
|
+
config[line[:split_at].strip()] = line[split_at + 1 :].strip()
|
79
|
+
return config
|
80
|
+
|
81
|
+
|
82
|
+
def rewrite_standard_library_sys_path():
|
83
|
+
"""Once this site file is loaded the standard library paths have already been set, fix them up"""
|
84
|
+
exe, prefix, exec_prefix = get_exe_prefixes(base=False)
|
85
|
+
base_exe, base_prefix, base_exec = get_exe_prefixes(base=True)
|
86
|
+
exe_dir = exe[: exe.rfind(sep)]
|
87
|
+
for at, path in enumerate(sys.path):
|
88
|
+
path = abs_path(path) # replace old sys prefix path starts with new
|
89
|
+
skip_rewrite = path == exe_dir # don't fix the current executable location, notably on Windows this gets added
|
90
|
+
skip_rewrite = skip_rewrite
|
91
|
+
if not skip_rewrite:
|
92
|
+
sys.path[at] = map_path(path, base_exe, exe_dir, exec_prefix, base_prefix, prefix, base_exec)
|
93
|
+
|
94
|
+
# the rewrite above may have changed elements from PYTHONPATH, revert these if on
|
95
|
+
if sys.flags.ignore_environment:
|
96
|
+
return
|
97
|
+
import os
|
98
|
+
|
99
|
+
python_paths = []
|
100
|
+
if "PYTHONPATH" in os.environ and os.environ["PYTHONPATH"]:
|
101
|
+
for path in os.environ["PYTHONPATH"].split(os.pathsep):
|
102
|
+
if path not in python_paths:
|
103
|
+
python_paths.append(path)
|
104
|
+
sys.path[: len(python_paths)] = python_paths
|
105
|
+
|
106
|
+
|
107
|
+
def get_exe_prefixes(base=False):
|
108
|
+
return tuple(abs_path(getattr(sys, ("base_" if base else "") + i)) for i in ("executable", "prefix", "exec_prefix"))
|
109
|
+
|
110
|
+
|
111
|
+
def abs_path(value):
|
112
|
+
values, keep = value.split(sep), []
|
113
|
+
at = len(values) - 1
|
114
|
+
while at >= 0:
|
115
|
+
if values[at] == "..":
|
116
|
+
at -= 1
|
117
|
+
else:
|
118
|
+
keep.append(values[at])
|
119
|
+
at -= 1
|
120
|
+
return sep.join(keep[::-1])
|
121
|
+
|
122
|
+
|
123
|
+
def map_path(path, base_executable, exe_dir, exec_prefix, base_prefix, prefix, base_exec_prefix):
|
124
|
+
if path_starts_with(path, exe_dir):
|
125
|
+
# content inside the exe folder needs to remap to original executables folder
|
126
|
+
orig_exe_folder = base_executable[: base_executable.rfind(sep)]
|
127
|
+
return "{}{}".format(orig_exe_folder, path[len(exe_dir) :])
|
128
|
+
elif path_starts_with(path, prefix):
|
129
|
+
return "{}{}".format(base_prefix, path[len(prefix) :])
|
130
|
+
elif path_starts_with(path, exec_prefix):
|
131
|
+
return "{}{}".format(base_exec_prefix, path[len(exec_prefix) :])
|
132
|
+
return path
|
133
|
+
|
134
|
+
|
135
|
+
def path_starts_with(directory, value):
|
136
|
+
return directory.startswith(value if value[-1] == sep else value + sep)
|
137
|
+
|
138
|
+
|
139
|
+
def disable_user_site_package():
|
140
|
+
"""Flip the switch on enable user site package"""
|
141
|
+
# sys.flags is a c-extension type, so we cannot monkeypatch it, replace it with a python class to flip it
|
142
|
+
sys.original_flags = sys.flags
|
143
|
+
|
144
|
+
class Flags(object):
|
145
|
+
def __init__(self):
|
146
|
+
self.__dict__ = {key: getattr(sys.flags, key) for key in dir(sys.flags) if not key.startswith("_")}
|
147
|
+
|
148
|
+
sys.flags = Flags()
|
149
|
+
sys.flags.no_user_site = 1
|
150
|
+
|
151
|
+
|
152
|
+
def add_global_site_package():
|
153
|
+
"""add the global site package"""
|
154
|
+
import site
|
155
|
+
|
156
|
+
# add user site package
|
157
|
+
sys.flags = sys.original_flags # restore original
|
158
|
+
site.ENABLE_USER_SITE = None # reset user site check
|
159
|
+
# add the global site package to the path - use new prefix and delegate to site.py
|
160
|
+
orig_prefixes = None
|
161
|
+
try:
|
162
|
+
orig_prefixes = site.PREFIXES
|
163
|
+
site.PREFIXES = [sys.base_prefix, sys.base_exec_prefix]
|
164
|
+
site.main()
|
165
|
+
finally:
|
166
|
+
site.PREFIXES = orig_prefixes + site.PREFIXES
|
167
|
+
|
168
|
+
|
169
|
+
# Debian and it's derivatives patch this function. We undo the damage
|
170
|
+
def rewrite_getsitepackages(here):
|
171
|
+
site = sys.modules["site"]
|
172
|
+
|
173
|
+
site_package_dirs = get_site_packages_dirs(here)
|
174
|
+
orig_getsitepackages = site.getsitepackages
|
175
|
+
|
176
|
+
def getsitepackages():
|
177
|
+
sitepackages = orig_getsitepackages()
|
178
|
+
if sys.prefix not in site.PREFIXES or sys.exec_prefix not in site.PREFIXES:
|
179
|
+
# Someone messed with the prefixes, so we stop patching
|
180
|
+
return sitepackages
|
181
|
+
for path in site_package_dirs:
|
182
|
+
if path not in sitepackages:
|
183
|
+
sitepackages.insert(0, path)
|
184
|
+
|
185
|
+
return sitepackages
|
186
|
+
|
187
|
+
site.getsitepackages = getsitepackages
|
188
|
+
|
189
|
+
|
190
|
+
main()
|
Binary file
|
@@ -0,0 +1,83 @@
|
|
1
|
+
# This file must be used with "source bin/activate" *from bash*
|
2
|
+
# you cannot run it directly
|
3
|
+
|
4
|
+
|
5
|
+
if [ "${BASH_SOURCE-}" = "$0" ]; then
|
6
|
+
echo "You must source this script: \$ source $0" >&2
|
7
|
+
exit 33
|
8
|
+
fi
|
9
|
+
|
10
|
+
deactivate () {
|
11
|
+
unset -f pydoc >/dev/null 2>&1 || true
|
12
|
+
|
13
|
+
# reset old environment variables
|
14
|
+
# ! [ -z ${VAR+_} ] returns true if VAR is declared at all
|
15
|
+
if ! [ -z "${_OLD_VIRTUAL_PATH:+_}" ] ; then
|
16
|
+
PATH="$_OLD_VIRTUAL_PATH"
|
17
|
+
export PATH
|
18
|
+
unset _OLD_VIRTUAL_PATH
|
19
|
+
fi
|
20
|
+
if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then
|
21
|
+
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
|
22
|
+
export PYTHONHOME
|
23
|
+
unset _OLD_VIRTUAL_PYTHONHOME
|
24
|
+
fi
|
25
|
+
|
26
|
+
# The hash command must be called to get it to forget past
|
27
|
+
# commands. Without forgetting past commands the $PATH changes
|
28
|
+
# we made may not be respected
|
29
|
+
hash -r 2>/dev/null
|
30
|
+
|
31
|
+
if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then
|
32
|
+
PS1="$_OLD_VIRTUAL_PS1"
|
33
|
+
export PS1
|
34
|
+
unset _OLD_VIRTUAL_PS1
|
35
|
+
fi
|
36
|
+
|
37
|
+
unset VIRTUAL_ENV
|
38
|
+
if [ ! "${1-}" = "nondestructive" ] ; then
|
39
|
+
# Self destruct!
|
40
|
+
unset -f deactivate
|
41
|
+
fi
|
42
|
+
}
|
43
|
+
|
44
|
+
# unset irrelevant variables
|
45
|
+
deactivate nondestructive
|
46
|
+
|
47
|
+
VIRTUAL_ENV='C:\Projects\Software\Python\QuarchPy\Trunk\quarchpy\venv'
|
48
|
+
if ([ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ]) && $(command -v cygpath &> /dev/null) ; then
|
49
|
+
VIRTUAL_ENV=$(cygpath -u "$VIRTUAL_ENV")
|
50
|
+
fi
|
51
|
+
export VIRTUAL_ENV
|
52
|
+
|
53
|
+
_OLD_VIRTUAL_PATH="$PATH"
|
54
|
+
PATH="$VIRTUAL_ENV/Scripts:$PATH"
|
55
|
+
export PATH
|
56
|
+
|
57
|
+
# unset PYTHONHOME if set
|
58
|
+
if ! [ -z "${PYTHONHOME+_}" ] ; then
|
59
|
+
_OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
|
60
|
+
unset PYTHONHOME
|
61
|
+
fi
|
62
|
+
|
63
|
+
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
|
64
|
+
_OLD_VIRTUAL_PS1="${PS1-}"
|
65
|
+
if [ "x" != x ] ; then
|
66
|
+
PS1="() ${PS1-}"
|
67
|
+
else
|
68
|
+
PS1="(`basename \"$VIRTUAL_ENV\"`) ${PS1-}"
|
69
|
+
fi
|
70
|
+
export PS1
|
71
|
+
fi
|
72
|
+
|
73
|
+
# Make sure to unalias pydoc if it's already there
|
74
|
+
alias pydoc 2>/dev/null >/dev/null && unalias pydoc || true
|
75
|
+
|
76
|
+
pydoc () {
|
77
|
+
python -m pydoc "$@"
|
78
|
+
}
|
79
|
+
|
80
|
+
# The hash command must be called to get it to forget past
|
81
|
+
# commands. Without forgetting past commands the $PATH changes
|
82
|
+
# we made may not be respected
|
83
|
+
hash -r 2>/dev/null
|
@@ -0,0 +1,39 @@
|
|
1
|
+
@echo off
|
2
|
+
|
3
|
+
set "VIRTUAL_ENV=C:\Projects\Software\Python\QuarchPy\Trunk\quarchpy\venv"
|
4
|
+
|
5
|
+
if defined _OLD_VIRTUAL_PROMPT (
|
6
|
+
set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
|
7
|
+
) else (
|
8
|
+
if not defined PROMPT (
|
9
|
+
set "PROMPT=$P$G"
|
10
|
+
)
|
11
|
+
if not defined VIRTUAL_ENV_DISABLE_PROMPT (
|
12
|
+
set "_OLD_VIRTUAL_PROMPT=%PROMPT%"
|
13
|
+
)
|
14
|
+
)
|
15
|
+
if not defined VIRTUAL_ENV_DISABLE_PROMPT (
|
16
|
+
if "" NEQ "" (
|
17
|
+
set "PROMPT=() %PROMPT%"
|
18
|
+
) else (
|
19
|
+
for %%d in ("%VIRTUAL_ENV%") do set "PROMPT=(%%~nxd) %PROMPT%"
|
20
|
+
)
|
21
|
+
)
|
22
|
+
|
23
|
+
REM Don't use () to avoid problems with them in %PATH%
|
24
|
+
if defined _OLD_VIRTUAL_PYTHONHOME goto ENDIFVHOME
|
25
|
+
set "_OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%"
|
26
|
+
:ENDIFVHOME
|
27
|
+
|
28
|
+
set PYTHONHOME=
|
29
|
+
|
30
|
+
REM if defined _OLD_VIRTUAL_PATH (
|
31
|
+
if not defined _OLD_VIRTUAL_PATH goto ENDIFVPATH1
|
32
|
+
set "PATH=%_OLD_VIRTUAL_PATH%"
|
33
|
+
:ENDIFVPATH1
|
34
|
+
REM ) else (
|
35
|
+
if defined _OLD_VIRTUAL_PATH goto ENDIFVPATH2
|
36
|
+
set "_OLD_VIRTUAL_PATH=%PATH%"
|
37
|
+
:ENDIFVPATH2
|
38
|
+
|
39
|
+
set "PATH=%VIRTUAL_ENV%\Scripts;%PATH%"
|