quarchpy 2.1.13.dev1__py2.py3-none-any.whl → 2.1.14__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 -1
- quarchpy/.idea/modules.xml +1 -0
- quarchpy/.idea/quarchpy.iml +4 -1
- quarchpy/.idea/workspace.xml +208 -11
- quarchpy/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/__pycache__/_version.cpython-311.pyc +0 -0
- quarchpy/__pycache__/connection.cpython-311.pyc +0 -0
- quarchpy/__pycache__/run.cpython-311.pyc +0 -0
- quarchpy/_version.py +1 -1
- quarchpy/config_files/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/config_files/__pycache__/quarch_config_parser.cpython-311.pyc +0 -0
- quarchpy/connection_specific/QPS/commandLineOptions.txt +12 -10
- quarchpy/connection_specific/QPS/qis/qis.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/{CInterface-1.7.03.jar → CInterface-1.7.04.jar} +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/{QuarchCommon-0.2.5.jar → QuarchCommon-0.2.6.jar} +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/commons-lang3-3.2.1.jar +0 -0
- quarchpy/connection_specific/QPS/qps.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/QuarchCommon-0.2.6.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/istack-commons-runtime-3.0.11.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/jakarta.activation-api-2.1.0.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/jakarta.xml.bind-api-3.0.0.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/jaxb-core-3.0.0.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/jaxb-impl-3.0.0.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/jaxb-runtime-3.0.0.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/qis-1.39.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/txw2-3.0.0.jar +0 -0
- quarchpy/connection_specific/QPS/scriptCommands.txt +2 -2
- quarchpy/connection_specific/__pycache__/StreamChannels.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_QIS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_QPS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_ReST.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_Serial.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_TCP.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_Telnet.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_USB.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_mDNS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/connection_QIS.py +246 -331
- quarchpy/connection_specific/connection_QPS.py +1 -1
- quarchpy/connection_specific/connection_ReST.py +26 -16
- quarchpy/connection_specific/connection_TCP.py +1 -1
- quarchpy/connection_specific/connection_mDNS.py +46 -0
- quarchpy/connection_specific/serial/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/serialutil.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/serialwin32.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/win32.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports_common.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports_windows.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/SystemTest.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/__init__.cpython-311.pyc +0 -0
- 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/debug/__pycache__/versionCompare.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/device.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/quarchArray.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/quarchPPM.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/quarchQPS.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/scanDevices.cpython-311.pyc +0 -0
- quarchpy/device/device.py +2 -0
- quarchpy/device/quarchPPM.py +2 -2
- quarchpy/device/quarchQPS.py +95 -86
- quarchpy/device/scanDevices.py +13 -3
- quarchpy/disk_test/__pycache__/AbsDiskFinder.cpython-311.pyc +0 -0
- quarchpy/disk_test/__pycache__/DiskTargetSelection.cpython-311.pyc +0 -0
- quarchpy/disk_test/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/disk_test/__pycache__/iometerDiskFinder.cpython-311.pyc +0 -0
- quarchpy/docs/CHANGES.rst +11 -1
- quarchpy/docs/_build/doctrees/CHANGES.doctree +0 -0
- quarchpy/docs/_build/doctrees/environment.pickle +0 -0
- quarchpy/docs/_build/doctrees/index.doctree +0 -0
- quarchpy/docs/_build/doctrees/readme.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/changelog.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/licenses.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/modules.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.calibration.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.config_files.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.connection_specific.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.debug.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.device.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.disk_test.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.fio.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.iometer.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.qis.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.qps.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.user_interface.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/quarchpy.utilities.doctree +0 -0
- quarchpy/docs/_build/doctrees/source/readme.doctree +0 -0
- quarchpy/docs/_build/html/.buildinfo +1 -1
- quarchpy/docs/_build/html/CHANGES.html +198 -156
- quarchpy/docs/_build/html/_sources/CHANGES.rst.txt +30 -0
- quarchpy/docs/_build/html/_static/alabaster.css +3 -1
- quarchpy/docs/_build/html/_static/basic.css +47 -27
- quarchpy/docs/_build/html/_static/doctools.js +107 -274
- quarchpy/docs/_build/html/_static/documentation_options.js +5 -4
- quarchpy/docs/_build/html/_static/language_data.js +2 -100
- quarchpy/docs/_build/html/_static/pygments.css +1 -0
- quarchpy/docs/_build/html/_static/searchtools.js +440 -395
- quarchpy/docs/_build/html/_static/sphinx_highlight.js +154 -0
- quarchpy/docs/_build/html/genindex.html +263 -87
- quarchpy/docs/_build/html/index.html +68 -63
- quarchpy/docs/_build/html/objects.inv +0 -0
- quarchpy/docs/_build/html/py-modindex.html +9 -11
- quarchpy/docs/_build/html/readme.html +26 -27
- quarchpy/docs/_build/html/search.html +8 -10
- quarchpy/docs/_build/html/searchindex.js +1 -1
- quarchpy/docs/_build/html/source/changelog.html +249 -201
- quarchpy/docs/_build/html/source/licenses.html +23 -24
- quarchpy/docs/_build/html/source/modules.html +24 -17
- quarchpy/docs/_build/html/source/quarchpy.calibration.html +44 -45
- quarchpy/docs/_build/html/source/quarchpy.config_files.html +25 -26
- quarchpy/docs/_build/html/source/quarchpy.connection_specific.html +239 -133
- quarchpy/docs/_build/html/source/quarchpy.debug.html +57 -54
- quarchpy/docs/_build/html/source/quarchpy.device.html +245 -211
- quarchpy/docs/_build/html/source/quarchpy.disk_test.html +75 -76
- quarchpy/docs/_build/html/source/quarchpy.fio.html +33 -34
- quarchpy/docs/_build/html/source/quarchpy.html +518 -61
- quarchpy/docs/_build/html/source/quarchpy.iometer.html +130 -44
- quarchpy/docs/_build/html/source/quarchpy.qis.html +420 -44
- quarchpy/docs/_build/html/source/quarchpy.qps.html +44 -43
- quarchpy/docs/_build/html/source/quarchpy.user_interface.html +70 -120
- quarchpy/docs/_build/html/source/quarchpy.utilities.html +39 -40
- quarchpy/docs/_build/html/source/readme.html +26 -27
- quarchpy/fio/__pycache__/FIO_interface.cpython-311.pyc +0 -0
- quarchpy/fio/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/fio/__pycache__/fioDiskFinder.cpython-311.pyc +0 -0
- quarchpy/iometer/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/iometer/__pycache__/gen_iometer_template.cpython-311.pyc +0 -0
- quarchpy/iometer/__pycache__/iometerFuncs.cpython-311.pyc +0 -0
- quarchpy/qis/__pycache__/StreamHeaderInfo.cpython-311.pyc +0 -0
- quarchpy/qis/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/qis/__pycache__/qisFuncs.cpython-311.pyc +0 -0
- quarchpy/qis/qisFuncs.py +25 -42
- quarchpy/qps/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/qps/__pycache__/qpsFuncs.cpython-311.pyc +0 -0
- quarchpy/qps/qpsFuncs.py +18 -19
- quarchpy/user_interface/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/user_interface/__pycache__/user_interface.cpython-311.pyc +0 -0
- quarchpy/user_interface/user_interface.py +156 -137
- quarchpy/utilities/TestCenter.py +11 -16
- quarchpy/utilities/Version.py +50 -0
- quarchpy/utilities/__pycache__/TestCenter.cpython-311.pyc +0 -0
- quarchpy/utilities/__pycache__/TimeValue.cpython-311.pyc +0 -0
- quarchpy/utilities/__pycache__/Version.cpython-311.pyc +0 -0
- quarchpy/utilities/__pycache__/__init__.cpython-311.pyc +0 -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.13.dev1.dist-info → quarchpy-2.1.14.dist-info}/METADATA +12 -2
- quarchpy-2.1.14.dist-info/RECORD +1216 -0
- quarchpy/.idea/inspectionProfiles/Project_Default.xml +0 -26
- quarchpy/connection_specific/QPS/qps_lib/QuarchCommon-0.2.4.jar +0 -0
- quarchpy/connection_specific/connection_QIS.py.bak +0 -1821
- quarchpy/connection_specific/usb_libs/__pycache__/libusb1.cpython-311.pyc +0 -0
- quarchpy/connection_specific/usb_libs/__pycache__/usb1.cpython-311.pyc +0 -0
- quarchpy/debug/TextScanIP.py +0 -11
- quarchpy/device/device.py.bak +0 -504
- quarchpy/device/scanDevices.py.bak +0 -661
- quarchpy-2.1.13.dev1.dist-info/RECORD +0 -531
- {quarchpy-2.1.13.dev1.dist-info → quarchpy-2.1.14.dist-info}/WHEEL +0 -0
- {quarchpy-2.1.13.dev1.dist-info → quarchpy-2.1.14.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,717 @@
|
|
1
|
+
"""setuptools.command.egg_info
|
2
|
+
|
3
|
+
Create a distribution's .egg-info directory and contents"""
|
4
|
+
|
5
|
+
from distutils.filelist import FileList as _FileList
|
6
|
+
from distutils.errors import DistutilsInternalError
|
7
|
+
from distutils.util import convert_path
|
8
|
+
from distutils import log
|
9
|
+
import distutils.errors
|
10
|
+
import distutils.filelist
|
11
|
+
import os
|
12
|
+
import re
|
13
|
+
import sys
|
14
|
+
import io
|
15
|
+
import warnings
|
16
|
+
import time
|
17
|
+
import collections
|
18
|
+
|
19
|
+
from setuptools.extern import six
|
20
|
+
from setuptools.extern.six.moves import map
|
21
|
+
|
22
|
+
from setuptools import Command
|
23
|
+
from setuptools.command.sdist import sdist
|
24
|
+
from setuptools.command.sdist import walk_revctrl
|
25
|
+
from setuptools.command.setopt import edit_config
|
26
|
+
from setuptools.command import bdist_egg
|
27
|
+
from pkg_resources import (
|
28
|
+
parse_requirements, safe_name, parse_version,
|
29
|
+
safe_version, yield_lines, EntryPoint, iter_entry_points, to_filename)
|
30
|
+
import setuptools.unicode_utils as unicode_utils
|
31
|
+
from setuptools.glob import glob
|
32
|
+
|
33
|
+
from setuptools.extern import packaging
|
34
|
+
from setuptools import SetuptoolsDeprecationWarning
|
35
|
+
|
36
|
+
def translate_pattern(glob):
|
37
|
+
"""
|
38
|
+
Translate a file path glob like '*.txt' in to a regular expression.
|
39
|
+
This differs from fnmatch.translate which allows wildcards to match
|
40
|
+
directory separators. It also knows about '**/' which matches any number of
|
41
|
+
directories.
|
42
|
+
"""
|
43
|
+
pat = ''
|
44
|
+
|
45
|
+
# This will split on '/' within [character classes]. This is deliberate.
|
46
|
+
chunks = glob.split(os.path.sep)
|
47
|
+
|
48
|
+
sep = re.escape(os.sep)
|
49
|
+
valid_char = '[^%s]' % (sep,)
|
50
|
+
|
51
|
+
for c, chunk in enumerate(chunks):
|
52
|
+
last_chunk = c == len(chunks) - 1
|
53
|
+
|
54
|
+
# Chunks that are a literal ** are globstars. They match anything.
|
55
|
+
if chunk == '**':
|
56
|
+
if last_chunk:
|
57
|
+
# Match anything if this is the last component
|
58
|
+
pat += '.*'
|
59
|
+
else:
|
60
|
+
# Match '(name/)*'
|
61
|
+
pat += '(?:%s+%s)*' % (valid_char, sep)
|
62
|
+
continue # Break here as the whole path component has been handled
|
63
|
+
|
64
|
+
# Find any special characters in the remainder
|
65
|
+
i = 0
|
66
|
+
chunk_len = len(chunk)
|
67
|
+
while i < chunk_len:
|
68
|
+
char = chunk[i]
|
69
|
+
if char == '*':
|
70
|
+
# Match any number of name characters
|
71
|
+
pat += valid_char + '*'
|
72
|
+
elif char == '?':
|
73
|
+
# Match a name character
|
74
|
+
pat += valid_char
|
75
|
+
elif char == '[':
|
76
|
+
# Character class
|
77
|
+
inner_i = i + 1
|
78
|
+
# Skip initial !/] chars
|
79
|
+
if inner_i < chunk_len and chunk[inner_i] == '!':
|
80
|
+
inner_i = inner_i + 1
|
81
|
+
if inner_i < chunk_len and chunk[inner_i] == ']':
|
82
|
+
inner_i = inner_i + 1
|
83
|
+
|
84
|
+
# Loop till the closing ] is found
|
85
|
+
while inner_i < chunk_len and chunk[inner_i] != ']':
|
86
|
+
inner_i = inner_i + 1
|
87
|
+
|
88
|
+
if inner_i >= chunk_len:
|
89
|
+
# Got to the end of the string without finding a closing ]
|
90
|
+
# Do not treat this as a matching group, but as a literal [
|
91
|
+
pat += re.escape(char)
|
92
|
+
else:
|
93
|
+
# Grab the insides of the [brackets]
|
94
|
+
inner = chunk[i + 1:inner_i]
|
95
|
+
char_class = ''
|
96
|
+
|
97
|
+
# Class negation
|
98
|
+
if inner[0] == '!':
|
99
|
+
char_class = '^'
|
100
|
+
inner = inner[1:]
|
101
|
+
|
102
|
+
char_class += re.escape(inner)
|
103
|
+
pat += '[%s]' % (char_class,)
|
104
|
+
|
105
|
+
# Skip to the end ]
|
106
|
+
i = inner_i
|
107
|
+
else:
|
108
|
+
pat += re.escape(char)
|
109
|
+
i += 1
|
110
|
+
|
111
|
+
# Join each chunk with the dir separator
|
112
|
+
if not last_chunk:
|
113
|
+
pat += sep
|
114
|
+
|
115
|
+
pat += r'\Z'
|
116
|
+
return re.compile(pat, flags=re.MULTILINE|re.DOTALL)
|
117
|
+
|
118
|
+
|
119
|
+
class InfoCommon:
|
120
|
+
tag_build = None
|
121
|
+
tag_date = None
|
122
|
+
|
123
|
+
@property
|
124
|
+
def name(self):
|
125
|
+
return safe_name(self.distribution.get_name())
|
126
|
+
|
127
|
+
def tagged_version(self):
|
128
|
+
version = self.distribution.get_version()
|
129
|
+
# egg_info may be called more than once for a distribution,
|
130
|
+
# in which case the version string already contains all tags.
|
131
|
+
if self.vtags and version.endswith(self.vtags):
|
132
|
+
return safe_version(version)
|
133
|
+
return safe_version(version + self.vtags)
|
134
|
+
|
135
|
+
def tags(self):
|
136
|
+
version = ''
|
137
|
+
if self.tag_build:
|
138
|
+
version += self.tag_build
|
139
|
+
if self.tag_date:
|
140
|
+
version += time.strftime("-%Y%m%d")
|
141
|
+
return version
|
142
|
+
vtags = property(tags)
|
143
|
+
|
144
|
+
|
145
|
+
class egg_info(InfoCommon, Command):
|
146
|
+
description = "create a distribution's .egg-info directory"
|
147
|
+
|
148
|
+
user_options = [
|
149
|
+
('egg-base=', 'e', "directory containing .egg-info directories"
|
150
|
+
" (default: top of the source tree)"),
|
151
|
+
('tag-date', 'd', "Add date stamp (e.g. 20050528) to version number"),
|
152
|
+
('tag-build=', 'b', "Specify explicit tag to add to version number"),
|
153
|
+
('no-date', 'D', "Don't include date stamp [default]"),
|
154
|
+
]
|
155
|
+
|
156
|
+
boolean_options = ['tag-date']
|
157
|
+
negative_opt = {
|
158
|
+
'no-date': 'tag-date',
|
159
|
+
}
|
160
|
+
|
161
|
+
def initialize_options(self):
|
162
|
+
self.egg_base = None
|
163
|
+
self.egg_name = None
|
164
|
+
self.egg_info = None
|
165
|
+
self.egg_version = None
|
166
|
+
self.broken_egg_info = False
|
167
|
+
|
168
|
+
####################################
|
169
|
+
# allow the 'tag_svn_revision' to be detected and
|
170
|
+
# set, supporting sdists built on older Setuptools.
|
171
|
+
@property
|
172
|
+
def tag_svn_revision(self):
|
173
|
+
pass
|
174
|
+
|
175
|
+
@tag_svn_revision.setter
|
176
|
+
def tag_svn_revision(self, value):
|
177
|
+
pass
|
178
|
+
####################################
|
179
|
+
|
180
|
+
def save_version_info(self, filename):
|
181
|
+
"""
|
182
|
+
Materialize the value of date into the
|
183
|
+
build tag. Install build keys in a deterministic order
|
184
|
+
to avoid arbitrary reordering on subsequent builds.
|
185
|
+
"""
|
186
|
+
egg_info = collections.OrderedDict()
|
187
|
+
# follow the order these keys would have been added
|
188
|
+
# when PYTHONHASHSEED=0
|
189
|
+
egg_info['tag_build'] = self.tags()
|
190
|
+
egg_info['tag_date'] = 0
|
191
|
+
edit_config(filename, dict(egg_info=egg_info))
|
192
|
+
|
193
|
+
def finalize_options(self):
|
194
|
+
# Note: we need to capture the current value returned
|
195
|
+
# by `self.tagged_version()`, so we can later update
|
196
|
+
# `self.distribution.metadata.version` without
|
197
|
+
# repercussions.
|
198
|
+
self.egg_name = self.name
|
199
|
+
self.egg_version = self.tagged_version()
|
200
|
+
parsed_version = parse_version(self.egg_version)
|
201
|
+
|
202
|
+
try:
|
203
|
+
is_version = isinstance(parsed_version, packaging.version.Version)
|
204
|
+
spec = (
|
205
|
+
"%s==%s" if is_version else "%s===%s"
|
206
|
+
)
|
207
|
+
list(
|
208
|
+
parse_requirements(spec % (self.egg_name, self.egg_version))
|
209
|
+
)
|
210
|
+
except ValueError:
|
211
|
+
raise distutils.errors.DistutilsOptionError(
|
212
|
+
"Invalid distribution name or version syntax: %s-%s" %
|
213
|
+
(self.egg_name, self.egg_version)
|
214
|
+
)
|
215
|
+
|
216
|
+
if self.egg_base is None:
|
217
|
+
dirs = self.distribution.package_dir
|
218
|
+
self.egg_base = (dirs or {}).get('', os.curdir)
|
219
|
+
|
220
|
+
self.ensure_dirname('egg_base')
|
221
|
+
self.egg_info = to_filename(self.egg_name) + '.egg-info'
|
222
|
+
if self.egg_base != os.curdir:
|
223
|
+
self.egg_info = os.path.join(self.egg_base, self.egg_info)
|
224
|
+
if '-' in self.egg_name:
|
225
|
+
self.check_broken_egg_info()
|
226
|
+
|
227
|
+
# Set package version for the benefit of dumber commands
|
228
|
+
# (e.g. sdist, bdist_wininst, etc.)
|
229
|
+
#
|
230
|
+
self.distribution.metadata.version = self.egg_version
|
231
|
+
|
232
|
+
# If we bootstrapped around the lack of a PKG-INFO, as might be the
|
233
|
+
# case in a fresh checkout, make sure that any special tags get added
|
234
|
+
# to the version info
|
235
|
+
#
|
236
|
+
pd = self.distribution._patched_dist
|
237
|
+
if pd is not None and pd.key == self.egg_name.lower():
|
238
|
+
pd._version = self.egg_version
|
239
|
+
pd._parsed_version = parse_version(self.egg_version)
|
240
|
+
self.distribution._patched_dist = None
|
241
|
+
|
242
|
+
def write_or_delete_file(self, what, filename, data, force=False):
|
243
|
+
"""Write `data` to `filename` or delete if empty
|
244
|
+
|
245
|
+
If `data` is non-empty, this routine is the same as ``write_file()``.
|
246
|
+
If `data` is empty but not ``None``, this is the same as calling
|
247
|
+
``delete_file(filename)`. If `data` is ``None``, then this is a no-op
|
248
|
+
unless `filename` exists, in which case a warning is issued about the
|
249
|
+
orphaned file (if `force` is false), or deleted (if `force` is true).
|
250
|
+
"""
|
251
|
+
if data:
|
252
|
+
self.write_file(what, filename, data)
|
253
|
+
elif os.path.exists(filename):
|
254
|
+
if data is None and not force:
|
255
|
+
log.warn(
|
256
|
+
"%s not set in setup(), but %s exists", what, filename
|
257
|
+
)
|
258
|
+
return
|
259
|
+
else:
|
260
|
+
self.delete_file(filename)
|
261
|
+
|
262
|
+
def write_file(self, what, filename, data):
|
263
|
+
"""Write `data` to `filename` (if not a dry run) after announcing it
|
264
|
+
|
265
|
+
`what` is used in a log message to identify what is being written
|
266
|
+
to the file.
|
267
|
+
"""
|
268
|
+
log.info("writing %s to %s", what, filename)
|
269
|
+
if not six.PY2:
|
270
|
+
data = data.encode("utf-8")
|
271
|
+
if not self.dry_run:
|
272
|
+
f = open(filename, 'wb')
|
273
|
+
f.write(data)
|
274
|
+
f.close()
|
275
|
+
|
276
|
+
def delete_file(self, filename):
|
277
|
+
"""Delete `filename` (if not a dry run) after announcing it"""
|
278
|
+
log.info("deleting %s", filename)
|
279
|
+
if not self.dry_run:
|
280
|
+
os.unlink(filename)
|
281
|
+
|
282
|
+
def run(self):
|
283
|
+
self.mkpath(self.egg_info)
|
284
|
+
os.utime(self.egg_info, None)
|
285
|
+
installer = self.distribution.fetch_build_egg
|
286
|
+
for ep in iter_entry_points('egg_info.writers'):
|
287
|
+
ep.require(installer=installer)
|
288
|
+
writer = ep.resolve()
|
289
|
+
writer(self, ep.name, os.path.join(self.egg_info, ep.name))
|
290
|
+
|
291
|
+
# Get rid of native_libs.txt if it was put there by older bdist_egg
|
292
|
+
nl = os.path.join(self.egg_info, "native_libs.txt")
|
293
|
+
if os.path.exists(nl):
|
294
|
+
self.delete_file(nl)
|
295
|
+
|
296
|
+
self.find_sources()
|
297
|
+
|
298
|
+
def find_sources(self):
|
299
|
+
"""Generate SOURCES.txt manifest file"""
|
300
|
+
manifest_filename = os.path.join(self.egg_info, "SOURCES.txt")
|
301
|
+
mm = manifest_maker(self.distribution)
|
302
|
+
mm.manifest = manifest_filename
|
303
|
+
mm.run()
|
304
|
+
self.filelist = mm.filelist
|
305
|
+
|
306
|
+
def check_broken_egg_info(self):
|
307
|
+
bei = self.egg_name + '.egg-info'
|
308
|
+
if self.egg_base != os.curdir:
|
309
|
+
bei = os.path.join(self.egg_base, bei)
|
310
|
+
if os.path.exists(bei):
|
311
|
+
log.warn(
|
312
|
+
"-" * 78 + '\n'
|
313
|
+
"Note: Your current .egg-info directory has a '-' in its name;"
|
314
|
+
'\nthis will not work correctly with "setup.py develop".\n\n'
|
315
|
+
'Please rename %s to %s to correct this problem.\n' + '-' * 78,
|
316
|
+
bei, self.egg_info
|
317
|
+
)
|
318
|
+
self.broken_egg_info = self.egg_info
|
319
|
+
self.egg_info = bei # make it work for now
|
320
|
+
|
321
|
+
|
322
|
+
class FileList(_FileList):
|
323
|
+
# Implementations of the various MANIFEST.in commands
|
324
|
+
|
325
|
+
def process_template_line(self, line):
|
326
|
+
# Parse the line: split it up, make sure the right number of words
|
327
|
+
# is there, and return the relevant words. 'action' is always
|
328
|
+
# defined: it's the first word of the line. Which of the other
|
329
|
+
# three are defined depends on the action; it'll be either
|
330
|
+
# patterns, (dir and patterns), or (dir_pattern).
|
331
|
+
(action, patterns, dir, dir_pattern) = self._parse_template_line(line)
|
332
|
+
|
333
|
+
# OK, now we know that the action is valid and we have the
|
334
|
+
# right number of words on the line for that action -- so we
|
335
|
+
# can proceed with minimal error-checking.
|
336
|
+
if action == 'include':
|
337
|
+
self.debug_print("include " + ' '.join(patterns))
|
338
|
+
for pattern in patterns:
|
339
|
+
if not self.include(pattern):
|
340
|
+
log.warn("warning: no files found matching '%s'", pattern)
|
341
|
+
|
342
|
+
elif action == 'exclude':
|
343
|
+
self.debug_print("exclude " + ' '.join(patterns))
|
344
|
+
for pattern in patterns:
|
345
|
+
if not self.exclude(pattern):
|
346
|
+
log.warn(("warning: no previously-included files "
|
347
|
+
"found matching '%s'"), pattern)
|
348
|
+
|
349
|
+
elif action == 'global-include':
|
350
|
+
self.debug_print("global-include " + ' '.join(patterns))
|
351
|
+
for pattern in patterns:
|
352
|
+
if not self.global_include(pattern):
|
353
|
+
log.warn(("warning: no files found matching '%s' "
|
354
|
+
"anywhere in distribution"), pattern)
|
355
|
+
|
356
|
+
elif action == 'global-exclude':
|
357
|
+
self.debug_print("global-exclude " + ' '.join(patterns))
|
358
|
+
for pattern in patterns:
|
359
|
+
if not self.global_exclude(pattern):
|
360
|
+
log.warn(("warning: no previously-included files matching "
|
361
|
+
"'%s' found anywhere in distribution"),
|
362
|
+
pattern)
|
363
|
+
|
364
|
+
elif action == 'recursive-include':
|
365
|
+
self.debug_print("recursive-include %s %s" %
|
366
|
+
(dir, ' '.join(patterns)))
|
367
|
+
for pattern in patterns:
|
368
|
+
if not self.recursive_include(dir, pattern):
|
369
|
+
log.warn(("warning: no files found matching '%s' "
|
370
|
+
"under directory '%s'"),
|
371
|
+
pattern, dir)
|
372
|
+
|
373
|
+
elif action == 'recursive-exclude':
|
374
|
+
self.debug_print("recursive-exclude %s %s" %
|
375
|
+
(dir, ' '.join(patterns)))
|
376
|
+
for pattern in patterns:
|
377
|
+
if not self.recursive_exclude(dir, pattern):
|
378
|
+
log.warn(("warning: no previously-included files matching "
|
379
|
+
"'%s' found under directory '%s'"),
|
380
|
+
pattern, dir)
|
381
|
+
|
382
|
+
elif action == 'graft':
|
383
|
+
self.debug_print("graft " + dir_pattern)
|
384
|
+
if not self.graft(dir_pattern):
|
385
|
+
log.warn("warning: no directories found matching '%s'",
|
386
|
+
dir_pattern)
|
387
|
+
|
388
|
+
elif action == 'prune':
|
389
|
+
self.debug_print("prune " + dir_pattern)
|
390
|
+
if not self.prune(dir_pattern):
|
391
|
+
log.warn(("no previously-included directories found "
|
392
|
+
"matching '%s'"), dir_pattern)
|
393
|
+
|
394
|
+
else:
|
395
|
+
raise DistutilsInternalError(
|
396
|
+
"this cannot happen: invalid action '%s'" % action)
|
397
|
+
|
398
|
+
def _remove_files(self, predicate):
|
399
|
+
"""
|
400
|
+
Remove all files from the file list that match the predicate.
|
401
|
+
Return True if any matching files were removed
|
402
|
+
"""
|
403
|
+
found = False
|
404
|
+
for i in range(len(self.files) - 1, -1, -1):
|
405
|
+
if predicate(self.files[i]):
|
406
|
+
self.debug_print(" removing " + self.files[i])
|
407
|
+
del self.files[i]
|
408
|
+
found = True
|
409
|
+
return found
|
410
|
+
|
411
|
+
def include(self, pattern):
|
412
|
+
"""Include files that match 'pattern'."""
|
413
|
+
found = [f for f in glob(pattern) if not os.path.isdir(f)]
|
414
|
+
self.extend(found)
|
415
|
+
return bool(found)
|
416
|
+
|
417
|
+
def exclude(self, pattern):
|
418
|
+
"""Exclude files that match 'pattern'."""
|
419
|
+
match = translate_pattern(pattern)
|
420
|
+
return self._remove_files(match.match)
|
421
|
+
|
422
|
+
def recursive_include(self, dir, pattern):
|
423
|
+
"""
|
424
|
+
Include all files anywhere in 'dir/' that match the pattern.
|
425
|
+
"""
|
426
|
+
full_pattern = os.path.join(dir, '**', pattern)
|
427
|
+
found = [f for f in glob(full_pattern, recursive=True)
|
428
|
+
if not os.path.isdir(f)]
|
429
|
+
self.extend(found)
|
430
|
+
return bool(found)
|
431
|
+
|
432
|
+
def recursive_exclude(self, dir, pattern):
|
433
|
+
"""
|
434
|
+
Exclude any file anywhere in 'dir/' that match the pattern.
|
435
|
+
"""
|
436
|
+
match = translate_pattern(os.path.join(dir, '**', pattern))
|
437
|
+
return self._remove_files(match.match)
|
438
|
+
|
439
|
+
def graft(self, dir):
|
440
|
+
"""Include all files from 'dir/'."""
|
441
|
+
found = [
|
442
|
+
item
|
443
|
+
for match_dir in glob(dir)
|
444
|
+
for item in distutils.filelist.findall(match_dir)
|
445
|
+
]
|
446
|
+
self.extend(found)
|
447
|
+
return bool(found)
|
448
|
+
|
449
|
+
def prune(self, dir):
|
450
|
+
"""Filter out files from 'dir/'."""
|
451
|
+
match = translate_pattern(os.path.join(dir, '**'))
|
452
|
+
return self._remove_files(match.match)
|
453
|
+
|
454
|
+
def global_include(self, pattern):
|
455
|
+
"""
|
456
|
+
Include all files anywhere in the current directory that match the
|
457
|
+
pattern. This is very inefficient on large file trees.
|
458
|
+
"""
|
459
|
+
if self.allfiles is None:
|
460
|
+
self.findall()
|
461
|
+
match = translate_pattern(os.path.join('**', pattern))
|
462
|
+
found = [f for f in self.allfiles if match.match(f)]
|
463
|
+
self.extend(found)
|
464
|
+
return bool(found)
|
465
|
+
|
466
|
+
def global_exclude(self, pattern):
|
467
|
+
"""
|
468
|
+
Exclude all files anywhere that match the pattern.
|
469
|
+
"""
|
470
|
+
match = translate_pattern(os.path.join('**', pattern))
|
471
|
+
return self._remove_files(match.match)
|
472
|
+
|
473
|
+
def append(self, item):
|
474
|
+
if item.endswith('\r'): # Fix older sdists built on Windows
|
475
|
+
item = item[:-1]
|
476
|
+
path = convert_path(item)
|
477
|
+
|
478
|
+
if self._safe_path(path):
|
479
|
+
self.files.append(path)
|
480
|
+
|
481
|
+
def extend(self, paths):
|
482
|
+
self.files.extend(filter(self._safe_path, paths))
|
483
|
+
|
484
|
+
def _repair(self):
|
485
|
+
"""
|
486
|
+
Replace self.files with only safe paths
|
487
|
+
|
488
|
+
Because some owners of FileList manipulate the underlying
|
489
|
+
``files`` attribute directly, this method must be called to
|
490
|
+
repair those paths.
|
491
|
+
"""
|
492
|
+
self.files = list(filter(self._safe_path, self.files))
|
493
|
+
|
494
|
+
def _safe_path(self, path):
|
495
|
+
enc_warn = "'%s' not %s encodable -- skipping"
|
496
|
+
|
497
|
+
# To avoid accidental trans-codings errors, first to unicode
|
498
|
+
u_path = unicode_utils.filesys_decode(path)
|
499
|
+
if u_path is None:
|
500
|
+
log.warn("'%s' in unexpected encoding -- skipping" % path)
|
501
|
+
return False
|
502
|
+
|
503
|
+
# Must ensure utf-8 encodability
|
504
|
+
utf8_path = unicode_utils.try_encode(u_path, "utf-8")
|
505
|
+
if utf8_path is None:
|
506
|
+
log.warn(enc_warn, path, 'utf-8')
|
507
|
+
return False
|
508
|
+
|
509
|
+
try:
|
510
|
+
# accept is either way checks out
|
511
|
+
if os.path.exists(u_path) or os.path.exists(utf8_path):
|
512
|
+
return True
|
513
|
+
# this will catch any encode errors decoding u_path
|
514
|
+
except UnicodeEncodeError:
|
515
|
+
log.warn(enc_warn, path, sys.getfilesystemencoding())
|
516
|
+
|
517
|
+
|
518
|
+
class manifest_maker(sdist):
|
519
|
+
template = "MANIFEST.in"
|
520
|
+
|
521
|
+
def initialize_options(self):
|
522
|
+
self.use_defaults = 1
|
523
|
+
self.prune = 1
|
524
|
+
self.manifest_only = 1
|
525
|
+
self.force_manifest = 1
|
526
|
+
|
527
|
+
def finalize_options(self):
|
528
|
+
pass
|
529
|
+
|
530
|
+
def run(self):
|
531
|
+
self.filelist = FileList()
|
532
|
+
if not os.path.exists(self.manifest):
|
533
|
+
self.write_manifest() # it must exist so it'll get in the list
|
534
|
+
self.add_defaults()
|
535
|
+
if os.path.exists(self.template):
|
536
|
+
self.read_template()
|
537
|
+
self.prune_file_list()
|
538
|
+
self.filelist.sort()
|
539
|
+
self.filelist.remove_duplicates()
|
540
|
+
self.write_manifest()
|
541
|
+
|
542
|
+
def _manifest_normalize(self, path):
|
543
|
+
path = unicode_utils.filesys_decode(path)
|
544
|
+
return path.replace(os.sep, '/')
|
545
|
+
|
546
|
+
def write_manifest(self):
|
547
|
+
"""
|
548
|
+
Write the file list in 'self.filelist' to the manifest file
|
549
|
+
named by 'self.manifest'.
|
550
|
+
"""
|
551
|
+
self.filelist._repair()
|
552
|
+
|
553
|
+
# Now _repairs should encodability, but not unicode
|
554
|
+
files = [self._manifest_normalize(f) for f in self.filelist.files]
|
555
|
+
msg = "writing manifest file '%s'" % self.manifest
|
556
|
+
self.execute(write_file, (self.manifest, files), msg)
|
557
|
+
|
558
|
+
def warn(self, msg):
|
559
|
+
if not self._should_suppress_warning(msg):
|
560
|
+
sdist.warn(self, msg)
|
561
|
+
|
562
|
+
@staticmethod
|
563
|
+
def _should_suppress_warning(msg):
|
564
|
+
"""
|
565
|
+
suppress missing-file warnings from sdist
|
566
|
+
"""
|
567
|
+
return re.match(r"standard file .*not found", msg)
|
568
|
+
|
569
|
+
def add_defaults(self):
|
570
|
+
sdist.add_defaults(self)
|
571
|
+
self.check_license()
|
572
|
+
self.filelist.append(self.template)
|
573
|
+
self.filelist.append(self.manifest)
|
574
|
+
rcfiles = list(walk_revctrl())
|
575
|
+
if rcfiles:
|
576
|
+
self.filelist.extend(rcfiles)
|
577
|
+
elif os.path.exists(self.manifest):
|
578
|
+
self.read_manifest()
|
579
|
+
|
580
|
+
if os.path.exists("setup.py"):
|
581
|
+
# setup.py should be included by default, even if it's not
|
582
|
+
# the script called to create the sdist
|
583
|
+
self.filelist.append("setup.py")
|
584
|
+
|
585
|
+
ei_cmd = self.get_finalized_command('egg_info')
|
586
|
+
self.filelist.graft(ei_cmd.egg_info)
|
587
|
+
|
588
|
+
def prune_file_list(self):
|
589
|
+
build = self.get_finalized_command('build')
|
590
|
+
base_dir = self.distribution.get_fullname()
|
591
|
+
self.filelist.prune(build.build_base)
|
592
|
+
self.filelist.prune(base_dir)
|
593
|
+
sep = re.escape(os.sep)
|
594
|
+
self.filelist.exclude_pattern(r'(^|' + sep + r')(RCS|CVS|\.svn)' + sep,
|
595
|
+
is_regex=1)
|
596
|
+
|
597
|
+
|
598
|
+
def write_file(filename, contents):
|
599
|
+
"""Create a file with the specified name and write 'contents' (a
|
600
|
+
sequence of strings without line terminators) to it.
|
601
|
+
"""
|
602
|
+
contents = "\n".join(contents)
|
603
|
+
|
604
|
+
# assuming the contents has been vetted for utf-8 encoding
|
605
|
+
contents = contents.encode("utf-8")
|
606
|
+
|
607
|
+
with open(filename, "wb") as f: # always write POSIX-style manifest
|
608
|
+
f.write(contents)
|
609
|
+
|
610
|
+
|
611
|
+
def write_pkg_info(cmd, basename, filename):
|
612
|
+
log.info("writing %s", filename)
|
613
|
+
if not cmd.dry_run:
|
614
|
+
metadata = cmd.distribution.metadata
|
615
|
+
metadata.version, oldver = cmd.egg_version, metadata.version
|
616
|
+
metadata.name, oldname = cmd.egg_name, metadata.name
|
617
|
+
|
618
|
+
try:
|
619
|
+
# write unescaped data to PKG-INFO, so older pkg_resources
|
620
|
+
# can still parse it
|
621
|
+
metadata.write_pkg_info(cmd.egg_info)
|
622
|
+
finally:
|
623
|
+
metadata.name, metadata.version = oldname, oldver
|
624
|
+
|
625
|
+
safe = getattr(cmd.distribution, 'zip_safe', None)
|
626
|
+
|
627
|
+
bdist_egg.write_safety_flag(cmd.egg_info, safe)
|
628
|
+
|
629
|
+
|
630
|
+
def warn_depends_obsolete(cmd, basename, filename):
|
631
|
+
if os.path.exists(filename):
|
632
|
+
log.warn(
|
633
|
+
"WARNING: 'depends.txt' is not used by setuptools 0.6!\n"
|
634
|
+
"Use the install_requires/extras_require setup() args instead."
|
635
|
+
)
|
636
|
+
|
637
|
+
|
638
|
+
def _write_requirements(stream, reqs):
|
639
|
+
lines = yield_lines(reqs or ())
|
640
|
+
append_cr = lambda line: line + '\n'
|
641
|
+
lines = map(append_cr, lines)
|
642
|
+
stream.writelines(lines)
|
643
|
+
|
644
|
+
|
645
|
+
def write_requirements(cmd, basename, filename):
|
646
|
+
dist = cmd.distribution
|
647
|
+
data = six.StringIO()
|
648
|
+
_write_requirements(data, dist.install_requires)
|
649
|
+
extras_require = dist.extras_require or {}
|
650
|
+
for extra in sorted(extras_require):
|
651
|
+
data.write('\n[{extra}]\n'.format(**vars()))
|
652
|
+
_write_requirements(data, extras_require[extra])
|
653
|
+
cmd.write_or_delete_file("requirements", filename, data.getvalue())
|
654
|
+
|
655
|
+
|
656
|
+
def write_setup_requirements(cmd, basename, filename):
|
657
|
+
data = io.StringIO()
|
658
|
+
_write_requirements(data, cmd.distribution.setup_requires)
|
659
|
+
cmd.write_or_delete_file("setup-requirements", filename, data.getvalue())
|
660
|
+
|
661
|
+
|
662
|
+
def write_toplevel_names(cmd, basename, filename):
|
663
|
+
pkgs = dict.fromkeys(
|
664
|
+
[
|
665
|
+
k.split('.', 1)[0]
|
666
|
+
for k in cmd.distribution.iter_distribution_names()
|
667
|
+
]
|
668
|
+
)
|
669
|
+
cmd.write_file("top-level names", filename, '\n'.join(sorted(pkgs)) + '\n')
|
670
|
+
|
671
|
+
|
672
|
+
def overwrite_arg(cmd, basename, filename):
|
673
|
+
write_arg(cmd, basename, filename, True)
|
674
|
+
|
675
|
+
|
676
|
+
def write_arg(cmd, basename, filename, force=False):
|
677
|
+
argname = os.path.splitext(basename)[0]
|
678
|
+
value = getattr(cmd.distribution, argname, None)
|
679
|
+
if value is not None:
|
680
|
+
value = '\n'.join(value) + '\n'
|
681
|
+
cmd.write_or_delete_file(argname, filename, value, force)
|
682
|
+
|
683
|
+
|
684
|
+
def write_entries(cmd, basename, filename):
|
685
|
+
ep = cmd.distribution.entry_points
|
686
|
+
|
687
|
+
if isinstance(ep, six.string_types) or ep is None:
|
688
|
+
data = ep
|
689
|
+
elif ep is not None:
|
690
|
+
data = []
|
691
|
+
for section, contents in sorted(ep.items()):
|
692
|
+
if not isinstance(contents, six.string_types):
|
693
|
+
contents = EntryPoint.parse_group(section, contents)
|
694
|
+
contents = '\n'.join(sorted(map(str, contents.values())))
|
695
|
+
data.append('[%s]\n%s\n\n' % (section, contents))
|
696
|
+
data = ''.join(data)
|
697
|
+
|
698
|
+
cmd.write_or_delete_file('entry points', filename, data, True)
|
699
|
+
|
700
|
+
|
701
|
+
def get_pkg_info_revision():
|
702
|
+
"""
|
703
|
+
Get a -r### off of PKG-INFO Version in case this is an sdist of
|
704
|
+
a subversion revision.
|
705
|
+
"""
|
706
|
+
warnings.warn("get_pkg_info_revision is deprecated.", EggInfoDeprecationWarning)
|
707
|
+
if os.path.exists('PKG-INFO'):
|
708
|
+
with io.open('PKG-INFO') as f:
|
709
|
+
for line in f:
|
710
|
+
match = re.match(r"Version:.*-r(\d+)\s*$", line)
|
711
|
+
if match:
|
712
|
+
return int(match.group(1))
|
713
|
+
return 0
|
714
|
+
|
715
|
+
|
716
|
+
class EggInfoDeprecationWarning(SetuptoolsDeprecationWarning):
|
717
|
+
"""Class for warning about deprecations in eggInfo in setupTools. Not ignored by default, unlike DeprecationWarning."""
|