py2docfx 0.1.11.dev1827111__py3-none-any.whl → 0.1.11.dev1859874__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.
- py2docfx/__main__.py +4 -16
- py2docfx/convert_prepare/package_info.py +1 -1
- py2docfx/convert_prepare/tests/test_package_info.py +7 -22
- py2docfx/convert_prepare/tests/test_params.py +5 -0
- py2docfx/venv/0/Lib/site-packages/_distutils_hack/__init__.py +3 -4
- py2docfx/venv/0/Lib/site-packages/certifi/__init__.py +1 -1
- py2docfx/venv/0/Lib/site-packages/idna/__init__.py +2 -1
- py2docfx/venv/0/Lib/site-packages/idna/codec.py +31 -27
- py2docfx/venv/0/Lib/site-packages/idna/compat.py +6 -4
- py2docfx/venv/0/Lib/site-packages/idna/core.py +161 -119
- py2docfx/venv/0/Lib/site-packages/idna/idnadata.py +3537 -3539
- py2docfx/venv/0/Lib/site-packages/idna/intranges.py +7 -4
- py2docfx/venv/0/Lib/site-packages/idna/package_data.py +1 -2
- py2docfx/venv/0/Lib/site-packages/idna/uts46data.py +8261 -8178
- py2docfx/venv/0/Lib/site-packages/pkg_resources/__init__.py +145 -135
- py2docfx/venv/0/Lib/site-packages/pkg_resources/tests/test_find_distributions.py +3 -2
- py2docfx/venv/0/Lib/site-packages/pkg_resources/tests/test_pkg_resources.py +12 -17
- py2docfx/venv/0/Lib/site-packages/pkg_resources/tests/test_resources.py +12 -12
- py2docfx/venv/0/Lib/site-packages/pkg_resources/tests/test_working_set.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/__init__.py +67 -36
- py2docfx/venv/0/Lib/site-packages/setuptools/_core_metadata.py +4 -3
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_modified.py +3 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +75 -39
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/archive_util.py +5 -24
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/ccompiler.py +2 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/command/__init__.py +0 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/command/install.py +4 -3
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/command/install_lib.py +3 -3
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/command/sdist.py +1 -13
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/core.py +1 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/cygwinccompiler.py +11 -6
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/dir_util.py +120 -109
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/dist.py +8 -18
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/errors.py +5 -8
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/extension.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/file_util.py +2 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/sysconfig.py +3 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/tests/test_archive_util.py +0 -33
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/tests/test_dir_util.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/tests/test_modified.py +7 -0
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/tests/test_msvccompiler.py +33 -10
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/tests/test_sdist.py +4 -13
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/util.py +2 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/_entry_points.py +5 -4
- py2docfx/venv/0/Lib/site-packages/setuptools/_imp.py +2 -4
- py2docfx/venv/0/Lib/site-packages/setuptools/_importlib.py +0 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/_path.py +9 -4
- py2docfx/venv/0/Lib/site-packages/setuptools/_reqs.py +10 -7
- py2docfx/venv/0/Lib/site-packages/setuptools/_vendor/jaraco/collections/__init__.py +1091 -0
- py2docfx/venv/0/Lib/site-packages/setuptools/archive_util.py +6 -5
- py2docfx/venv/0/Lib/site-packages/setuptools/build_meta.py +15 -9
- py2docfx/venv/0/Lib/site-packages/setuptools/command/__init__.py +2 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/command/_requirestxt.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/command/alias.py +2 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/command/bdist_egg.py +8 -7
- py2docfx/venv/0/Lib/site-packages/setuptools/command/bdist_rpm.py +5 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/command/bdist_wheel.py +72 -34
- py2docfx/venv/0/Lib/site-packages/setuptools/command/build.py +11 -0
- py2docfx/venv/0/Lib/site-packages/setuptools/command/build_clib.py +8 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/command/build_ext.py +32 -23
- py2docfx/venv/0/Lib/site-packages/setuptools/command/build_py.py +11 -8
- py2docfx/venv/0/Lib/site-packages/setuptools/command/develop.py +8 -9
- py2docfx/venv/0/Lib/site-packages/setuptools/command/dist_info.py +3 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/command/easy_install.py +100 -74
- py2docfx/venv/0/Lib/site-packages/setuptools/command/editable_wheel.py +48 -36
- py2docfx/venv/0/Lib/site-packages/setuptools/command/egg_info.py +16 -25
- py2docfx/venv/0/Lib/site-packages/setuptools/command/install.py +9 -4
- py2docfx/venv/0/Lib/site-packages/setuptools/command/install_egg_info.py +4 -3
- py2docfx/venv/0/Lib/site-packages/setuptools/command/install_lib.py +8 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/command/install_scripts.py +7 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/command/rotate.py +4 -3
- py2docfx/venv/0/Lib/site-packages/setuptools/command/sdist.py +16 -4
- py2docfx/venv/0/Lib/site-packages/setuptools/command/setopt.py +6 -5
- py2docfx/venv/0/Lib/site-packages/setuptools/command/test.py +4 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/compat/py310.py +0 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/compat/py311.py +4 -3
- py2docfx/venv/0/Lib/site-packages/setuptools/compat/py312.py +13 -0
- py2docfx/venv/0/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +37 -16
- py2docfx/venv/0/Lib/site-packages/setuptools/config/_validate_pyproject/error_reporting.py +2 -4
- py2docfx/venv/0/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +266 -51
- py2docfx/venv/0/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +23 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/config/expand.py +18 -18
- py2docfx/venv/0/Lib/site-packages/setuptools/config/pyprojecttoml.py +20 -7
- py2docfx/venv/0/Lib/site-packages/setuptools/config/setupcfg.py +12 -9
- py2docfx/venv/0/Lib/site-packages/setuptools/depends.py +4 -5
- py2docfx/venv/0/Lib/site-packages/setuptools/discovery.py +2 -6
- py2docfx/venv/0/Lib/site-packages/setuptools/dist.py +24 -19
- py2docfx/venv/0/Lib/site-packages/setuptools/errors.py +23 -17
- py2docfx/venv/0/Lib/site-packages/setuptools/extension.py +22 -8
- py2docfx/venv/0/Lib/site-packages/setuptools/glob.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/installer.py +4 -3
- py2docfx/venv/0/Lib/site-packages/setuptools/launch.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/logging.py +4 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/modified.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/monkey.py +19 -50
- py2docfx/venv/0/Lib/site-packages/setuptools/msvc.py +118 -350
- py2docfx/venv/0/Lib/site-packages/setuptools/namespaces.py +6 -5
- py2docfx/venv/0/Lib/site-packages/setuptools/package_index.py +35 -35
- py2docfx/venv/0/Lib/site-packages/setuptools/sandbox.py +30 -31
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/__init__.py +4 -6
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/compat/py39.py +0 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/config/downloads/preload.py +0 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +51 -6
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/config/test_expand.py +2 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/config/test_pyprojecttoml.py +3 -4
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +6 -4
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/contexts.py +4 -4
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/environment.py +2 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/fixtures.py +3 -3
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/integration/helpers.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +3 -4
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/server.py +2 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_archive_util.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_bdist_deprecations.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +27 -17
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_build.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_build_clib.py +3 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_build_ext.py +5 -6
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_build_meta.py +12 -15
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_build_py.py +2 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_config_discovery.py +13 -9
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_core_metadata.py +4 -6
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_develop.py +5 -5
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_dist.py +10 -11
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_dist_info.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_distutils_adoption.py +1 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_easy_install.py +28 -18
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_editable_install.py +9 -9
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_egg_info.py +4 -9
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_extern.py +4 -9
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_find_packages.py +1 -2
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_find_py_modules.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_install_scripts.py +1 -0
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_logging.py +3 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_manifest.py +7 -7
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_namespaces.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_packageindex.py +4 -3
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_sandbox.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_sdist.py +76 -11
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_setuptools.py +8 -8
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_virtualenv.py +3 -5
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_warnings.py +0 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_wheel.py +9 -9
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_windows_wrappers.py +3 -3
- py2docfx/venv/0/Lib/site-packages/setuptools/unicode_utils.py +1 -1
- py2docfx/venv/0/Lib/site-packages/setuptools/wheel.py +5 -6
- py2docfx/venv/0/Lib/site-packages/setuptools/windows_support.py +2 -2
- py2docfx/venv/0/Lib/site-packages/urllib3/_request_methods.py +2 -3
- py2docfx/venv/0/Lib/site-packages/urllib3/_version.py +15 -3
- py2docfx/venv/0/Lib/site-packages/urllib3/connection.py +158 -54
- py2docfx/venv/0/Lib/site-packages/urllib3/contrib/pyopenssl.py +4 -0
- py2docfx/venv/0/Lib/site-packages/urllib3/http2/__init__.py +53 -0
- py2docfx/venv/0/Lib/site-packages/urllib3/http2/connection.py +356 -0
- py2docfx/venv/0/Lib/site-packages/urllib3/http2/probe.py +87 -0
- py2docfx/venv/0/Lib/site-packages/urllib3/util/connection.py +1 -1
- py2docfx/venv/0/Lib/site-packages/urllib3/util/request.py +1 -1
- py2docfx/venv/0/Lib/site-packages/urllib3/util/ssl_.py +12 -8
- py2docfx/venv/0/Lib/site-packages/urllib3/util/ssltransport.py +0 -3
- py2docfx/venv/0/Scripts/rst2html.py +1 -1
- py2docfx/venv/0/Scripts/rst2html4.py +1 -1
- py2docfx/venv/0/Scripts/rst2html5.py +1 -1
- py2docfx/venv/0/Scripts/rst2latex.py +1 -1
- py2docfx/venv/0/Scripts/rst2man.py +1 -1
- py2docfx/venv/0/Scripts/rst2odt.py +1 -1
- py2docfx/venv/0/Scripts/rst2odt_prepstyles.py +1 -1
- py2docfx/venv/0/Scripts/rst2pseudoxml.py +1 -1
- py2docfx/venv/0/Scripts/rst2s5.py +1 -1
- py2docfx/venv/0/Scripts/rst2xetex.py +1 -1
- py2docfx/venv/0/Scripts/rst2xml.py +1 -1
- py2docfx/venv/0/Scripts/rstpep2html.py +1 -1
- {py2docfx-0.1.11.dev1827111.dist-info → py2docfx-0.1.11.dev1859874.dist-info}/METADATA +1 -1
- py2docfx-0.1.11.dev1859874.dist-info/RECORD +1889 -0
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_collections.py +0 -58
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_functools.py +0 -73
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_itertools.py +0 -52
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/__init__.py +0 -0
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/__init__.py +0 -15
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_elffile.py +0 -108
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_manylinux.py +0 -260
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_musllinux.py +0 -83
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_parser.py +0 -356
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_structures.py +0 -61
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_tokenizer.py +0 -192
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/markers.py +0 -252
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/metadata.py +0 -825
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/requirements.py +0 -90
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/specifiers.py +0 -1017
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/tags.py +0 -571
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/utils.py +0 -172
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/_vendor/packaging/version.py +0 -563
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/bcppcompiler.py +0 -396
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/command/register.py +0 -322
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/command/upload.py +0 -208
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/config.py +0 -151
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/msvc9compiler.py +0 -822
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/msvccompiler.py +0 -687
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/tests/test_config.py +0 -116
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/tests/test_msvc9compiler.py +0 -184
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/tests/test_register.py +0 -314
- py2docfx/venv/0/Lib/site-packages/setuptools/_distutils/tests/test_upload.py +0 -215
- py2docfx/venv/0/Lib/site-packages/setuptools/_vendor/ordered_set/__init__.py +0 -536
- py2docfx/venv/0/Lib/site-packages/setuptools/command/register.py +0 -18
- py2docfx/venv/0/Lib/site-packages/setuptools/command/upload.py +0 -17
- py2docfx/venv/0/Lib/site-packages/setuptools/command/upload_docs.py +0 -221
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_integration.py +0 -122
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_msvc14.py +0 -83
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_register.py +0 -19
- py2docfx/venv/0/Lib/site-packages/setuptools/tests/test_upload.py +0 -19
- py2docfx/venv/0/Lib/site-packages/urllib3/http2.py +0 -230
- py2docfx/venv/template/Lib/site-packages/_distutils_hack/__init__.py +0 -241
- py2docfx/venv/template/Lib/site-packages/_distutils_hack/override.py +0 -1
- py2docfx/venv/template/Lib/site-packages/_yaml/__init__.py +0 -33
- py2docfx/venv/template/Lib/site-packages/alabaster/__init__.py +0 -35
- py2docfx/venv/template/Lib/site-packages/alabaster/support.py +0 -89
- py2docfx/venv/template/Lib/site-packages/babel/__init__.py +0 -37
- py2docfx/venv/template/Lib/site-packages/babel/core.py +0 -1300
- py2docfx/venv/template/Lib/site-packages/babel/dates.py +0 -1925
- py2docfx/venv/template/Lib/site-packages/babel/languages.py +0 -72
- py2docfx/venv/template/Lib/site-packages/babel/lists.py +0 -123
- py2docfx/venv/template/Lib/site-packages/babel/localedata.py +0 -278
- py2docfx/venv/template/Lib/site-packages/babel/localtime/__init__.py +0 -43
- py2docfx/venv/template/Lib/site-packages/babel/localtime/_fallback.py +0 -44
- py2docfx/venv/template/Lib/site-packages/babel/localtime/_helpers.py +0 -57
- py2docfx/venv/template/Lib/site-packages/babel/localtime/_unix.py +0 -98
- py2docfx/venv/template/Lib/site-packages/babel/localtime/_win32.py +0 -98
- py2docfx/venv/template/Lib/site-packages/babel/messages/__init__.py +0 -21
- py2docfx/venv/template/Lib/site-packages/babel/messages/_compat.py +0 -34
- py2docfx/venv/template/Lib/site-packages/babel/messages/catalog.py +0 -952
- py2docfx/venv/template/Lib/site-packages/babel/messages/checkers.py +0 -168
- py2docfx/venv/template/Lib/site-packages/babel/messages/extract.py +0 -843
- py2docfx/venv/template/Lib/site-packages/babel/messages/frontend.py +0 -1203
- py2docfx/venv/template/Lib/site-packages/babel/messages/jslexer.py +0 -203
- py2docfx/venv/template/Lib/site-packages/babel/messages/mofile.py +0 -212
- py2docfx/venv/template/Lib/site-packages/babel/messages/plurals.py +0 -257
- py2docfx/venv/template/Lib/site-packages/babel/messages/pofile.py +0 -675
- py2docfx/venv/template/Lib/site-packages/babel/messages/setuptools_frontend.py +0 -108
- py2docfx/venv/template/Lib/site-packages/babel/numbers.py +0 -1573
- py2docfx/venv/template/Lib/site-packages/babel/plural.py +0 -640
- py2docfx/venv/template/Lib/site-packages/babel/support.py +0 -726
- py2docfx/venv/template/Lib/site-packages/babel/units.py +0 -343
- py2docfx/venv/template/Lib/site-packages/babel/util.py +0 -269
- py2docfx/venv/template/Lib/site-packages/certifi/__init__.py +0 -4
- py2docfx/venv/template/Lib/site-packages/certifi/__main__.py +0 -12
- py2docfx/venv/template/Lib/site-packages/certifi/core.py +0 -114
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/__init__.py +0 -46
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/__main__.py +0 -4
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/api.py +0 -626
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/cd.py +0 -395
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/cli/__init__.py +0 -6
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/cli/__main__.py +0 -296
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/constant.py +0 -1995
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/legacy.py +0 -54
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/md.py +0 -615
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/models.py +0 -340
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/utils.py +0 -421
- py2docfx/venv/template/Lib/site-packages/charset_normalizer/version.py +0 -6
- py2docfx/venv/template/Lib/site-packages/colorama/__init__.py +0 -7
- py2docfx/venv/template/Lib/site-packages/colorama/ansi.py +0 -102
- py2docfx/venv/template/Lib/site-packages/colorama/ansitowin32.py +0 -277
- py2docfx/venv/template/Lib/site-packages/colorama/initialise.py +0 -121
- py2docfx/venv/template/Lib/site-packages/colorama/tests/__init__.py +0 -1
- py2docfx/venv/template/Lib/site-packages/colorama/tests/ansi_test.py +0 -76
- py2docfx/venv/template/Lib/site-packages/colorama/tests/ansitowin32_test.py +0 -294
- py2docfx/venv/template/Lib/site-packages/colorama/tests/initialise_test.py +0 -189
- py2docfx/venv/template/Lib/site-packages/colorama/tests/isatty_test.py +0 -57
- py2docfx/venv/template/Lib/site-packages/colorama/tests/utils.py +0 -49
- py2docfx/venv/template/Lib/site-packages/colorama/tests/winterm_test.py +0 -131
- py2docfx/venv/template/Lib/site-packages/colorama/win32.py +0 -180
- py2docfx/venv/template/Lib/site-packages/colorama/winterm.py +0 -195
- py2docfx/venv/template/Lib/site-packages/docutils/__init__.py +0 -284
- py2docfx/venv/template/Lib/site-packages/docutils/__main__.py +0 -96
- py2docfx/venv/template/Lib/site-packages/docutils/core.py +0 -714
- py2docfx/venv/template/Lib/site-packages/docutils/examples.py +0 -99
- py2docfx/venv/template/Lib/site-packages/docutils/frontend.py +0 -951
- py2docfx/venv/template/Lib/site-packages/docutils/io.py +0 -611
- py2docfx/venv/template/Lib/site-packages/docutils/languages/__init__.py +0 -83
- py2docfx/venv/template/Lib/site-packages/docutils/languages/af.py +0 -58
- py2docfx/venv/template/Lib/site-packages/docutils/languages/ar.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/ca.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/cs.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/da.py +0 -61
- py2docfx/venv/template/Lib/site-packages/docutils/languages/de.py +0 -58
- py2docfx/venv/template/Lib/site-packages/docutils/languages/en.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/eo.py +0 -61
- py2docfx/venv/template/Lib/site-packages/docutils/languages/es.py +0 -58
- py2docfx/venv/template/Lib/site-packages/docutils/languages/fa.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/fi.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/fr.py +0 -58
- py2docfx/venv/template/Lib/site-packages/docutils/languages/gl.py +0 -62
- py2docfx/venv/template/Lib/site-packages/docutils/languages/he.py +0 -61
- py2docfx/venv/template/Lib/site-packages/docutils/languages/it.py +0 -58
- py2docfx/venv/template/Lib/site-packages/docutils/languages/ja.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/ko.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/lt.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/lv.py +0 -59
- py2docfx/venv/template/Lib/site-packages/docutils/languages/nl.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/pl.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/pt_br.py +0 -60
- py2docfx/venv/template/Lib/site-packages/docutils/languages/ru.py +0 -58
- py2docfx/venv/template/Lib/site-packages/docutils/languages/sk.py +0 -58
- py2docfx/venv/template/Lib/site-packages/docutils/languages/sv.py +0 -59
- py2docfx/venv/template/Lib/site-packages/docutils/languages/zh_cn.py +0 -66
- py2docfx/venv/template/Lib/site-packages/docutils/languages/zh_tw.py +0 -65
- py2docfx/venv/template/Lib/site-packages/docutils/nodes.py +0 -2314
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/__init__.py +0 -92
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/commonmark_wrapper.py +0 -56
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/null.py +0 -20
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/recommonmark_wrapper.py +0 -136
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/__init__.py +0 -414
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/directives/__init__.py +0 -460
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/directives/admonitions.py +0 -99
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/directives/body.py +0 -304
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/directives/html.py +0 -21
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/directives/images.py +0 -163
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/directives/misc.py +0 -635
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/directives/parts.py +0 -126
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/directives/references.py +0 -29
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/directives/tables.py +0 -513
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/__init__.py +0 -40
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/af.py +0 -107
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/ar.py +0 -99
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/ca.py +0 -126
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/cs.py +0 -110
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/da.py +0 -113
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/de.py +0 -106
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/en.py +0 -111
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/eo.py +0 -118
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/es.py +0 -122
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/fa.py +0 -102
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/fi.py +0 -98
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/fr.py +0 -104
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/gl.py +0 -111
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/he.py +0 -109
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/it.py +0 -98
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/ja.py +0 -119
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/ko.py +0 -111
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/lt.py +0 -109
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/lv.py +0 -108
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/nl.py +0 -113
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/pl.py +0 -100
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/pt_br.py +0 -109
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/ru.py +0 -90
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/sk.py +0 -96
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/sv.py +0 -96
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/zh_cn.py +0 -104
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/languages/zh_tw.py +0 -109
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/roles.py +0 -439
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/states.py +0 -3135
- py2docfx/venv/template/Lib/site-packages/docutils/parsers/rst/tableparser.py +0 -539
- py2docfx/venv/template/Lib/site-packages/docutils/readers/__init__.py +0 -113
- py2docfx/venv/template/Lib/site-packages/docutils/readers/doctree.py +0 -46
- py2docfx/venv/template/Lib/site-packages/docutils/readers/pep.py +0 -48
- py2docfx/venv/template/Lib/site-packages/docutils/readers/standalone.py +0 -65
- py2docfx/venv/template/Lib/site-packages/docutils/statemachine.py +0 -1525
- py2docfx/venv/template/Lib/site-packages/docutils/transforms/__init__.py +0 -174
- py2docfx/venv/template/Lib/site-packages/docutils/transforms/components.py +0 -54
- py2docfx/venv/template/Lib/site-packages/docutils/transforms/frontmatter.py +0 -545
- py2docfx/venv/template/Lib/site-packages/docutils/transforms/misc.py +0 -144
- py2docfx/venv/template/Lib/site-packages/docutils/transforms/parts.py +0 -176
- py2docfx/venv/template/Lib/site-packages/docutils/transforms/peps.py +0 -308
- py2docfx/venv/template/Lib/site-packages/docutils/transforms/references.py +0 -919
- py2docfx/venv/template/Lib/site-packages/docutils/transforms/universal.py +0 -338
- py2docfx/venv/template/Lib/site-packages/docutils/transforms/writer_aux.py +0 -99
- py2docfx/venv/template/Lib/site-packages/docutils/utils/__init__.py +0 -821
- py2docfx/venv/template/Lib/site-packages/docutils/utils/code_analyzer.py +0 -138
- py2docfx/venv/template/Lib/site-packages/docutils/utils/error_reporting.py +0 -222
- py2docfx/venv/template/Lib/site-packages/docutils/utils/math/__init__.py +0 -52
- py2docfx/venv/template/Lib/site-packages/docutils/utils/math/latex2mathml.py +0 -1430
- py2docfx/venv/template/Lib/site-packages/docutils/utils/math/math2html.py +0 -3171
- py2docfx/venv/template/Lib/site-packages/docutils/utils/math/tex2mathml_extern.py +0 -152
- py2docfx/venv/template/Lib/site-packages/docutils/utils/math/tex2unichar.py +0 -704
- py2docfx/venv/template/Lib/site-packages/docutils/utils/math/unichar2tex.py +0 -808
- py2docfx/venv/template/Lib/site-packages/docutils/utils/punctuation_chars.py +0 -122
- py2docfx/venv/template/Lib/site-packages/docutils/utils/roman.py +0 -86
- py2docfx/venv/template/Lib/site-packages/docutils/utils/smartquotes.py +0 -991
- py2docfx/venv/template/Lib/site-packages/docutils/utils/urischemes.py +0 -138
- py2docfx/venv/template/Lib/site-packages/docutils/writers/__init__.py +0 -151
- py2docfx/venv/template/Lib/site-packages/docutils/writers/_html_base.py +0 -1781
- py2docfx/venv/template/Lib/site-packages/docutils/writers/docutils_xml.py +0 -188
- py2docfx/venv/template/Lib/site-packages/docutils/writers/html4css1/__init__.py +0 -947
- py2docfx/venv/template/Lib/site-packages/docutils/writers/html5_polyglot/__init__.py +0 -454
- py2docfx/venv/template/Lib/site-packages/docutils/writers/latex2e/__init__.py +0 -3295
- py2docfx/venv/template/Lib/site-packages/docutils/writers/manpage.py +0 -1181
- py2docfx/venv/template/Lib/site-packages/docutils/writers/null.py +0 -21
- py2docfx/venv/template/Lib/site-packages/docutils/writers/odf_odt/__init__.py +0 -3468
- py2docfx/venv/template/Lib/site-packages/docutils/writers/odf_odt/pygmentsformatter.py +0 -109
- py2docfx/venv/template/Lib/site-packages/docutils/writers/pep_html/__init__.py +0 -103
- py2docfx/venv/template/Lib/site-packages/docutils/writers/pseudoxml.py +0 -40
- py2docfx/venv/template/Lib/site-packages/docutils/writers/s5_html/__init__.py +0 -352
- py2docfx/venv/template/Lib/site-packages/docutils/writers/xetex/__init__.py +0 -149
- py2docfx/venv/template/Lib/site-packages/idna/__init__.py +0 -44
- py2docfx/venv/template/Lib/site-packages/idna/codec.py +0 -118
- py2docfx/venv/template/Lib/site-packages/idna/compat.py +0 -13
- py2docfx/venv/template/Lib/site-packages/idna/core.py +0 -395
- py2docfx/venv/template/Lib/site-packages/idna/idnadata.py +0 -4245
- py2docfx/venv/template/Lib/site-packages/idna/intranges.py +0 -54
- py2docfx/venv/template/Lib/site-packages/idna/package_data.py +0 -2
- py2docfx/venv/template/Lib/site-packages/idna/uts46data.py +0 -8598
- py2docfx/venv/template/Lib/site-packages/imagesize/__init__.py +0 -5
- py2docfx/venv/template/Lib/site-packages/imagesize/imagesize.py +0 -376
- py2docfx/venv/template/Lib/site-packages/imagesize.py +0 -383
- py2docfx/venv/template/Lib/site-packages/jinja2/__init__.py +0 -45
- py2docfx/venv/template/Lib/site-packages/jinja2/_identifier.py +0 -6
- py2docfx/venv/template/Lib/site-packages/jinja2/async_utils.py +0 -75
- py2docfx/venv/template/Lib/site-packages/jinja2/bccache.py +0 -364
- py2docfx/venv/template/Lib/site-packages/jinja2/compiler.py +0 -1957
- py2docfx/venv/template/Lib/site-packages/jinja2/constants.py +0 -20
- py2docfx/venv/template/Lib/site-packages/jinja2/debug.py +0 -259
- py2docfx/venv/template/Lib/site-packages/jinja2/defaults.py +0 -48
- py2docfx/venv/template/Lib/site-packages/jinja2/environment.py +0 -1661
- py2docfx/venv/template/Lib/site-packages/jinja2/exceptions.py +0 -166
- py2docfx/venv/template/Lib/site-packages/jinja2/ext.py +0 -879
- py2docfx/venv/template/Lib/site-packages/jinja2/filters.py +0 -1824
- py2docfx/venv/template/Lib/site-packages/jinja2/idtracking.py +0 -318
- py2docfx/venv/template/Lib/site-packages/jinja2/lexer.py +0 -869
- py2docfx/venv/template/Lib/site-packages/jinja2/loaders.py +0 -652
- py2docfx/venv/template/Lib/site-packages/jinja2/meta.py +0 -111
- py2docfx/venv/template/Lib/site-packages/jinja2/nativetypes.py +0 -124
- py2docfx/venv/template/Lib/site-packages/jinja2/nodes.py +0 -1204
- py2docfx/venv/template/Lib/site-packages/jinja2/optimizer.py +0 -47
- py2docfx/venv/template/Lib/site-packages/jinja2/parser.py +0 -1040
- py2docfx/venv/template/Lib/site-packages/jinja2/runtime.py +0 -1104
- py2docfx/venv/template/Lib/site-packages/jinja2/sandbox.py +0 -428
- py2docfx/venv/template/Lib/site-packages/jinja2/tests.py +0 -255
- py2docfx/venv/template/Lib/site-packages/jinja2/utils.py +0 -854
- py2docfx/venv/template/Lib/site-packages/jinja2/visitor.py +0 -92
- py2docfx/venv/template/Lib/site-packages/markupsafe/__init__.py +0 -332
- py2docfx/venv/template/Lib/site-packages/markupsafe/_native.py +0 -63
- py2docfx/venv/template/Lib/site-packages/packaging/__init__.py +0 -15
- py2docfx/venv/template/Lib/site-packages/packaging/_elffile.py +0 -110
- py2docfx/venv/template/Lib/site-packages/packaging/_manylinux.py +0 -262
- py2docfx/venv/template/Lib/site-packages/packaging/_musllinux.py +0 -85
- py2docfx/venv/template/Lib/site-packages/packaging/_parser.py +0 -354
- py2docfx/venv/template/Lib/site-packages/packaging/_structures.py +0 -61
- py2docfx/venv/template/Lib/site-packages/packaging/_tokenizer.py +0 -194
- py2docfx/venv/template/Lib/site-packages/packaging/markers.py +0 -325
- py2docfx/venv/template/Lib/site-packages/packaging/metadata.py +0 -804
- py2docfx/venv/template/Lib/site-packages/packaging/requirements.py +0 -91
- py2docfx/venv/template/Lib/site-packages/packaging/specifiers.py +0 -1009
- py2docfx/venv/template/Lib/site-packages/packaging/tags.py +0 -568
- py2docfx/venv/template/Lib/site-packages/packaging/utils.py +0 -174
- py2docfx/venv/template/Lib/site-packages/packaging/version.py +0 -563
- py2docfx/venv/template/Lib/site-packages/pip/__init__.py +0 -13
- py2docfx/venv/template/Lib/site-packages/pip/__main__.py +0 -24
- py2docfx/venv/template/Lib/site-packages/pip/__pip-runner__.py +0 -50
- py2docfx/venv/template/Lib/site-packages/pip/_internal/__init__.py +0 -18
- py2docfx/venv/template/Lib/site-packages/pip/_internal/build_env.py +0 -311
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cache.py +0 -290
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/__init__.py +0 -4
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/autocompletion.py +0 -172
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/base_command.py +0 -236
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/cmdoptions.py +0 -1074
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/command_context.py +0 -27
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/main.py +0 -79
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/main_parser.py +0 -134
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/parser.py +0 -294
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/progress_bars.py +0 -68
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/req_command.py +0 -505
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/spinners.py +0 -159
- py2docfx/venv/template/Lib/site-packages/pip/_internal/cli/status_codes.py +0 -6
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/__init__.py +0 -132
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/cache.py +0 -225
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/check.py +0 -54
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/completion.py +0 -130
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/configuration.py +0 -280
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/debug.py +0 -201
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/download.py +0 -147
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/freeze.py +0 -108
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/hash.py +0 -59
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/help.py +0 -41
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/index.py +0 -139
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/inspect.py +0 -92
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/install.py +0 -774
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/list.py +0 -368
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/search.py +0 -174
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/show.py +0 -189
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/uninstall.py +0 -113
- py2docfx/venv/template/Lib/site-packages/pip/_internal/commands/wheel.py +0 -183
- py2docfx/venv/template/Lib/site-packages/pip/_internal/configuration.py +0 -383
- py2docfx/venv/template/Lib/site-packages/pip/_internal/distributions/__init__.py +0 -21
- py2docfx/venv/template/Lib/site-packages/pip/_internal/distributions/base.py +0 -51
- py2docfx/venv/template/Lib/site-packages/pip/_internal/distributions/installed.py +0 -29
- py2docfx/venv/template/Lib/site-packages/pip/_internal/distributions/sdist.py +0 -156
- py2docfx/venv/template/Lib/site-packages/pip/_internal/distributions/wheel.py +0 -40
- py2docfx/venv/template/Lib/site-packages/pip/_internal/exceptions.py +0 -728
- py2docfx/venv/template/Lib/site-packages/pip/_internal/index/__init__.py +0 -2
- py2docfx/venv/template/Lib/site-packages/pip/_internal/index/collector.py +0 -507
- py2docfx/venv/template/Lib/site-packages/pip/_internal/index/package_finder.py +0 -1027
- py2docfx/venv/template/Lib/site-packages/pip/_internal/index/sources.py +0 -285
- py2docfx/venv/template/Lib/site-packages/pip/_internal/locations/__init__.py +0 -467
- py2docfx/venv/template/Lib/site-packages/pip/_internal/locations/_distutils.py +0 -172
- py2docfx/venv/template/Lib/site-packages/pip/_internal/locations/_sysconfig.py +0 -213
- py2docfx/venv/template/Lib/site-packages/pip/_internal/locations/base.py +0 -81
- py2docfx/venv/template/Lib/site-packages/pip/_internal/main.py +0 -12
- py2docfx/venv/template/Lib/site-packages/pip/_internal/metadata/__init__.py +0 -128
- py2docfx/venv/template/Lib/site-packages/pip/_internal/metadata/_json.py +0 -84
- py2docfx/venv/template/Lib/site-packages/pip/_internal/metadata/base.py +0 -702
- py2docfx/venv/template/Lib/site-packages/pip/_internal/metadata/importlib/__init__.py +0 -6
- py2docfx/venv/template/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py +0 -55
- py2docfx/venv/template/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py +0 -227
- py2docfx/venv/template/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py +0 -189
- py2docfx/venv/template/Lib/site-packages/pip/_internal/metadata/pkg_resources.py +0 -278
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/__init__.py +0 -2
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/candidate.py +0 -30
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/direct_url.py +0 -235
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/format_control.py +0 -78
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/index.py +0 -28
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/installation_report.py +0 -56
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/link.py +0 -579
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/scheme.py +0 -31
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/search_scope.py +0 -132
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/selection_prefs.py +0 -51
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/target_python.py +0 -122
- py2docfx/venv/template/Lib/site-packages/pip/_internal/models/wheel.py +0 -92
- py2docfx/venv/template/Lib/site-packages/pip/_internal/network/__init__.py +0 -2
- py2docfx/venv/template/Lib/site-packages/pip/_internal/network/auth.py +0 -561
- py2docfx/venv/template/Lib/site-packages/pip/_internal/network/cache.py +0 -106
- py2docfx/venv/template/Lib/site-packages/pip/_internal/network/download.py +0 -186
- py2docfx/venv/template/Lib/site-packages/pip/_internal/network/lazy_wheel.py +0 -210
- py2docfx/venv/template/Lib/site-packages/pip/_internal/network/session.py +0 -520
- py2docfx/venv/template/Lib/site-packages/pip/_internal/network/utils.py +0 -96
- py2docfx/venv/template/Lib/site-packages/pip/_internal/network/xmlrpc.py +0 -62
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/build/build_tracker.py +0 -139
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/build/metadata.py +0 -39
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py +0 -41
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/build/metadata_legacy.py +0 -74
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/build/wheel.py +0 -37
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py +0 -46
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/build/wheel_legacy.py +0 -102
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/check.py +0 -187
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/freeze.py +0 -255
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/install/__init__.py +0 -2
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/install/editable_legacy.py +0 -46
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/install/wheel.py +0 -734
- py2docfx/venv/template/Lib/site-packages/pip/_internal/operations/prepare.py +0 -730
- py2docfx/venv/template/Lib/site-packages/pip/_internal/pyproject.py +0 -179
- py2docfx/venv/template/Lib/site-packages/pip/_internal/req/__init__.py +0 -92
- py2docfx/venv/template/Lib/site-packages/pip/_internal/req/constructors.py +0 -576
- py2docfx/venv/template/Lib/site-packages/pip/_internal/req/req_file.py +0 -554
- py2docfx/venv/template/Lib/site-packages/pip/_internal/req/req_install.py +0 -923
- py2docfx/venv/template/Lib/site-packages/pip/_internal/req/req_set.py +0 -119
- py2docfx/venv/template/Lib/site-packages/pip/_internal/req/req_uninstall.py +0 -649
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/base.py +0 -20
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +0 -598
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +0 -141
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +0 -597
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +0 -812
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +0 -155
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +0 -255
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py +0 -80
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py +0 -166
- py2docfx/venv/template/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +0 -317
- py2docfx/venv/template/Lib/site-packages/pip/_internal/self_outdated_check.py +0 -248
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/_jaraco_text.py +0 -109
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/_log.py +0 -38
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/appdirs.py +0 -52
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/compat.py +0 -63
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/compatibility_tags.py +0 -165
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/datetime.py +0 -11
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/deprecation.py +0 -120
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py +0 -87
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/egg_link.py +0 -80
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/encoding.py +0 -36
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/entrypoints.py +0 -84
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/filesystem.py +0 -153
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/filetypes.py +0 -27
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/glibc.py +0 -88
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/hashes.py +0 -151
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/logging.py +0 -348
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/misc.py +0 -783
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/models.py +0 -39
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/packaging.py +0 -57
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/setuptools_build.py +0 -146
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/subprocess.py +0 -260
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/temp_dir.py +0 -296
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/unpacking.py +0 -257
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/urls.py +0 -62
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/virtualenv.py +0 -104
- py2docfx/venv/template/Lib/site-packages/pip/_internal/utils/wheel.py +0 -134
- py2docfx/venv/template/Lib/site-packages/pip/_internal/vcs/__init__.py +0 -15
- py2docfx/venv/template/Lib/site-packages/pip/_internal/vcs/bazaar.py +0 -112
- py2docfx/venv/template/Lib/site-packages/pip/_internal/vcs/git.py +0 -526
- py2docfx/venv/template/Lib/site-packages/pip/_internal/vcs/mercurial.py +0 -163
- py2docfx/venv/template/Lib/site-packages/pip/_internal/vcs/subversion.py +0 -324
- py2docfx/venv/template/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +0 -705
- py2docfx/venv/template/Lib/site-packages/pip/_internal/wheel_builder.py +0 -354
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/__init__.py +0 -121
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py +0 -28
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/_cmd.py +0 -70
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py +0 -161
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/cache.py +0 -74
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +0 -8
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +0 -181
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +0 -48
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/controller.py +0 -494
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py +0 -119
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py +0 -154
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py +0 -206
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py +0 -43
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/certifi/__init__.py +0 -4
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/certifi/__main__.py +0 -12
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/certifi/core.py +0 -108
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/__init__.py +0 -115
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/big5freq.py +0 -386
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/big5prober.py +0 -47
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/chardistribution.py +0 -261
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/charsetgroupprober.py +0 -106
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/charsetprober.py +0 -147
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/cli/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/cli/chardetect.py +0 -112
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/codingstatemachine.py +0 -90
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/codingstatemachinedict.py +0 -19
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/cp949prober.py +0 -49
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/enums.py +0 -85
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/escprober.py +0 -102
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/escsm.py +0 -261
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/eucjpprober.py +0 -102
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/euckrfreq.py +0 -196
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/euckrprober.py +0 -47
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/euctwfreq.py +0 -388
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/euctwprober.py +0 -47
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/gb2312freq.py +0 -284
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/gb2312prober.py +0 -47
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/hebrewprober.py +0 -316
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/jisfreq.py +0 -325
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/johabfreq.py +0 -2382
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/johabprober.py +0 -47
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/jpcntx.py +0 -238
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +0 -4649
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/langgreekmodel.py +0 -4397
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/langhebrewmodel.py +0 -4380
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/langhungarianmodel.py +0 -4649
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/langrussianmodel.py +0 -5725
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/langthaimodel.py +0 -4380
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py +0 -4380
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/latin1prober.py +0 -147
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/macromanprober.py +0 -162
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/mbcharsetprober.py +0 -95
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +0 -57
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/mbcssm.py +0 -661
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/metadata/languages.py +0 -352
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/resultdict.py +0 -16
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/sbcharsetprober.py +0 -162
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +0 -88
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/sjisprober.py +0 -105
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/universaldetector.py +0 -362
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/utf1632prober.py +0 -225
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/utf8prober.py +0 -82
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/chardet/version.py +0 -9
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/__init__.py +0 -7
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/ansi.py +0 -102
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/ansitowin32.py +0 -277
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/initialise.py +0 -121
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/tests/__init__.py +0 -1
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/tests/ansi_test.py +0 -76
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/tests/ansitowin32_test.py +0 -294
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/tests/initialise_test.py +0 -189
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/tests/isatty_test.py +0 -57
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/tests/utils.py +0 -49
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/tests/winterm_test.py +0 -131
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/win32.py +0 -180
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/colorama/winterm.py +0 -195
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/__init__.py +0 -33
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/compat.py +0 -1138
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/database.py +0 -1359
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/index.py +0 -508
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/locators.py +0 -1303
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/manifest.py +0 -384
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/markers.py +0 -167
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/metadata.py +0 -1068
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/resources.py +0 -358
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/scripts.py +0 -452
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/util.py +0 -2025
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/version.py +0 -751
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distlib/wheel.py +0 -1099
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distro/__init__.py +0 -54
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distro/__main__.py +0 -4
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/distro/distro.py +0 -1399
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/idna/__init__.py +0 -44
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/idna/codec.py +0 -112
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/idna/compat.py +0 -13
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/idna/core.py +0 -400
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/idna/idnadata.py +0 -2151
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/idna/intranges.py +0 -54
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/idna/package_data.py +0 -2
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/idna/uts46data.py +0 -8600
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/msgpack/__init__.py +0 -57
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/msgpack/exceptions.py +0 -48
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/msgpack/ext.py +0 -193
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/msgpack/fallback.py +0 -1010
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/packaging/__about__.py +0 -26
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/packaging/__init__.py +0 -25
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/packaging/_manylinux.py +0 -301
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/packaging/_musllinux.py +0 -136
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/packaging/_structures.py +0 -61
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/packaging/markers.py +0 -304
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/packaging/requirements.py +0 -146
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/packaging/specifiers.py +0 -802
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/packaging/tags.py +0 -487
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/packaging/utils.py +0 -136
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/packaging/version.py +0 -504
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py +0 -3361
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/platformdirs/__init__.py +0 -566
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/platformdirs/__main__.py +0 -53
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/platformdirs/android.py +0 -210
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/platformdirs/api.py +0 -223
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/platformdirs/macos.py +0 -91
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/platformdirs/unix.py +0 -223
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/platformdirs/version.py +0 -4
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/platformdirs/windows.py +0 -255
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/__init__.py +0 -82
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/__main__.py +0 -17
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/cmdline.py +0 -668
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/console.py +0 -70
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/filter.py +0 -71
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py +0 -940
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatter.py +0 -124
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py +0 -158
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/_mapping.py +0 -23
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/bbcode.py +0 -108
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/groff.py +0 -170
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/html.py +0 -989
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/img.py +0 -645
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/irc.py +0 -154
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/latex.py +0 -521
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/other.py +0 -161
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +0 -83
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/rtf.py +0 -146
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/svg.py +0 -188
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/terminal.py +0 -127
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/formatters/terminal256.py +0 -338
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/lexer.py +0 -943
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/lexers/__init__.py +0 -362
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/lexers/_mapping.py +0 -559
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/lexers/python.py +0 -1198
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/modeline.py +0 -43
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/plugin.py +0 -88
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/regexopt.py +0 -91
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/scanner.py +0 -104
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/sphinxext.py +0 -217
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/style.py +0 -197
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/styles/__init__.py +0 -103
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/token.py +0 -213
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/unistring.py +0 -153
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pygments/util.py +0 -330
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyparsing/__init__.py +0 -322
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyparsing/actions.py +0 -217
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyparsing/common.py +0 -432
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyparsing/core.py +0 -6115
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyparsing/diagram/__init__.py +0 -656
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyparsing/exceptions.py +0 -299
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyparsing/helpers.py +0 -1100
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyparsing/results.py +0 -796
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyparsing/testing.py +0 -331
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyparsing/unicode.py +0 -361
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyparsing/util.py +0 -284
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py +0 -23
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyproject_hooks/_compat.py +0 -8
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py +0 -330
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +0 -18
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +0 -353
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/__init__.py +0 -182
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/__version__.py +0 -14
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +0 -50
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/adapters.py +0 -538
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/api.py +0 -157
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/auth.py +0 -315
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/certs.py +0 -24
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/compat.py +0 -67
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/cookies.py +0 -561
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/exceptions.py +0 -141
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/help.py +0 -131
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/hooks.py +0 -33
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/models.py +0 -1034
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/packages.py +0 -16
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/sessions.py +0 -833
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/status_codes.py +0 -128
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/structures.py +0 -99
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/requests/utils.py +0 -1094
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +0 -26
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +0 -6
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/resolvelib/providers.py +0 -133
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +0 -43
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/resolvelib/resolvers.py +0 -547
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/resolvelib/structs.py +0 -170
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/__init__.py +0 -177
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/__main__.py +0 -274
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_cell_widths.py +0 -451
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_emoji_codes.py +0 -3610
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_emoji_replace.py +0 -32
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_export_format.py +0 -76
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_extension.py +0 -10
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_fileno.py +0 -24
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_inspect.py +0 -270
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_log_render.py +0 -94
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_loop.py +0 -43
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_null_file.py +0 -69
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_palettes.py +0 -309
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_pick.py +0 -17
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_ratio.py +0 -160
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_spinners.py +0 -482
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_stack.py +0 -16
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_timer.py +0 -19
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_win32_console.py +0 -662
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_windows.py +0 -72
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_windows_renderer.py +0 -56
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/_wrap.py +0 -56
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/abc.py +0 -33
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/align.py +0 -311
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/ansi.py +0 -240
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/bar.py +0 -94
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/box.py +0 -517
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/cells.py +0 -154
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/color.py +0 -622
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/color_triplet.py +0 -38
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/columns.py +0 -187
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/console.py +0 -2633
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/constrain.py +0 -37
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/containers.py +0 -167
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/control.py +0 -225
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/default_styles.py +0 -190
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/diagnose.py +0 -37
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/emoji.py +0 -96
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/errors.py +0 -34
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/file_proxy.py +0 -57
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/filesize.py +0 -89
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/highlighter.py +0 -232
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/json.py +0 -140
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/jupyter.py +0 -101
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/layout.py +0 -443
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/live.py +0 -375
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/live_render.py +0 -113
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/logging.py +0 -289
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/markup.py +0 -246
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/measure.py +0 -151
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/padding.py +0 -141
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/pager.py +0 -34
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/palette.py +0 -100
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/panel.py +0 -308
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/pretty.py +0 -994
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/progress.py +0 -1702
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/progress_bar.py +0 -224
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/prompt.py +0 -376
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/protocol.py +0 -42
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/region.py +0 -10
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/repr.py +0 -149
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/rule.py +0 -130
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/scope.py +0 -86
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/screen.py +0 -54
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/segment.py +0 -739
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/spinner.py +0 -137
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/status.py +0 -132
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/style.py +0 -796
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/styled.py +0 -42
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/syntax.py +0 -948
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/table.py +0 -1002
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/terminal_theme.py +0 -153
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/text.py +0 -1307
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/theme.py +0 -115
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/themes.py +0 -5
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/traceback.py +0 -756
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/rich/tree.py +0 -251
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/six.py +0 -998
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tenacity/__init__.py +0 -608
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tenacity/_asyncio.py +0 -94
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tenacity/_utils.py +0 -76
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tenacity/after.py +0 -51
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tenacity/before.py +0 -46
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tenacity/before_sleep.py +0 -71
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tenacity/nap.py +0 -43
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tenacity/retry.py +0 -272
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tenacity/stop.py +0 -103
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tenacity/tornadoweb.py +0 -59
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tenacity/wait.py +0 -228
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tomli/__init__.py +0 -11
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tomli/_parser.py +0 -691
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tomli/_re.py +0 -107
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/tomli/_types.py +0 -10
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/truststore/__init__.py +0 -13
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/truststore/_api.py +0 -302
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/truststore/_macos.py +0 -501
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/truststore/_openssl.py +0 -66
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/truststore/_ssl_constants.py +0 -31
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/truststore/_windows.py +0 -554
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/typing_extensions.py +0 -3072
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/__init__.py +0 -102
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/_collections.py +0 -337
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/_version.py +0 -2
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/connection.py +0 -572
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +0 -1132
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +0 -36
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +0 -519
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +0 -397
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/contrib/appengine.py +0 -314
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +0 -130
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +0 -518
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +0 -921
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +0 -216
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +0 -323
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/fields.py +0 -274
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/filepost.py +0 -98
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +0 -51
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +0 -155
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/packages/six.py +0 -1076
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +0 -537
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/request.py +0 -191
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/response.py +0 -879
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/__init__.py +0 -49
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/connection.py +0 -149
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/proxy.py +0 -57
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/queue.py +0 -22
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/request.py +0 -137
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/response.py +0 -107
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +0 -620
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +0 -495
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +0 -159
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py +0 -221
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py +0 -271
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/url.py +0 -435
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +0 -152
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/webencodings/__init__.py +0 -342
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/webencodings/labels.py +0 -231
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/webencodings/mklabels.py +0 -59
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/webencodings/tests.py +0 -153
- py2docfx/venv/template/Lib/site-packages/pip/_vendor/webencodings/x_user_defined.py +0 -325
- py2docfx/venv/template/Lib/site-packages/pkg_resources/__init__.py +0 -3715
- py2docfx/venv/template/Lib/site-packages/pkg_resources/tests/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +0 -7
- py2docfx/venv/template/Lib/site-packages/pkg_resources/tests/test_find_distributions.py +0 -55
- py2docfx/venv/template/Lib/site-packages/pkg_resources/tests/test_integration_zope_interface.py +0 -54
- py2docfx/venv/template/Lib/site-packages/pkg_resources/tests/test_markers.py +0 -8
- py2docfx/venv/template/Lib/site-packages/pkg_resources/tests/test_pkg_resources.py +0 -432
- py2docfx/venv/template/Lib/site-packages/pkg_resources/tests/test_resources.py +0 -869
- py2docfx/venv/template/Lib/site-packages/pkg_resources/tests/test_working_set.py +0 -501
- py2docfx/venv/template/Lib/site-packages/pygments/__init__.py +0 -82
- py2docfx/venv/template/Lib/site-packages/pygments/__main__.py +0 -17
- py2docfx/venv/template/Lib/site-packages/pygments/cmdline.py +0 -668
- py2docfx/venv/template/Lib/site-packages/pygments/console.py +0 -70
- py2docfx/venv/template/Lib/site-packages/pygments/filter.py +0 -70
- py2docfx/venv/template/Lib/site-packages/pygments/filters/__init__.py +0 -940
- py2docfx/venv/template/Lib/site-packages/pygments/formatter.py +0 -129
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/__init__.py +0 -157
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/_mapping.py +0 -23
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/bbcode.py +0 -108
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/groff.py +0 -170
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/html.py +0 -987
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/img.py +0 -685
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/irc.py +0 -154
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/latex.py +0 -518
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/other.py +0 -160
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/pangomarkup.py +0 -83
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/rtf.py +0 -349
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/svg.py +0 -185
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/terminal.py +0 -127
- py2docfx/venv/template/Lib/site-packages/pygments/formatters/terminal256.py +0 -338
- py2docfx/venv/template/Lib/site-packages/pygments/lexer.py +0 -961
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/__init__.py +0 -362
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_ada_builtins.py +0 -103
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_asy_builtins.py +0 -1644
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_cl_builtins.py +0 -231
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_cocoa_builtins.py +0 -75
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_csound_builtins.py +0 -1780
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_css_builtins.py +0 -558
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_julia_builtins.py +0 -411
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_lasso_builtins.py +0 -5326
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_lilypond_builtins.py +0 -4932
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_lua_builtins.py +0 -285
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_luau_builtins.py +0 -62
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_mapping.py +0 -589
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_mql_builtins.py +0 -1171
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_mysql_builtins.py +0 -1335
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_openedge_builtins.py +0 -2600
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_php_builtins.py +0 -3325
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_postgres_builtins.py +0 -739
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_qlik_builtins.py +0 -666
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_scheme_builtins.py +0 -1609
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_scilab_builtins.py +0 -3093
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_sourcemod_builtins.py +0 -1151
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_stan_builtins.py +0 -648
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_stata_builtins.py +0 -457
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_tsql_builtins.py +0 -1003
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_usd_builtins.py +0 -112
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_vbscript_builtins.py +0 -279
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/_vim_builtins.py +0 -1938
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/actionscript.py +0 -243
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ada.py +0 -144
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/agile.py +0 -25
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/algebra.py +0 -298
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ambient.py +0 -75
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/amdgpu.py +0 -54
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ampl.py +0 -87
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/apdlexer.py +0 -593
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/apl.py +0 -103
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/archetype.py +0 -315
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/arrow.py +0 -116
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/arturo.py +0 -249
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/asc.py +0 -55
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/asm.py +0 -1050
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/asn1.py +0 -178
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/automation.py +0 -379
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/bare.py +0 -101
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/basic.py +0 -656
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/bdd.py +0 -57
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/berry.py +0 -99
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/bibtex.py +0 -159
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/blueprint.py +0 -173
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/boa.py +0 -97
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/bqn.py +0 -109
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/business.py +0 -625
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/c_cpp.py +0 -414
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/c_like.py +0 -738
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/capnproto.py +0 -74
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/carbon.py +0 -95
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/cddl.py +0 -172
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/chapel.py +0 -139
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/clean.py +0 -180
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/comal.py +0 -81
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/compiled.py +0 -35
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/configs.py +0 -1424
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/console.py +0 -114
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/cplint.py +0 -43
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/crystal.py +0 -364
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/csound.py +0 -466
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/css.py +0 -602
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/d.py +0 -259
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/dalvik.py +0 -126
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/data.py +0 -763
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/dax.py +0 -135
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/devicetree.py +0 -108
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/diff.py +0 -169
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/dns.py +0 -109
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/dotnet.py +0 -846
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/dsls.py +0 -970
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/dylan.py +0 -279
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ecl.py +0 -144
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/eiffel.py +0 -68
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/elm.py +0 -123
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/elpi.py +0 -172
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/email.py +0 -132
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/erlang.py +0 -526
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/esoteric.py +0 -300
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ezhil.py +0 -76
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/factor.py +0 -363
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/fantom.py +0 -251
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/felix.py +0 -275
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/fift.py +0 -68
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/floscript.py +0 -81
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/forth.py +0 -178
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/fortran.py +0 -212
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/foxpro.py +0 -427
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/freefem.py +0 -893
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/func.py +0 -110
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/functional.py +0 -21
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/futhark.py +0 -105
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/gcodelexer.py +0 -35
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/gdscript.py +0 -189
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/go.py +0 -97
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/grammar_notation.py +0 -262
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/graph.py +0 -108
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/graphics.py +0 -794
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/graphql.py +0 -176
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/graphviz.py +0 -58
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/gsql.py +0 -103
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/haskell.py +0 -866
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/haxe.py +0 -935
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/hdl.py +0 -466
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/hexdump.py +0 -102
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/html.py +0 -626
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/idl.py +0 -284
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/igor.py +0 -435
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/inferno.py +0 -95
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/installers.py +0 -325
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/int_fiction.py +0 -1370
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/iolang.py +0 -61
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/j.py +0 -151
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/javascript.py +0 -1587
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/jmespath.py +0 -69
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/jslt.py +0 -94
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/jsonnet.py +0 -169
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/jsx.py +0 -75
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/julia.py +0 -293
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/jvm.py +0 -1802
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/kuin.py +0 -332
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/kusto.py +0 -93
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ldap.py +0 -155
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/lean.py +0 -241
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/lilypond.py +0 -225
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/lisp.py +0 -3146
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/macaulay2.py +0 -1788
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/make.py +0 -212
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/markup.py +0 -1654
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/math.py +0 -21
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/matlab.py +0 -3306
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/maxima.py +0 -84
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/meson.py +0 -139
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/mime.py +0 -210
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/minecraft.py +0 -391
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/mips.py +0 -130
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ml.py +0 -958
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/modeling.py +0 -366
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/modula2.py +0 -1579
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/mojo.py +0 -704
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/monte.py +0 -203
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/mosel.py +0 -447
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ncl.py +0 -894
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/nimrod.py +0 -199
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/nit.py +0 -63
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/nix.py +0 -144
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/oberon.py +0 -120
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/objective.py +0 -513
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ooc.py +0 -84
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/openscad.py +0 -96
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/other.py +0 -41
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/parasail.py +0 -78
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/parsers.py +0 -798
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/pascal.py +0 -644
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/pawn.py +0 -202
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/perl.py +0 -733
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/phix.py +0 -363
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/php.py +0 -334
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/pointless.py +0 -70
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/pony.py +0 -93
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/praat.py +0 -303
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/procfile.py +0 -41
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/prolog.py +0 -318
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/promql.py +0 -176
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/prql.py +0 -251
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ptx.py +0 -119
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/python.py +0 -1198
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/q.py +0 -187
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/qlik.py +0 -117
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/qvt.py +0 -153
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/r.py +0 -192
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/rdf.py +0 -468
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/rebol.py +0 -419
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/resource.py +0 -83
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ride.py +0 -138
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/rita.py +0 -42
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/rnc.py +0 -66
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/roboconf.py +0 -81
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/robotframework.py +0 -551
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ruby.py +0 -518
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/rust.py +0 -222
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/sas.py +0 -227
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/savi.py +0 -171
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/scdoc.py +0 -85
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/scripting.py +0 -1598
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/sgf.py +0 -59
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/shell.py +0 -898
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/sieve.py +0 -78
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/slash.py +0 -183
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/smalltalk.py +0 -194
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/smithy.py +0 -77
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/smv.py +0 -78
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/snobol.py +0 -82
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/solidity.py +0 -87
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/soong.py +0 -78
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/sophia.py +0 -102
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/special.py +0 -121
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/spice.py +0 -70
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/sql.py +0 -1033
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/srcinfo.py +0 -62
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/stata.py +0 -170
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/supercollider.py +0 -94
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/tact.py +0 -303
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/tal.py +0 -77
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/tcl.py +0 -148
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/teal.py +0 -88
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/templates.py +0 -2355
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/teraterm.py +0 -325
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/testing.py +0 -209
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/text.py +0 -27
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/textedit.py +0 -205
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/textfmts.py +0 -436
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/theorem.py +0 -410
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/thingsdb.py +0 -140
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/tlb.py +0 -59
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/tls.py +0 -54
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/tnt.py +0 -270
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/trafficscript.py +0 -51
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/typoscript.py +0 -216
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/typst.py +0 -104
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/ul4.py +0 -309
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/unicon.py +0 -413
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/urbi.py +0 -145
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/usd.py +0 -85
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/varnish.py +0 -189
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/verification.py +0 -113
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/verifpal.py +0 -65
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/vip.py +0 -150
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/vyper.py +0 -140
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/web.py +0 -24
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/webassembly.py +0 -119
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/webidl.py +0 -298
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/webmisc.py +0 -1006
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/wgsl.py +0 -406
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/whiley.py +0 -115
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/wowtoc.py +0 -120
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/wren.py +0 -98
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/x10.py +0 -66
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/xorg.py +0 -38
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/yang.py +0 -103
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/yara.py +0 -69
- py2docfx/venv/template/Lib/site-packages/pygments/lexers/zig.py +0 -125
- py2docfx/venv/template/Lib/site-packages/pygments/modeline.py +0 -43
- py2docfx/venv/template/Lib/site-packages/pygments/plugin.py +0 -72
- py2docfx/venv/template/Lib/site-packages/pygments/regexopt.py +0 -91
- py2docfx/venv/template/Lib/site-packages/pygments/scanner.py +0 -104
- py2docfx/venv/template/Lib/site-packages/pygments/sphinxext.py +0 -247
- py2docfx/venv/template/Lib/site-packages/pygments/style.py +0 -203
- py2docfx/venv/template/Lib/site-packages/pygments/styles/__init__.py +0 -61
- py2docfx/venv/template/Lib/site-packages/pygments/styles/_mapping.py +0 -54
- py2docfx/venv/template/Lib/site-packages/pygments/styles/abap.py +0 -32
- py2docfx/venv/template/Lib/site-packages/pygments/styles/algol.py +0 -65
- py2docfx/venv/template/Lib/site-packages/pygments/styles/algol_nu.py +0 -65
- py2docfx/venv/template/Lib/site-packages/pygments/styles/arduino.py +0 -100
- py2docfx/venv/template/Lib/site-packages/pygments/styles/autumn.py +0 -67
- py2docfx/venv/template/Lib/site-packages/pygments/styles/borland.py +0 -53
- py2docfx/venv/template/Lib/site-packages/pygments/styles/bw.py +0 -52
- py2docfx/venv/template/Lib/site-packages/pygments/styles/coffee.py +0 -80
- py2docfx/venv/template/Lib/site-packages/pygments/styles/colorful.py +0 -83
- py2docfx/venv/template/Lib/site-packages/pygments/styles/default.py +0 -76
- py2docfx/venv/template/Lib/site-packages/pygments/styles/dracula.py +0 -90
- py2docfx/venv/template/Lib/site-packages/pygments/styles/emacs.py +0 -75
- py2docfx/venv/template/Lib/site-packages/pygments/styles/friendly.py +0 -76
- py2docfx/venv/template/Lib/site-packages/pygments/styles/friendly_grayscale.py +0 -80
- py2docfx/venv/template/Lib/site-packages/pygments/styles/fruity.py +0 -47
- py2docfx/venv/template/Lib/site-packages/pygments/styles/gh_dark.py +0 -113
- py2docfx/venv/template/Lib/site-packages/pygments/styles/gruvbox.py +0 -118
- py2docfx/venv/template/Lib/site-packages/pygments/styles/igor.py +0 -32
- py2docfx/venv/template/Lib/site-packages/pygments/styles/inkpot.py +0 -72
- py2docfx/venv/template/Lib/site-packages/pygments/styles/lightbulb.py +0 -110
- py2docfx/venv/template/Lib/site-packages/pygments/styles/lilypond.py +0 -62
- py2docfx/venv/template/Lib/site-packages/pygments/styles/lovelace.py +0 -100
- py2docfx/venv/template/Lib/site-packages/pygments/styles/manni.py +0 -79
- py2docfx/venv/template/Lib/site-packages/pygments/styles/material.py +0 -124
- py2docfx/venv/template/Lib/site-packages/pygments/styles/monokai.py +0 -112
- py2docfx/venv/template/Lib/site-packages/pygments/styles/murphy.py +0 -82
- py2docfx/venv/template/Lib/site-packages/pygments/styles/native.py +0 -70
- py2docfx/venv/template/Lib/site-packages/pygments/styles/nord.py +0 -156
- py2docfx/venv/template/Lib/site-packages/pygments/styles/onedark.py +0 -63
- py2docfx/venv/template/Lib/site-packages/pygments/styles/paraiso_dark.py +0 -124
- py2docfx/venv/template/Lib/site-packages/pygments/styles/paraiso_light.py +0 -124
- py2docfx/venv/template/Lib/site-packages/pygments/styles/pastie.py +0 -78
- py2docfx/venv/template/Lib/site-packages/pygments/styles/perldoc.py +0 -73
- py2docfx/venv/template/Lib/site-packages/pygments/styles/rainbow_dash.py +0 -95
- py2docfx/venv/template/Lib/site-packages/pygments/styles/rrt.py +0 -39
- py2docfx/venv/template/Lib/site-packages/pygments/styles/sas.py +0 -46
- py2docfx/venv/template/Lib/site-packages/pygments/styles/solarized.py +0 -144
- py2docfx/venv/template/Lib/site-packages/pygments/styles/staroffice.py +0 -31
- py2docfx/venv/template/Lib/site-packages/pygments/styles/stata_dark.py +0 -42
- py2docfx/venv/template/Lib/site-packages/pygments/styles/stata_light.py +0 -42
- py2docfx/venv/template/Lib/site-packages/pygments/styles/tango.py +0 -143
- py2docfx/venv/template/Lib/site-packages/pygments/styles/trac.py +0 -66
- py2docfx/venv/template/Lib/site-packages/pygments/styles/vim.py +0 -67
- py2docfx/venv/template/Lib/site-packages/pygments/styles/vs.py +0 -41
- py2docfx/venv/template/Lib/site-packages/pygments/styles/xcode.py +0 -53
- py2docfx/venv/template/Lib/site-packages/pygments/styles/zenburn.py +0 -83
- py2docfx/venv/template/Lib/site-packages/pygments/token.py +0 -214
- py2docfx/venv/template/Lib/site-packages/pygments/unistring.py +0 -153
- py2docfx/venv/template/Lib/site-packages/pygments/util.py +0 -324
- py2docfx/venv/template/Lib/site-packages/requests/__init__.py +0 -184
- py2docfx/venv/template/Lib/site-packages/requests/__version__.py +0 -14
- py2docfx/venv/template/Lib/site-packages/requests/_internal_utils.py +0 -50
- py2docfx/venv/template/Lib/site-packages/requests/adapters.py +0 -719
- py2docfx/venv/template/Lib/site-packages/requests/api.py +0 -157
- py2docfx/venv/template/Lib/site-packages/requests/auth.py +0 -314
- py2docfx/venv/template/Lib/site-packages/requests/certs.py +0 -17
- py2docfx/venv/template/Lib/site-packages/requests/compat.py +0 -94
- py2docfx/venv/template/Lib/site-packages/requests/cookies.py +0 -561
- py2docfx/venv/template/Lib/site-packages/requests/exceptions.py +0 -151
- py2docfx/venv/template/Lib/site-packages/requests/help.py +0 -134
- py2docfx/venv/template/Lib/site-packages/requests/hooks.py +0 -33
- py2docfx/venv/template/Lib/site-packages/requests/models.py +0 -1037
- py2docfx/venv/template/Lib/site-packages/requests/packages.py +0 -23
- py2docfx/venv/template/Lib/site-packages/requests/sessions.py +0 -831
- py2docfx/venv/template/Lib/site-packages/requests/status_codes.py +0 -128
- py2docfx/venv/template/Lib/site-packages/requests/structures.py +0 -99
- py2docfx/venv/template/Lib/site-packages/requests/utils.py +0 -1096
- py2docfx/venv/template/Lib/site-packages/setuptools/__init__.py +0 -259
- py2docfx/venv/template/Lib/site-packages/setuptools/_core_metadata.py +0 -285
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/__init__.py +0 -14
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_collections.py +0 -58
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_functools.py +0 -73
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_itertools.py +0 -52
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_log.py +0 -3
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_macos_compat.py +0 -12
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_modified.py +0 -72
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +0 -568
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/__init__.py +0 -15
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_elffile.py +0 -108
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_manylinux.py +0 -260
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_musllinux.py +0 -83
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_parser.py +0 -356
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_structures.py +0 -61
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/_tokenizer.py +0 -192
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/markers.py +0 -252
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/metadata.py +0 -825
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/requirements.py +0 -90
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/specifiers.py +0 -1017
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/tags.py +0 -571
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/utils.py +0 -172
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/_vendor/packaging/version.py +0 -563
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/archive_util.py +0 -283
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/bcppcompiler.py +0 -396
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/ccompiler.py +0 -1255
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/cmd.py +0 -439
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/__init__.py +0 -25
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/_framework_compat.py +0 -54
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/bdist.py +0 -155
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/bdist_dumb.py +0 -140
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/bdist_rpm.py +0 -597
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/build.py +0 -156
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/build_clib.py +0 -208
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/build_ext.py +0 -797
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/build_py.py +0 -406
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/build_scripts.py +0 -170
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/check.py +0 -154
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/clean.py +0 -76
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/config.py +0 -369
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/install.py +0 -810
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/install_data.py +0 -94
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/install_egg_info.py +0 -92
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/install_headers.py +0 -44
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/install_lib.py +0 -234
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/install_scripts.py +0 -61
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/register.py +0 -322
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/sdist.py +0 -527
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/command/upload.py +0 -208
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/compat/__init__.py +0 -15
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/compat/py38.py +0 -34
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/compat/py39.py +0 -66
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/config.py +0 -151
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/core.py +0 -287
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/cygwinccompiler.py +0 -334
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/debug.py +0 -5
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/dep_util.py +0 -14
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/dir_util.py +0 -238
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/dist.py +0 -1298
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/errors.py +0 -127
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/extension.py +0 -247
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/fancy_getopt.py +0 -469
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/file_util.py +0 -235
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/filelist.py +0 -369
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/log.py +0 -56
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/msvc9compiler.py +0 -822
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/msvccompiler.py +0 -687
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/spawn.py +0 -117
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -582
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/__init__.py +0 -42
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/compat/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/compat/py38.py +0 -50
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/support.py +0 -134
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_archive_util.py +0 -386
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_bdist.py +0 -47
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_bdist_dumb.py +0 -78
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_bdist_rpm.py +0 -128
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_build.py +0 -47
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_build_clib.py +0 -134
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +0 -563
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_build_py.py +0 -196
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_build_scripts.py +0 -96
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_ccompiler.py +0 -91
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_check.py +0 -194
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_clean.py +0 -45
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_cmd.py +0 -107
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_config.py +0 -116
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_config_cmd.py +0 -87
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_core.py +0 -130
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py +0 -81
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_dir_util.py +0 -112
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_dist.py +0 -545
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_extension.py +0 -108
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_file_util.py +0 -94
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_filelist.py +0 -336
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_install.py +0 -245
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_install_data.py +0 -74
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_install_headers.py +0 -33
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_install_lib.py +0 -110
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_install_scripts.py +0 -52
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_log.py +0 -12
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_mingwccompiler.py +0 -56
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_modified.py +0 -119
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_msvc9compiler.py +0 -184
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_msvccompiler.py +0 -114
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_register.py +0 -314
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_sdist.py +0 -479
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_spawn.py +0 -131
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_sysconfig.py +0 -319
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_text_file.py +0 -127
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_unixccompiler.py +0 -351
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_upload.py +0 -215
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_util.py +0 -243
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_version.py +0 -80
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/test_versionpredicate.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/tests/unix_compat.py +0 -17
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/text_file.py +0 -286
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/unixccompiler.py +0 -402
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/util.py +0 -504
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/version.py +0 -349
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/versionpredicate.py +0 -175
- py2docfx/venv/template/Lib/site-packages/setuptools/_distutils/zosccompiler.py +0 -229
- py2docfx/venv/template/Lib/site-packages/setuptools/_entry_points.py +0 -89
- py2docfx/venv/template/Lib/site-packages/setuptools/_imp.py +0 -89
- py2docfx/venv/template/Lib/site-packages/setuptools/_importlib.py +0 -13
- py2docfx/venv/template/Lib/site-packages/setuptools/_itertools.py +0 -23
- py2docfx/venv/template/Lib/site-packages/setuptools/_normalization.py +0 -144
- py2docfx/venv/template/Lib/site-packages/setuptools/_path.py +0 -82
- py2docfx/venv/template/Lib/site-packages/setuptools/_reqs.py +0 -38
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/autocommand/__init__.py +0 -27
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/autocommand/autoasync.py +0 -142
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/autocommand/autocommand.py +0 -70
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/autocommand/automain.py +0 -59
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/autocommand/autoparse.py +0 -333
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/autocommand/errors.py +0 -23
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/backports/__init__.py +0 -1
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/backports/tarfile/__init__.py +0 -2937
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/backports/tarfile/__main__.py +0 -5
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/backports/tarfile/compat/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/backports/tarfile/compat/py38.py +0 -24
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/__init__.py +0 -1083
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/_adapters.py +0 -83
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/_collections.py +0 -30
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/_compat.py +0 -57
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/_functools.py +0 -104
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/_itertools.py +0 -73
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/_meta.py +0 -67
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/_text.py +0 -99
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/py311.py +0 -22
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/py39.py +0 -36
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_metadata/diagnose.py +0 -21
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/__init__.py +0 -36
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/_adapters.py +0 -168
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/_common.py +0 -210
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/_itertools.py +0 -38
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/abc.py +0 -171
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/py38.py +0 -11
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/py39.py +0 -10
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/functional.py +0 -81
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/future/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/future/adapters.py +0 -95
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/readers.py +0 -194
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/simple.py +0 -106
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/_path.py +0 -56
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/py312.py +0 -18
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/py39.py +0 -10
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data01/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data01/subdirectory/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/one/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/two/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_compatibilty_files.py +0 -104
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_contents.py +0 -43
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_custom.py +0 -47
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_files.py +0 -117
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_functional.py +0 -242
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_open.py +0 -89
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_path.py +0 -65
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_read.py +0 -97
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_reader.py +0 -145
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_resource.py +0 -241
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/util.py +0 -164
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/zip.py +0 -32
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/inflect/__init__.py +0 -3986
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/inflect/compat/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/inflect/compat/py38.py +0 -7
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/jaraco/context.py +0 -361
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/jaraco/functools/__init__.py +0 -633
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/jaraco/text/__init__.py +0 -624
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/jaraco/text/layouts.py +0 -25
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/jaraco/text/show-newlines.py +0 -33
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/jaraco/text/strip-prefix.py +0 -21
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/jaraco/text/to-dvorak.py +0 -6
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/jaraco/text/to-qwerty.py +0 -6
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/more_itertools/__init__.py +0 -6
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/more_itertools/more.py +0 -4806
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/more_itertools/recipes.py +0 -1046
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/ordered_set/__init__.py +0 -536
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/__init__.py +0 -15
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/_elffile.py +0 -110
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/_manylinux.py +0 -262
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/_musllinux.py +0 -85
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/_parser.py +0 -354
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/_structures.py +0 -61
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/_tokenizer.py +0 -194
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/markers.py +0 -325
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/metadata.py +0 -804
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/requirements.py +0 -91
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/specifiers.py +0 -1009
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/tags.py +0 -568
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/utils.py +0 -174
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/packaging/version.py +0 -563
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/platformdirs/__init__.py +0 -627
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/platformdirs/__main__.py +0 -55
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/platformdirs/android.py +0 -249
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/platformdirs/api.py +0 -292
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/platformdirs/macos.py +0 -130
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/platformdirs/unix.py +0 -275
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/platformdirs/version.py +0 -16
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/platformdirs/windows.py +0 -272
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/tomli/__init__.py +0 -11
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/tomli/_parser.py +0 -691
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/tomli/_re.py +0 -107
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/tomli/_types.py +0 -10
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/__init__.py +0 -48
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_checkers.py +0 -993
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_config.py +0 -108
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_decorators.py +0 -235
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_exceptions.py +0 -42
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_functions.py +0 -308
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_importhook.py +0 -213
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_memo.py +0 -48
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_pytest_plugin.py +0 -127
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_suppression.py +0 -86
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_transformer.py +0 -1229
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_union_transformer.py +0 -55
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typeguard/_utils.py +0 -173
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/typing_extensions.py +0 -3641
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +0 -3
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/__main__.py +0 -23
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +0 -26
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +0 -595
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +0 -155
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +0 -273
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/cli/pack.py +0 -85
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/cli/tags.py +0 -139
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/cli/unpack.py +0 -30
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +0 -469
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +0 -180
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -26
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_elffile.py +0 -108
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_manylinux.py +0 -260
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_musllinux.py +0 -83
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_parser.py +0 -356
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_structures.py +0 -61
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_tokenizer.py +0 -192
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/markers.py +0 -253
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/requirements.py +0 -90
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/specifiers.py +0 -1011
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/tags.py +0 -571
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/utils.py +0 -172
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/version.py +0 -561
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +0 -196
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/zipp/__init__.py +0 -501
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/zipp/compat/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/zipp/compat/py310.py +0 -11
- py2docfx/venv/template/Lib/site-packages/setuptools/_vendor/zipp/glob.py +0 -106
- py2docfx/venv/template/Lib/site-packages/setuptools/archive_util.py +0 -216
- py2docfx/venv/template/Lib/site-packages/setuptools/build_meta.py +0 -524
- py2docfx/venv/template/Lib/site-packages/setuptools/command/__init__.py +0 -12
- py2docfx/venv/template/Lib/site-packages/setuptools/command/_requirestxt.py +0 -131
- py2docfx/venv/template/Lib/site-packages/setuptools/command/alias.py +0 -78
- py2docfx/venv/template/Lib/site-packages/setuptools/command/bdist_egg.py +0 -464
- py2docfx/venv/template/Lib/site-packages/setuptools/command/bdist_rpm.py +0 -39
- py2docfx/venv/template/Lib/site-packages/setuptools/command/bdist_wheel.py +0 -597
- py2docfx/venv/template/Lib/site-packages/setuptools/command/build.py +0 -124
- py2docfx/venv/template/Lib/site-packages/setuptools/command/build_clib.py +0 -104
- py2docfx/venv/template/Lib/site-packages/setuptools/command/build_ext.py +0 -459
- py2docfx/venv/template/Lib/site-packages/setuptools/command/build_py.py +0 -401
- py2docfx/venv/template/Lib/site-packages/setuptools/command/develop.py +0 -196
- py2docfx/venv/template/Lib/site-packages/setuptools/command/dist_info.py +0 -106
- py2docfx/venv/template/Lib/site-packages/setuptools/command/easy_install.py +0 -2362
- py2docfx/venv/template/Lib/site-packages/setuptools/command/editable_wheel.py +0 -915
- py2docfx/venv/template/Lib/site-packages/setuptools/command/egg_info.py +0 -726
- py2docfx/venv/template/Lib/site-packages/setuptools/command/install.py +0 -160
- py2docfx/venv/template/Lib/site-packages/setuptools/command/install_egg_info.py +0 -57
- py2docfx/venv/template/Lib/site-packages/setuptools/command/install_lib.py +0 -127
- py2docfx/venv/template/Lib/site-packages/setuptools/command/install_scripts.py +0 -68
- py2docfx/venv/template/Lib/site-packages/setuptools/command/register.py +0 -18
- py2docfx/venv/template/Lib/site-packages/setuptools/command/rotate.py +0 -64
- py2docfx/venv/template/Lib/site-packages/setuptools/command/saveopts.py +0 -21
- py2docfx/venv/template/Lib/site-packages/setuptools/command/sdist.py +0 -204
- py2docfx/venv/template/Lib/site-packages/setuptools/command/setopt.py +0 -140
- py2docfx/venv/template/Lib/site-packages/setuptools/command/test.py +0 -42
- py2docfx/venv/template/Lib/site-packages/setuptools/command/upload.py +0 -17
- py2docfx/venv/template/Lib/site-packages/setuptools/command/upload_docs.py +0 -221
- py2docfx/venv/template/Lib/site-packages/setuptools/compat/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/compat/py310.py +0 -10
- py2docfx/venv/template/Lib/site-packages/setuptools/compat/py311.py +0 -26
- py2docfx/venv/template/Lib/site-packages/setuptools/compat/py39.py +0 -9
- py2docfx/venv/template/Lib/site-packages/setuptools/config/__init__.py +0 -43
- py2docfx/venv/template/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +0 -436
- py2docfx/venv/template/Lib/site-packages/setuptools/config/_validate_pyproject/__init__.py +0 -34
- py2docfx/venv/template/Lib/site-packages/setuptools/config/_validate_pyproject/error_reporting.py +0 -338
- py2docfx/venv/template/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +0 -52
- py2docfx/venv/template/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_exceptions.py +0 -51
- py2docfx/venv/template/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +0 -1104
- py2docfx/venv/template/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +0 -354
- py2docfx/venv/template/Lib/site-packages/setuptools/config/expand.py +0 -443
- py2docfx/venv/template/Lib/site-packages/setuptools/config/pyprojecttoml.py +0 -453
- py2docfx/venv/template/Lib/site-packages/setuptools/config/setupcfg.py +0 -777
- py2docfx/venv/template/Lib/site-packages/setuptools/depends.py +0 -167
- py2docfx/venv/template/Lib/site-packages/setuptools/discovery.py +0 -611
- py2docfx/venv/template/Lib/site-packages/setuptools/dist.py +0 -950
- py2docfx/venv/template/Lib/site-packages/setuptools/errors.py +0 -66
- py2docfx/venv/template/Lib/site-packages/setuptools/extension.py +0 -151
- py2docfx/venv/template/Lib/site-packages/setuptools/glob.py +0 -165
- py2docfx/venv/template/Lib/site-packages/setuptools/installer.py +0 -144
- py2docfx/venv/template/Lib/site-packages/setuptools/launch.py +0 -36
- py2docfx/venv/template/Lib/site-packages/setuptools/logging.py +0 -38
- py2docfx/venv/template/Lib/site-packages/setuptools/modified.py +0 -8
- py2docfx/venv/template/Lib/site-packages/setuptools/monkey.py +0 -157
- py2docfx/venv/template/Lib/site-packages/setuptools/msvc.py +0 -1747
- py2docfx/venv/template/Lib/site-packages/setuptools/namespaces.py +0 -105
- py2docfx/venv/template/Lib/site-packages/setuptools/package_index.py +0 -1148
- py2docfx/venv/template/Lib/site-packages/setuptools/sandbox.py +0 -530
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/__init__.py +0 -15
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/compat/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/compat/py39.py +0 -4
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/config/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/config/downloads/__init__.py +0 -57
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/config/downloads/preload.py +0 -19
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +0 -466
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/config/test_expand.py +0 -220
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/config/test_pyprojecttoml.py +0 -397
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/config/test_pyprojecttoml_dynamic_deps.py +0 -99
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +0 -967
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/contexts.py +0 -145
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/environment.py +0 -95
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/fixtures.py +0 -157
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/integration/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/integration/helpers.py +0 -77
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +0 -225
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/mod_with_constant.py +0 -1
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/namespaces.py +0 -90
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/script-with-bom.py +0 -1
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/server.py +0 -86
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_archive_util.py +0 -36
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_bdist_deprecations.py +0 -28
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_bdist_egg.py +0 -69
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +0 -611
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_build.py +0 -33
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_build_clib.py +0 -83
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_build_ext.py +0 -292
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_build_meta.py +0 -973
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_build_py.py +0 -480
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_config_discovery.py +0 -643
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_core_metadata.py +0 -391
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_depends.py +0 -15
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_develop.py +0 -175
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_dist.py +0 -281
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_dist_info.py +0 -210
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_distutils_adoption.py +0 -160
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_easy_install.py +0 -1458
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_editable_install.py +0 -1285
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_egg_info.py +0 -1290
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_extern.py +0 -20
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_find_packages.py +0 -219
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_find_py_modules.py +0 -73
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_glob.py +0 -45
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_install_scripts.py +0 -88
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_integration.py +0 -122
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_logging.py +0 -74
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_manifest.py +0 -631
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_msvc14.py +0 -83
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_namespaces.py +0 -138
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_packageindex.py +0 -277
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_register.py +0 -19
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_sandbox.py +0 -134
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_sdist.py +0 -910
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_setopt.py +0 -40
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_setuptools.py +0 -289
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_unicode_utils.py +0 -10
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_upload.py +0 -19
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_virtualenv.py +0 -115
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_warnings.py +0 -107
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_wheel.py +0 -707
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/test_windows_wrappers.py +0 -259
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/text.py +0 -4
- py2docfx/venv/template/Lib/site-packages/setuptools/tests/textwrap.py +0 -6
- py2docfx/venv/template/Lib/site-packages/setuptools/unicode_utils.py +0 -102
- py2docfx/venv/template/Lib/site-packages/setuptools/version.py +0 -6
- py2docfx/venv/template/Lib/site-packages/setuptools/warnings.py +0 -107
- py2docfx/venv/template/Lib/site-packages/setuptools/wheel.py +0 -237
- py2docfx/venv/template/Lib/site-packages/setuptools/windows_support.py +0 -30
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/__init__.py +0 -83
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/among.py +0 -13
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/arabic_stemmer.py +0 -1199
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/armenian_stemmer.py +0 -316
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/basestemmer.py +0 -323
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/basque_stemmer.py +0 -683
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/catalan_stemmer.py +0 -784
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/danish_stemmer.py +0 -221
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/dutch_stemmer.py +0 -468
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/english_stemmer.py +0 -731
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/finnish_stemmer.py +0 -548
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/french_stemmer.py +0 -967
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/german_stemmer.py +0 -415
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/greek_stemmer.py +0 -2271
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/hindi_stemmer.py +0 -173
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/hungarian_stemmer.py +0 -520
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/indonesian_stemmer.py +0 -319
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/irish_stemmer.py +0 -276
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/italian_stemmer.py +0 -715
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/lithuanian_stemmer.py +0 -469
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/nepali_stemmer.py +0 -274
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/norwegian_stemmer.py +0 -191
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/porter_stemmer.py +0 -506
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/portuguese_stemmer.py +0 -659
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/romanian_stemmer.py +0 -633
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/russian_stemmer.py +0 -492
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/serbian_stemmer.py +0 -3497
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/spanish_stemmer.py +0 -708
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/swedish_stemmer.py +0 -189
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/tamil_stemmer.py +0 -1788
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/turkish_stemmer.py +0 -1803
- py2docfx/venv/template/Lib/site-packages/snowballstemmer/yiddish_stemmer.py +0 -855
- py2docfx/venv/template/Lib/site-packages/sphinx/__init__.py +0 -54
- py2docfx/venv/template/Lib/site-packages/sphinx/__main__.py +0 -5
- py2docfx/venv/template/Lib/site-packages/sphinx/addnodes.py +0 -564
- py2docfx/venv/template/Lib/site-packages/sphinx/application.py +0 -1344
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/__init__.py +0 -671
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/_epub_base.py +0 -708
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/changes.py +0 -159
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/dirhtml.py +0 -51
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/dummy.py +0 -46
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/epub3.py +0 -293
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/gettext.py +0 -306
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/html/__init__.py +0 -1419
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/html/transforms.py +0 -84
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/latex/__init__.py +0 -546
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/latex/constants.py +0 -210
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/latex/nodes.py +0 -37
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/latex/theming.py +0 -132
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/latex/transforms.py +0 -632
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/latex/util.py +0 -48
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/linkcheck.py +0 -598
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/manpage.py +0 -125
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/singlehtml.py +0 -194
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/texinfo.py +0 -224
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/text.py +0 -89
- py2docfx/venv/template/Lib/site-packages/sphinx/builders/xml.py +0 -117
- py2docfx/venv/template/Lib/site-packages/sphinx/cmd/__init__.py +0 -1
- py2docfx/venv/template/Lib/site-packages/sphinx/cmd/build.py +0 -324
- py2docfx/venv/template/Lib/site-packages/sphinx/cmd/make_mode.py +0 -161
- py2docfx/venv/template/Lib/site-packages/sphinx/cmd/quickstart.py +0 -609
- py2docfx/venv/template/Lib/site-packages/sphinx/config.py +0 -520
- py2docfx/venv/template/Lib/site-packages/sphinx/deprecation.py +0 -83
- py2docfx/venv/template/Lib/site-packages/sphinx/directives/__init__.py +0 -340
- py2docfx/venv/template/Lib/site-packages/sphinx/directives/code.py +0 -483
- py2docfx/venv/template/Lib/site-packages/sphinx/directives/other.py +0 -393
- py2docfx/venv/template/Lib/site-packages/sphinx/directives/patches.py +0 -189
- py2docfx/venv/template/Lib/site-packages/sphinx/domains/__init__.py +0 -403
- py2docfx/venv/template/Lib/site-packages/sphinx/domains/c.py +0 -3880
- py2docfx/venv/template/Lib/site-packages/sphinx/domains/changeset.py +0 -160
- py2docfx/venv/template/Lib/site-packages/sphinx/domains/citation.py +0 -153
- py2docfx/venv/template/Lib/site-packages/sphinx/domains/cpp.py +0 -8162
- py2docfx/venv/template/Lib/site-packages/sphinx/domains/index.py +0 -122
- py2docfx/venv/template/Lib/site-packages/sphinx/domains/javascript.py +0 -499
- py2docfx/venv/template/Lib/site-packages/sphinx/domains/math.py +0 -150
- py2docfx/venv/template/Lib/site-packages/sphinx/domains/python.py +0 -1521
- py2docfx/venv/template/Lib/site-packages/sphinx/domains/rst.py +0 -303
- py2docfx/venv/template/Lib/site-packages/sphinx/domains/std.py +0 -1155
- py2docfx/venv/template/Lib/site-packages/sphinx/environment/__init__.py +0 -730
- py2docfx/venv/template/Lib/site-packages/sphinx/environment/adapters/__init__.py +0 -1
- py2docfx/venv/template/Lib/site-packages/sphinx/environment/adapters/asset.py +0 -15
- py2docfx/venv/template/Lib/site-packages/sphinx/environment/adapters/indexentries.py +0 -172
- py2docfx/venv/template/Lib/site-packages/sphinx/environment/adapters/toctree.py +0 -340
- py2docfx/venv/template/Lib/site-packages/sphinx/environment/collectors/__init__.py +0 -73
- py2docfx/venv/template/Lib/site-packages/sphinx/environment/collectors/asset.py +0 -141
- py2docfx/venv/template/Lib/site-packages/sphinx/environment/collectors/dependencies.py +0 -54
- py2docfx/venv/template/Lib/site-packages/sphinx/environment/collectors/metadata.py +0 -68
- py2docfx/venv/template/Lib/site-packages/sphinx/environment/collectors/title.py +0 -59
- py2docfx/venv/template/Lib/site-packages/sphinx/environment/collectors/toctree.py +0 -350
- py2docfx/venv/template/Lib/site-packages/sphinx/errors.py +0 -127
- py2docfx/venv/template/Lib/site-packages/sphinx/events.py +0 -120
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/__init__.py +0 -1
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/apidoc.py +0 -470
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/autodoc/__init__.py +0 -2793
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/autodoc/directive.py +0 -148
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/autodoc/importer.py +0 -307
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/autodoc/mock.py +0 -195
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/autodoc/preserve_defaults.py +0 -124
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/autodoc/type_comment.py +0 -131
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/autodoc/typehints.py +0 -216
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/autosectionlabel.py +0 -66
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/autosummary/__init__.py +0 -837
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/autosummary/generate.py +0 -646
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/coverage.py +0 -315
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/doctest.py +0 -561
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/duration.py +0 -90
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/extlinks.py +0 -120
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/githubpages.py +0 -31
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/graphviz.py +0 -416
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/ifconfig.py +0 -78
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/imgconverter.py +0 -92
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/imgmath.py +0 -390
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/inheritance_diagram.py +0 -474
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/intersphinx.py +0 -684
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/linkcode.py +0 -73
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/mathjax.py +0 -122
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/napoleon/__init__.py +0 -474
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/napoleon/docstring.py +0 -1356
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/napoleon/iterators.py +0 -235
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/todo.py +0 -243
- py2docfx/venv/template/Lib/site-packages/sphinx/ext/viewcode.py +0 -341
- py2docfx/venv/template/Lib/site-packages/sphinx/extension.py +0 -82
- py2docfx/venv/template/Lib/site-packages/sphinx/highlighting.py +0 -184
- py2docfx/venv/template/Lib/site-packages/sphinx/io.py +0 -221
- py2docfx/venv/template/Lib/site-packages/sphinx/jinja2glue.py +0 -217
- py2docfx/venv/template/Lib/site-packages/sphinx/locale/__init__.py +0 -261
- py2docfx/venv/template/Lib/site-packages/sphinx/parsers.py +0 -96
- py2docfx/venv/template/Lib/site-packages/sphinx/project.py +0 -94
- py2docfx/venv/template/Lib/site-packages/sphinx/pycode/__init__.py +0 -171
- py2docfx/venv/template/Lib/site-packages/sphinx/pycode/ast.py +0 -211
- py2docfx/venv/template/Lib/site-packages/sphinx/pycode/parser.py +0 -573
- py2docfx/venv/template/Lib/site-packages/sphinx/pygments_styles.py +0 -87
- py2docfx/venv/template/Lib/site-packages/sphinx/registry.py +0 -513
- py2docfx/venv/template/Lib/site-packages/sphinx/roles.py +0 -428
- py2docfx/venv/template/Lib/site-packages/sphinx/search/__init__.py +0 -593
- py2docfx/venv/template/Lib/site-packages/sphinx/search/da.py +0 -120
- py2docfx/venv/template/Lib/site-packages/sphinx/search/de.py +0 -303
- py2docfx/venv/template/Lib/site-packages/sphinx/search/en.py +0 -220
- py2docfx/venv/template/Lib/site-packages/sphinx/search/es.py +0 -363
- py2docfx/venv/template/Lib/site-packages/sphinx/search/fi.py +0 -113
- py2docfx/venv/template/Lib/site-packages/sphinx/search/fr.py +0 -199
- py2docfx/venv/template/Lib/site-packages/sphinx/search/hu.py +0 -226
- py2docfx/venv/template/Lib/site-packages/sphinx/search/it.py +0 -316
- py2docfx/venv/template/Lib/site-packages/sphinx/search/ja.py +0 -536
- py2docfx/venv/template/Lib/site-packages/sphinx/search/nl.py +0 -127
- py2docfx/venv/template/Lib/site-packages/sphinx/search/no.py +0 -202
- py2docfx/venv/template/Lib/site-packages/sphinx/search/pt.py +0 -261
- py2docfx/venv/template/Lib/site-packages/sphinx/search/ro.py +0 -22
- py2docfx/venv/template/Lib/site-packages/sphinx/search/ru.py +0 -251
- py2docfx/venv/template/Lib/site-packages/sphinx/search/sv.py +0 -140
- py2docfx/venv/template/Lib/site-packages/sphinx/search/tr.py +0 -22
- py2docfx/venv/template/Lib/site-packages/sphinx/search/zh.py +0 -262
- py2docfx/venv/template/Lib/site-packages/sphinx/setup_command.py +0 -192
- py2docfx/venv/template/Lib/site-packages/sphinx/testing/__init__.py +0 -7
- py2docfx/venv/template/Lib/site-packages/sphinx/testing/comparer.py +0 -97
- py2docfx/venv/template/Lib/site-packages/sphinx/testing/fixtures.py +0 -250
- py2docfx/venv/template/Lib/site-packages/sphinx/testing/path.py +0 -210
- py2docfx/venv/template/Lib/site-packages/sphinx/testing/restructuredtext.py +0 -27
- py2docfx/venv/template/Lib/site-packages/sphinx/testing/util.py +0 -206
- py2docfx/venv/template/Lib/site-packages/sphinx/theming.py +0 -230
- py2docfx/venv/template/Lib/site-packages/sphinx/transforms/__init__.py +0 -419
- py2docfx/venv/template/Lib/site-packages/sphinx/transforms/compact_bullet_list.py +0 -88
- py2docfx/venv/template/Lib/site-packages/sphinx/transforms/i18n.py +0 -528
- py2docfx/venv/template/Lib/site-packages/sphinx/transforms/post_transforms/__init__.py +0 -279
- py2docfx/venv/template/Lib/site-packages/sphinx/transforms/post_transforms/code.py +0 -136
- py2docfx/venv/template/Lib/site-packages/sphinx/transforms/post_transforms/images.py +0 -271
- py2docfx/venv/template/Lib/site-packages/sphinx/transforms/references.py +0 -47
- py2docfx/venv/template/Lib/site-packages/sphinx/util/__init__.py +0 -407
- py2docfx/venv/template/Lib/site-packages/sphinx/util/build_phase.py +0 -12
- py2docfx/venv/template/Lib/site-packages/sphinx/util/cfamily.py +0 -462
- py2docfx/venv/template/Lib/site-packages/sphinx/util/console.py +0 -129
- py2docfx/venv/template/Lib/site-packages/sphinx/util/display.py +0 -87
- py2docfx/venv/template/Lib/site-packages/sphinx/util/docfields.py +0 -368
- py2docfx/venv/template/Lib/site-packages/sphinx/util/docstrings.py +0 -88
- py2docfx/venv/template/Lib/site-packages/sphinx/util/docutils.py +0 -621
- py2docfx/venv/template/Lib/site-packages/sphinx/util/exceptions.py +0 -67
- py2docfx/venv/template/Lib/site-packages/sphinx/util/fileutil.py +0 -97
- py2docfx/venv/template/Lib/site-packages/sphinx/util/http_date.py +0 -20
- py2docfx/venv/template/Lib/site-packages/sphinx/util/i18n.py +0 -262
- py2docfx/venv/template/Lib/site-packages/sphinx/util/images.py +0 -113
- py2docfx/venv/template/Lib/site-packages/sphinx/util/inspect.py +0 -811
- py2docfx/venv/template/Lib/site-packages/sphinx/util/inventory.py +0 -170
- py2docfx/venv/template/Lib/site-packages/sphinx/util/jsdump.py +0 -201
- py2docfx/venv/template/Lib/site-packages/sphinx/util/logging.py +0 -603
- py2docfx/venv/template/Lib/site-packages/sphinx/util/matching.py +0 -166
- py2docfx/venv/template/Lib/site-packages/sphinx/util/math.py +0 -58
- py2docfx/venv/template/Lib/site-packages/sphinx/util/nodes.py +0 -629
- py2docfx/venv/template/Lib/site-packages/sphinx/util/osutil.py +0 -221
- py2docfx/venv/template/Lib/site-packages/sphinx/util/parallel.py +0 -151
- py2docfx/venv/template/Lib/site-packages/sphinx/util/png.py +0 -43
- py2docfx/venv/template/Lib/site-packages/sphinx/util/requests.py +0 -92
- py2docfx/venv/template/Lib/site-packages/sphinx/util/rst.py +0 -110
- py2docfx/venv/template/Lib/site-packages/sphinx/util/stemmer/__init__.py +0 -62
- py2docfx/venv/template/Lib/site-packages/sphinx/util/tags.py +0 -81
- py2docfx/venv/template/Lib/site-packages/sphinx/util/template.py +0 -132
- py2docfx/venv/template/Lib/site-packages/sphinx/util/texescape.py +0 -153
- py2docfx/venv/template/Lib/site-packages/sphinx/util/typing.py +0 -352
- py2docfx/venv/template/Lib/site-packages/sphinx/versioning.py +0 -176
- py2docfx/venv/template/Lib/site-packages/sphinx/writers/__init__.py +0 -1
- py2docfx/venv/template/Lib/site-packages/sphinx/writers/_html4.py +0 -858
- py2docfx/venv/template/Lib/site-packages/sphinx/writers/html.py +0 -45
- py2docfx/venv/template/Lib/site-packages/sphinx/writers/html5.py +0 -824
- py2docfx/venv/template/Lib/site-packages/sphinx/writers/latex.py +0 -2116
- py2docfx/venv/template/Lib/site-packages/sphinx/writers/manpage.py +0 -459
- py2docfx/venv/template/Lib/site-packages/sphinx/writers/texinfo.py +0 -1562
- py2docfx/venv/template/Lib/site-packages/sphinx/writers/text.py +0 -1182
- py2docfx/venv/template/Lib/site-packages/sphinx/writers/xml.py +0 -49
- py2docfx/venv/template/Lib/site-packages/sphinxcontrib/applehelp/__init__.py +0 -276
- py2docfx/venv/template/Lib/site-packages/sphinxcontrib/devhelp/__init__.py +0 -143
- py2docfx/venv/template/Lib/site-packages/sphinxcontrib/htmlhelp/__init__.py +0 -340
- py2docfx/venv/template/Lib/site-packages/sphinxcontrib/jsmath/__init__.py +0 -92
- py2docfx/venv/template/Lib/site-packages/sphinxcontrib/jsmath/version.py +0 -11
- py2docfx/venv/template/Lib/site-packages/sphinxcontrib/qthelp/__init__.py +0 -266
- py2docfx/venv/template/Lib/site-packages/sphinxcontrib/serializinghtml/__init__.py +0 -180
- py2docfx/venv/template/Lib/site-packages/sphinxcontrib/serializinghtml/jsonimpl.py +0 -33
- py2docfx/venv/template/Lib/site-packages/urllib3/__init__.py +0 -211
- py2docfx/venv/template/Lib/site-packages/urllib3/_base_connection.py +0 -172
- py2docfx/venv/template/Lib/site-packages/urllib3/_collections.py +0 -483
- py2docfx/venv/template/Lib/site-packages/urllib3/_request_methods.py +0 -279
- py2docfx/venv/template/Lib/site-packages/urllib3/_version.py +0 -4
- py2docfx/venv/template/Lib/site-packages/urllib3/connection.py +0 -929
- py2docfx/venv/template/Lib/site-packages/urllib3/connectionpool.py +0 -1182
- py2docfx/venv/template/Lib/site-packages/urllib3/contrib/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/urllib3/contrib/emscripten/__init__.py +0 -16
- py2docfx/venv/template/Lib/site-packages/urllib3/contrib/emscripten/connection.py +0 -254
- py2docfx/venv/template/Lib/site-packages/urllib3/contrib/emscripten/fetch.py +0 -418
- py2docfx/venv/template/Lib/site-packages/urllib3/contrib/emscripten/request.py +0 -22
- py2docfx/venv/template/Lib/site-packages/urllib3/contrib/emscripten/response.py +0 -285
- py2docfx/venv/template/Lib/site-packages/urllib3/contrib/pyopenssl.py +0 -548
- py2docfx/venv/template/Lib/site-packages/urllib3/contrib/socks.py +0 -228
- py2docfx/venv/template/Lib/site-packages/urllib3/exceptions.py +0 -321
- py2docfx/venv/template/Lib/site-packages/urllib3/fields.py +0 -341
- py2docfx/venv/template/Lib/site-packages/urllib3/filepost.py +0 -89
- py2docfx/venv/template/Lib/site-packages/urllib3/http2.py +0 -230
- py2docfx/venv/template/Lib/site-packages/urllib3/poolmanager.py +0 -637
- py2docfx/venv/template/Lib/site-packages/urllib3/response.py +0 -1265
- py2docfx/venv/template/Lib/site-packages/urllib3/util/__init__.py +0 -42
- py2docfx/venv/template/Lib/site-packages/urllib3/util/connection.py +0 -137
- py2docfx/venv/template/Lib/site-packages/urllib3/util/proxy.py +0 -43
- py2docfx/venv/template/Lib/site-packages/urllib3/util/request.py +0 -256
- py2docfx/venv/template/Lib/site-packages/urllib3/util/response.py +0 -101
- py2docfx/venv/template/Lib/site-packages/urllib3/util/retry.py +0 -533
- py2docfx/venv/template/Lib/site-packages/urllib3/util/ssl_.py +0 -509
- py2docfx/venv/template/Lib/site-packages/urllib3/util/ssl_match_hostname.py +0 -159
- py2docfx/venv/template/Lib/site-packages/urllib3/util/ssltransport.py +0 -279
- py2docfx/venv/template/Lib/site-packages/urllib3/util/timeout.py +0 -275
- py2docfx/venv/template/Lib/site-packages/urllib3/util/url.py +0 -471
- py2docfx/venv/template/Lib/site-packages/urllib3/util/util.py +0 -42
- py2docfx/venv/template/Lib/site-packages/urllib3/util/wait.py +0 -124
- py2docfx/venv/template/Lib/site-packages/wheel/__init__.py +0 -3
- py2docfx/venv/template/Lib/site-packages/wheel/__main__.py +0 -23
- py2docfx/venv/template/Lib/site-packages/wheel/_bdist_wheel.py +0 -604
- py2docfx/venv/template/Lib/site-packages/wheel/_setuptools_logging.py +0 -26
- py2docfx/venv/template/Lib/site-packages/wheel/bdist_wheel.py +0 -11
- py2docfx/venv/template/Lib/site-packages/wheel/cli/__init__.py +0 -155
- py2docfx/venv/template/Lib/site-packages/wheel/cli/convert.py +0 -273
- py2docfx/venv/template/Lib/site-packages/wheel/cli/pack.py +0 -85
- py2docfx/venv/template/Lib/site-packages/wheel/cli/tags.py +0 -139
- py2docfx/venv/template/Lib/site-packages/wheel/cli/unpack.py +0 -30
- py2docfx/venv/template/Lib/site-packages/wheel/macosx_libfile.py +0 -482
- py2docfx/venv/template/Lib/site-packages/wheel/metadata.py +0 -183
- py2docfx/venv/template/Lib/site-packages/wheel/util.py +0 -26
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/__init__.py +0 -0
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/_elffile.py +0 -108
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/_manylinux.py +0 -260
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/_musllinux.py +0 -83
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/_parser.py +0 -356
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/_structures.py +0 -61
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/_tokenizer.py +0 -192
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/markers.py +0 -253
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/requirements.py +0 -90
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/specifiers.py +0 -1011
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/tags.py +0 -571
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/utils.py +0 -172
- py2docfx/venv/template/Lib/site-packages/wheel/vendored/packaging/version.py +0 -561
- py2docfx/venv/template/Lib/site-packages/wheel/wheelfile.py +0 -227
- py2docfx/venv/template/Lib/site-packages/yaml/__init__.py +0 -390
- py2docfx/venv/template/Lib/site-packages/yaml/composer.py +0 -139
- py2docfx/venv/template/Lib/site-packages/yaml/constructor.py +0 -748
- py2docfx/venv/template/Lib/site-packages/yaml/cyaml.py +0 -101
- py2docfx/venv/template/Lib/site-packages/yaml/dumper.py +0 -62
- py2docfx/venv/template/Lib/site-packages/yaml/emitter.py +0 -1137
- py2docfx/venv/template/Lib/site-packages/yaml/error.py +0 -75
- py2docfx/venv/template/Lib/site-packages/yaml/events.py +0 -86
- py2docfx/venv/template/Lib/site-packages/yaml/loader.py +0 -63
- py2docfx/venv/template/Lib/site-packages/yaml/nodes.py +0 -49
- py2docfx/venv/template/Lib/site-packages/yaml/parser.py +0 -589
- py2docfx/venv/template/Lib/site-packages/yaml/reader.py +0 -185
- py2docfx/venv/template/Lib/site-packages/yaml/representer.py +0 -389
- py2docfx/venv/template/Lib/site-packages/yaml/resolver.py +0 -227
- py2docfx/venv/template/Lib/site-packages/yaml/scanner.py +0 -1435
- py2docfx/venv/template/Lib/site-packages/yaml/serializer.py +0 -111
- py2docfx/venv/template/Lib/site-packages/yaml/tokens.py +0 -104
- py2docfx/venv/template/Scripts/rst2html.py +0 -23
- py2docfx/venv/template/Scripts/rst2html4.py +0 -26
- py2docfx/venv/template/Scripts/rst2html5.py +0 -33
- py2docfx/venv/template/Scripts/rst2latex.py +0 -26
- py2docfx/venv/template/Scripts/rst2man.py +0 -27
- py2docfx/venv/template/Scripts/rst2odt.py +0 -28
- py2docfx/venv/template/Scripts/rst2odt_prepstyles.py +0 -65
- py2docfx/venv/template/Scripts/rst2pseudoxml.py +0 -23
- py2docfx/venv/template/Scripts/rst2s5.py +0 -24
- py2docfx/venv/template/Scripts/rst2xetex.py +0 -27
- py2docfx/venv/template/Scripts/rst2xml.py +0 -23
- py2docfx/venv/template/Scripts/rstpep2html.py +0 -25
- py2docfx-0.1.11.dev1827111.dist-info/RECORD +0 -3712
- {py2docfx-0.1.11.dev1827111.dist-info → py2docfx-0.1.11.dev1859874.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.11.dev1827111.dist-info → py2docfx-0.1.11.dev1859874.dist-info}/top_level.txt +0 -0
@@ -10,7 +10,7 @@
|
|
10
10
|
# *** PLEASE DO NOT MODIFY DIRECTLY: Automatically generated code ***
|
11
11
|
|
12
12
|
|
13
|
-
VERSION = "2.
|
13
|
+
VERSION = "2.20.0"
|
14
14
|
from decimal import Decimal
|
15
15
|
import re
|
16
16
|
from .fastjsonschema_exceptions import JsonSchemaValueException
|
@@ -31,7 +31,7 @@ def validate(data, custom_formats={}, name_prefix=None):
|
|
31
31
|
|
32
32
|
def validate_https___packaging_python_org_en_latest_specifications_declaring_build_dependencies(data, custom_formats={}, name_prefix=None):
|
33
33
|
if not isinstance(data, (dict)):
|
34
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/declaring-build-dependencies/', 'title': 'Data structure for ``pyproject.toml`` files', '$$description': ['File format containing build-time configurations for the Python ecosystem. ', ':pep:`517` initially defined a build-system independent format for source trees', 'which was complemented by :pep:`518` to provide a way of specifying dependencies ', 'for building Python projects.', 'Please notice the ``project`` table (as initially defined in :pep:`621`) is not included', 'in this schema and should be considered separately.'], 'type': 'object', 'additionalProperties': False, 'properties': {'build-system': {'type': 'object', 'description': 'Table used to store build-related data', 'additionalProperties': False, 'properties': {'requires': {'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, 'build-backend': {'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, 'backend-path': {'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}}, 'required': ['requires']}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '<https://packaging.python.org/specifications/core-metadata/#summary>`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '<https://peps.python.org/pep-0621/#readme>`_', "with meaning similar to the one defined in `core metadata's Description", '<https://packaging.python.org/specifications/core-metadata/#description>`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '<https://packaging.python.org/specifications/core-metadata/#requires-python>`_.']}, 'license': {'description': '`Project license <https://peps.python.org/pep-0621/#license>`_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier <https://pypi.org/classifiers/>`_.'}, '$$description': ['`Trove classifiers <https://pypi.org/classifiers/>`_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '<https://packaging.python.org/specifications/entry-points/>`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', ' If the core metadata specification lists a field as "Required", then', ' the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', ' The required fields are: Metadata-Version, Name, Version.', ' All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '<https://packaging.python.org/specifications/entry-points/>`_', 'and `setuptools docs', '<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}, 'tool': {'type': 'object', 'properties': {'distutils': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html', 'title': '``tool.distutils`` table', '$$description': ['**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``', 'subtables to configure arguments for ``distutils`` commands.', 'Originally, ``distutils`` allowed developers to configure arguments for', '``setup.py`` commands via `distutils configuration files', '<https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html>`_.', 'See also `the old Python docs <https://docs.python.org/3.11/install/>_`.'], 'type': 'object', 'properties': {'global': {'type': 'object', 'description': 'Global options applied to all ``distutils`` commands'}}, 'patternProperties': {'.+': {'type': 'object'}}, '$comment': 'TODO: Is there a practical way of making this schema more specific?'}, 'setuptools': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '<https://setuptools.pypa.io/en/latest/references/keywords.html>`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration>`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$ref': '#/definitions/package-name'}}, {'$ref': '#/definitions/find-directive'}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$ref': '#/definitions/package-name'}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', ' cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'$ref': '#/definitions/attr-directive'}, {'$ref': '#/definitions/file-directive'}]}, 'classifiers': {'$ref': '#/definitions/file-directive'}, 'description': {'$ref': '#/definitions/file-directive'}, 'entry-points': {'$ref': '#/definitions/file-directive'}, 'dependencies': {'$ref': '#/definitions/file-directive-for-dependencies'}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'$ref': '#/definitions/file-directive-for-dependencies'}}}, 'readme': {'type': 'object', 'anyOf': [{'$ref': '#/definitions/file-directive'}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'$ref': '#/definitions/file-directive/properties/file'}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}}}}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '<https://packaging.python.org/specifications/core-metadata/#summary>`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '<https://peps.python.org/pep-0621/#readme>`_', "with meaning similar to the one defined in `core metadata's Description", '<https://packaging.python.org/specifications/core-metadata/#description>`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '<https://packaging.python.org/specifications/core-metadata/#requires-python>`_.']}, 'license': {'description': '`Project license <https://peps.python.org/pep-0621/#license>`_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier <https://pypi.org/classifiers/>`_.'}, '$$description': ['`Trove classifiers <https://pypi.org/classifiers/>`_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '<https://packaging.python.org/specifications/entry-points/>`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', ' If the core metadata specification lists a field as "Required", then', ' the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', ' The required fields are: Metadata-Version, Name, Version.', ' All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '<https://packaging.python.org/specifications/entry-points/>`_', 'and `setuptools docs', '<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, rule='type')
|
34
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/declaring-build-dependencies/', 'title': 'Data structure for ``pyproject.toml`` files', '$$description': ['File format containing build-time configurations for the Python ecosystem. ', ':pep:`517` initially defined a build-system independent format for source trees', 'which was complemented by :pep:`518` to provide a way of specifying dependencies ', 'for building Python projects.', 'Please notice the ``project`` table (as initially defined in :pep:`621`) is not included', 'in this schema and should be considered separately.'], 'type': 'object', 'additionalProperties': False, 'properties': {'build-system': {'type': 'object', 'description': 'Table used to store build-related data', 'additionalProperties': False, 'properties': {'requires': {'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, 'build-backend': {'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, 'backend-path': {'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}}, 'required': ['requires']}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '<https://packaging.python.org/specifications/core-metadata/#summary>`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '<https://peps.python.org/pep-0621/#readme>`_', "with meaning similar to the one defined in `core metadata's Description", '<https://packaging.python.org/specifications/core-metadata/#description>`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '<https://packaging.python.org/specifications/core-metadata/#requires-python>`_.']}, 'license': {'description': '`Project license <https://peps.python.org/pep-0621/#license>`_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier <https://pypi.org/classifiers/>`_.'}, '$$description': ['`Trove classifiers <https://pypi.org/classifiers/>`_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '<https://packaging.python.org/specifications/entry-points/>`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', ' If the core metadata specification lists a field as "Required", then', ' the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', ' The required fields are: Metadata-Version, Name, Version.', ' All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '<https://packaging.python.org/specifications/entry-points/>`_', 'and `setuptools docs', '<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}, 'tool': {'type': 'object', 'properties': {'distutils': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html', 'title': '``tool.distutils`` table', '$$description': ['**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``', 'subtables to configure arguments for ``distutils`` commands.', 'Originally, ``distutils`` allowed developers to configure arguments for', '``setup.py`` commands via `distutils configuration files', '<https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html>`_.', 'See also `the old Python docs <https://docs.python.org/3.11/install/>_`.'], 'type': 'object', 'properties': {'global': {'type': 'object', 'description': 'Global options applied to all ``distutils`` commands'}}, 'patternProperties': {'.+': {'type': 'object'}}, '$comment': 'TODO: Is there a practical way of making this schema more specific?'}, 'setuptools': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '<https://setuptools.pypa.io/en/latest/references/keywords.html>`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration>`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$ref': '#/definitions/package-name'}}, {'$ref': '#/definitions/find-directive'}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$ref': '#/definitions/package-name'}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'ext-modules': {'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$ref': '#/definitions/ext-module'}}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', ' cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'$ref': '#/definitions/attr-directive'}, {'$ref': '#/definitions/file-directive'}]}, 'classifiers': {'$ref': '#/definitions/file-directive'}, 'description': {'$ref': '#/definitions/file-directive'}, 'entry-points': {'$ref': '#/definitions/file-directive'}, 'dependencies': {'$ref': '#/definitions/file-directive-for-dependencies'}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'$ref': '#/definitions/file-directive-for-dependencies'}}}, 'readme': {'type': 'object', 'anyOf': [{'$ref': '#/definitions/file-directive'}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'$ref': '#/definitions/file-directive/properties/file'}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'ext-module': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}}}}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '<https://packaging.python.org/specifications/core-metadata/#summary>`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '<https://peps.python.org/pep-0621/#readme>`_', "with meaning similar to the one defined in `core metadata's Description", '<https://packaging.python.org/specifications/core-metadata/#description>`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '<https://packaging.python.org/specifications/core-metadata/#requires-python>`_.']}, 'license': {'description': '`Project license <https://peps.python.org/pep-0621/#license>`_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier <https://pypi.org/classifiers/>`_.'}, '$$description': ['`Trove classifiers <https://pypi.org/classifiers/>`_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '<https://packaging.python.org/specifications/entry-points/>`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', ' If the core metadata specification lists a field as "Required", then', ' the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', ' The required fields are: Metadata-Version, Name, Version.', ' All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '<https://packaging.python.org/specifications/entry-points/>`_', 'and `setuptools docs', '<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, rule='type')
|
35
35
|
data_is_dict = isinstance(data, dict)
|
36
36
|
if data_is_dict:
|
37
37
|
data_keys = set(data.keys())
|
@@ -86,7 +86,7 @@ def validate_https___packaging_python_org_en_latest_specifications_declaring_bui
|
|
86
86
|
data_keys.remove("tool")
|
87
87
|
data__tool = data["tool"]
|
88
88
|
if not isinstance(data__tool, (dict)):
|
89
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".tool must be object", value=data__tool, name="" + (name_prefix or "data") + ".tool", definition={'type': 'object', 'properties': {'distutils': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html', 'title': '``tool.distutils`` table', '$$description': ['**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``', 'subtables to configure arguments for ``distutils`` commands.', 'Originally, ``distutils`` allowed developers to configure arguments for', '``setup.py`` commands via `distutils configuration files', '<https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html>`_.', 'See also `the old Python docs <https://docs.python.org/3.11/install/>_`.'], 'type': 'object', 'properties': {'global': {'type': 'object', 'description': 'Global options applied to all ``distutils`` commands'}}, 'patternProperties': {'.+': {'type': 'object'}}, '$comment': 'TODO: Is there a practical way of making this schema more specific?'}, 'setuptools': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '<https://setuptools.pypa.io/en/latest/references/keywords.html>`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration>`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$ref': '#/definitions/package-name'}}, {'$ref': '#/definitions/find-directive'}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$ref': '#/definitions/package-name'}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', ' cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'$ref': '#/definitions/attr-directive'}, {'$ref': '#/definitions/file-directive'}]}, 'classifiers': {'$ref': '#/definitions/file-directive'}, 'description': {'$ref': '#/definitions/file-directive'}, 'entry-points': {'$ref': '#/definitions/file-directive'}, 'dependencies': {'$ref': '#/definitions/file-directive-for-dependencies'}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'$ref': '#/definitions/file-directive-for-dependencies'}}}, 'readme': {'type': 'object', 'anyOf': [{'$ref': '#/definitions/file-directive'}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'$ref': '#/definitions/file-directive/properties/file'}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}}}, rule='type')
|
89
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".tool must be object", value=data__tool, name="" + (name_prefix or "data") + ".tool", definition={'type': 'object', 'properties': {'distutils': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html', 'title': '``tool.distutils`` table', '$$description': ['**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``', 'subtables to configure arguments for ``distutils`` commands.', 'Originally, ``distutils`` allowed developers to configure arguments for', '``setup.py`` commands via `distutils configuration files', '<https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html>`_.', 'See also `the old Python docs <https://docs.python.org/3.11/install/>_`.'], 'type': 'object', 'properties': {'global': {'type': 'object', 'description': 'Global options applied to all ``distutils`` commands'}}, 'patternProperties': {'.+': {'type': 'object'}}, '$comment': 'TODO: Is there a practical way of making this schema more specific?'}, 'setuptools': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '<https://setuptools.pypa.io/en/latest/references/keywords.html>`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration>`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$ref': '#/definitions/package-name'}}, {'$ref': '#/definitions/find-directive'}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$ref': '#/definitions/package-name'}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'ext-modules': {'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$ref': '#/definitions/ext-module'}}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', ' cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'$ref': '#/definitions/attr-directive'}, {'$ref': '#/definitions/file-directive'}]}, 'classifiers': {'$ref': '#/definitions/file-directive'}, 'description': {'$ref': '#/definitions/file-directive'}, 'entry-points': {'$ref': '#/definitions/file-directive'}, 'dependencies': {'$ref': '#/definitions/file-directive-for-dependencies'}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'$ref': '#/definitions/file-directive-for-dependencies'}}}, 'readme': {'type': 'object', 'anyOf': [{'$ref': '#/definitions/file-directive'}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'$ref': '#/definitions/file-directive/properties/file'}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'ext-module': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}}}, rule='type')
|
90
90
|
data__tool_is_dict = isinstance(data__tool, dict)
|
91
91
|
if data__tool_is_dict:
|
92
92
|
data__tool_keys = set(data__tool.keys())
|
@@ -99,12 +99,12 @@ def validate_https___packaging_python_org_en_latest_specifications_declaring_bui
|
|
99
99
|
data__tool__setuptools = data__tool["setuptools"]
|
100
100
|
validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html(data__tool__setuptools, custom_formats, (name_prefix or "data") + ".tool.setuptools")
|
101
101
|
if data_keys:
|
102
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/declaring-build-dependencies/', 'title': 'Data structure for ``pyproject.toml`` files', '$$description': ['File format containing build-time configurations for the Python ecosystem. ', ':pep:`517` initially defined a build-system independent format for source trees', 'which was complemented by :pep:`518` to provide a way of specifying dependencies ', 'for building Python projects.', 'Please notice the ``project`` table (as initially defined in :pep:`621`) is not included', 'in this schema and should be considered separately.'], 'type': 'object', 'additionalProperties': False, 'properties': {'build-system': {'type': 'object', 'description': 'Table used to store build-related data', 'additionalProperties': False, 'properties': {'requires': {'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, 'build-backend': {'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, 'backend-path': {'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}}, 'required': ['requires']}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '<https://packaging.python.org/specifications/core-metadata/#summary>`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '<https://peps.python.org/pep-0621/#readme>`_', "with meaning similar to the one defined in `core metadata's Description", '<https://packaging.python.org/specifications/core-metadata/#description>`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '<https://packaging.python.org/specifications/core-metadata/#requires-python>`_.']}, 'license': {'description': '`Project license <https://peps.python.org/pep-0621/#license>`_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier <https://pypi.org/classifiers/>`_.'}, '$$description': ['`Trove classifiers <https://pypi.org/classifiers/>`_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '<https://packaging.python.org/specifications/entry-points/>`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', ' If the core metadata specification lists a field as "Required", then', ' the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', ' The required fields are: Metadata-Version, Name, Version.', ' All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '<https://packaging.python.org/specifications/entry-points/>`_', 'and `setuptools docs', '<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}, 'tool': {'type': 'object', 'properties': {'distutils': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html', 'title': '``tool.distutils`` table', '$$description': ['**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``', 'subtables to configure arguments for ``distutils`` commands.', 'Originally, ``distutils`` allowed developers to configure arguments for', '``setup.py`` commands via `distutils configuration files', '<https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html>`_.', 'See also `the old Python docs <https://docs.python.org/3.11/install/>_`.'], 'type': 'object', 'properties': {'global': {'type': 'object', 'description': 'Global options applied to all ``distutils`` commands'}}, 'patternProperties': {'.+': {'type': 'object'}}, '$comment': 'TODO: Is there a practical way of making this schema more specific?'}, 'setuptools': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '<https://setuptools.pypa.io/en/latest/references/keywords.html>`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration>`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$ref': '#/definitions/package-name'}}, {'$ref': '#/definitions/find-directive'}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$ref': '#/definitions/package-name'}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', ' cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'$ref': '#/definitions/attr-directive'}, {'$ref': '#/definitions/file-directive'}]}, 'classifiers': {'$ref': '#/definitions/file-directive'}, 'description': {'$ref': '#/definitions/file-directive'}, 'entry-points': {'$ref': '#/definitions/file-directive'}, 'dependencies': {'$ref': '#/definitions/file-directive-for-dependencies'}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'$ref': '#/definitions/file-directive-for-dependencies'}}}, 'readme': {'type': 'object', 'anyOf': [{'$ref': '#/definitions/file-directive'}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'$ref': '#/definitions/file-directive/properties/file'}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}}}}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '<https://packaging.python.org/specifications/core-metadata/#summary>`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '<https://peps.python.org/pep-0621/#readme>`_', "with meaning similar to the one defined in `core metadata's Description", '<https://packaging.python.org/specifications/core-metadata/#description>`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '<https://packaging.python.org/specifications/core-metadata/#requires-python>`_.']}, 'license': {'description': '`Project license <https://peps.python.org/pep-0621/#license>`_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier <https://pypi.org/classifiers/>`_.'}, '$$description': ['`Trove classifiers <https://pypi.org/classifiers/>`_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '<https://packaging.python.org/specifications/entry-points/>`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', ' If the core metadata specification lists a field as "Required", then', ' the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', ' The required fields are: Metadata-Version, Name, Version.', ' All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '<https://packaging.python.org/specifications/entry-points/>`_', 'and `setuptools docs', '<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, rule='additionalProperties')
|
102
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/declaring-build-dependencies/', 'title': 'Data structure for ``pyproject.toml`` files', '$$description': ['File format containing build-time configurations for the Python ecosystem. ', ':pep:`517` initially defined a build-system independent format for source trees', 'which was complemented by :pep:`518` to provide a way of specifying dependencies ', 'for building Python projects.', 'Please notice the ``project`` table (as initially defined in :pep:`621`) is not included', 'in this schema and should be considered separately.'], 'type': 'object', 'additionalProperties': False, 'properties': {'build-system': {'type': 'object', 'description': 'Table used to store build-related data', 'additionalProperties': False, 'properties': {'requires': {'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, 'build-backend': {'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, 'backend-path': {'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}}, 'required': ['requires']}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '<https://packaging.python.org/specifications/core-metadata/#summary>`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '<https://peps.python.org/pep-0621/#readme>`_', "with meaning similar to the one defined in `core metadata's Description", '<https://packaging.python.org/specifications/core-metadata/#description>`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '<https://packaging.python.org/specifications/core-metadata/#requires-python>`_.']}, 'license': {'description': '`Project license <https://peps.python.org/pep-0621/#license>`_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier <https://pypi.org/classifiers/>`_.'}, '$$description': ['`Trove classifiers <https://pypi.org/classifiers/>`_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '<https://packaging.python.org/specifications/entry-points/>`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', ' If the core metadata specification lists a field as "Required", then', ' the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', ' The required fields are: Metadata-Version, Name, Version.', ' All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '<https://packaging.python.org/specifications/entry-points/>`_', 'and `setuptools docs', '<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}, 'tool': {'type': 'object', 'properties': {'distutils': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html', 'title': '``tool.distutils`` table', '$$description': ['**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``', 'subtables to configure arguments for ``distutils`` commands.', 'Originally, ``distutils`` allowed developers to configure arguments for', '``setup.py`` commands via `distutils configuration files', '<https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html>`_.', 'See also `the old Python docs <https://docs.python.org/3.11/install/>_`.'], 'type': 'object', 'properties': {'global': {'type': 'object', 'description': 'Global options applied to all ``distutils`` commands'}}, 'patternProperties': {'.+': {'type': 'object'}}, '$comment': 'TODO: Is there a practical way of making this schema more specific?'}, 'setuptools': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '<https://setuptools.pypa.io/en/latest/references/keywords.html>`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration>`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$ref': '#/definitions/package-name'}}, {'$ref': '#/definitions/find-directive'}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$ref': '#/definitions/package-name'}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'ext-modules': {'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$ref': '#/definitions/ext-module'}}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', ' cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'$ref': '#/definitions/attr-directive'}, {'$ref': '#/definitions/file-directive'}]}, 'classifiers': {'$ref': '#/definitions/file-directive'}, 'description': {'$ref': '#/definitions/file-directive'}, 'entry-points': {'$ref': '#/definitions/file-directive'}, 'dependencies': {'$ref': '#/definitions/file-directive-for-dependencies'}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'$ref': '#/definitions/file-directive-for-dependencies'}}}, 'readme': {'type': 'object', 'anyOf': [{'$ref': '#/definitions/file-directive'}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'$ref': '#/definitions/file-directive/properties/file'}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'ext-module': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}}}}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '<https://packaging.python.org/specifications/core-metadata/#summary>`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '<https://peps.python.org/pep-0621/#readme>`_', "with meaning similar to the one defined in `core metadata's Description", '<https://packaging.python.org/specifications/core-metadata/#description>`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '<https://packaging.python.org/specifications/core-metadata/#requires-python>`_.']}, 'license': {'description': '`Project license <https://peps.python.org/pep-0621/#license>`_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier <https://pypi.org/classifiers/>`_.'}, '$$description': ['`Trove classifiers <https://pypi.org/classifiers/>`_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '<https://packaging.python.org/specifications/entry-points/>`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', ' If the core metadata specification lists a field as "Required", then', ' the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', ' The required fields are: Metadata-Version, Name, Version.', ' All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '<https://packaging.python.org/specifications/entry-points/>`_', 'and `setuptools docs', '<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, rule='additionalProperties')
|
103
103
|
return data
|
104
104
|
|
105
105
|
def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html(data, custom_formats={}, name_prefix=None):
|
106
106
|
if not isinstance(data, (dict)):
|
107
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '<https://setuptools.pypa.io/en/latest/references/keywords.html>`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration>`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', ' cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'classifiers': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'description': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'entry-points': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, 'readme': {'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}, rule='type')
|
107
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '<https://setuptools.pypa.io/en/latest/references/keywords.html>`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration>`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'ext-modules': {'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', ' cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'classifiers': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'description': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'entry-points': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, 'readme': {'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'ext-module': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}, rule='type')
|
108
108
|
data_is_dict = isinstance(data, dict)
|
109
109
|
if data_is_dict:
|
110
110
|
data_keys = set(data.keys())
|
@@ -181,7 +181,7 @@ def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_htm
|
|
181
181
|
if data__packages_one_of_count1 < 2:
|
182
182
|
try:
|
183
183
|
if not isinstance(data__packages, (list, tuple)):
|
184
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".packages must be array", value=data__packages, name="" + (name_prefix or "data") + ".packages", definition={'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, rule='type')
|
184
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".packages must be array", value=data__packages, name="" + (name_prefix or "data") + ".packages", definition={'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, rule='type')
|
185
185
|
data__packages_is_list = isinstance(data__packages, (list, tuple))
|
186
186
|
if data__packages_is_list:
|
187
187
|
data__packages_len = len(data__packages)
|
@@ -195,12 +195,12 @@ def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_htm
|
|
195
195
|
data__packages_one_of_count1 += 1
|
196
196
|
except JsonSchemaValueException: pass
|
197
197
|
if data__packages_one_of_count1 != 1:
|
198
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".packages must be valid exactly by one definition" + (" (" + str(data__packages_one_of_count1) + " matches found)"), value=data__packages, name="" + (name_prefix or "data") + ".packages", definition={'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}]}, rule='oneOf')
|
198
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".packages must be valid exactly by one definition" + (" (" + str(data__packages_one_of_count1) + " matches found)"), value=data__packages, name="" + (name_prefix or "data") + ".packages", definition={'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}]}, rule='oneOf')
|
199
199
|
if "package-dir" in data_keys:
|
200
200
|
data_keys.remove("package-dir")
|
201
201
|
data__packagedir = data["package-dir"]
|
202
202
|
if not isinstance(data__packagedir, (dict)):
|
203
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir must be object", value=data__packagedir, name="" + (name_prefix or "data") + ".package-dir", definition={'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, rule='type')
|
203
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir must be object", value=data__packagedir, name="" + (name_prefix or "data") + ".package-dir", definition={'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, rule='type')
|
204
204
|
data__packagedir_is_dict = isinstance(data__packagedir, dict)
|
205
205
|
if data__packagedir_is_dict:
|
206
206
|
data__packagedir_keys = set(data__packagedir.keys())
|
@@ -211,7 +211,7 @@ def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_htm
|
|
211
211
|
if not isinstance(data__packagedir_val, (str)):
|
212
212
|
raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir.{data__packagedir_key}".format(**locals()) + " must be string", value=data__packagedir_val, name="" + (name_prefix or "data") + ".package-dir.{data__packagedir_key}".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
213
213
|
if data__packagedir_keys:
|
214
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir must not contain "+str(data__packagedir_keys)+" properties", value=data__packagedir, name="" + (name_prefix or "data") + ".package-dir", definition={'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, rule='additionalProperties')
|
214
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir must not contain "+str(data__packagedir_keys)+" properties", value=data__packagedir, name="" + (name_prefix or "data") + ".package-dir", definition={'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, rule='additionalProperties')
|
215
215
|
data__packagedir_len = len(data__packagedir)
|
216
216
|
if data__packagedir_len != 0:
|
217
217
|
data__packagedir_property_names = True
|
@@ -230,11 +230,11 @@ def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_htm
|
|
230
230
|
data__packagedir_key_any_of_count2 += 1
|
231
231
|
except JsonSchemaValueException: pass
|
232
232
|
if not data__packagedir_key_any_of_count2:
|
233
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir cannot be validated by any definition", value=data__packagedir_key, name="" + (name_prefix or "data") + ".package-dir", definition={'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, rule='anyOf')
|
233
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir cannot be validated by any definition", value=data__packagedir_key, name="" + (name_prefix or "data") + ".package-dir", definition={'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, rule='anyOf')
|
234
234
|
except JsonSchemaValueException:
|
235
235
|
data__packagedir_property_names = False
|
236
236
|
if not data__packagedir_property_names:
|
237
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir must be named by propertyName definition", value=data__packagedir, name="" + (name_prefix or "data") + ".package-dir", definition={'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, rule='propertyNames')
|
237
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir must be named by propertyName definition", value=data__packagedir, name="" + (name_prefix or "data") + ".package-dir", definition={'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, rule='propertyNames')
|
238
238
|
if "package-data" in data_keys:
|
239
239
|
data_keys.remove("package-data")
|
240
240
|
data__packagedata = data["package-data"]
|
@@ -342,30 +342,40 @@ def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_htm
|
|
342
342
|
data_keys.remove("namespace-packages")
|
343
343
|
data__namespacepackages = data["namespace-packages"]
|
344
344
|
if not isinstance(data__namespacepackages, (list, tuple)):
|
345
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".namespace-packages must be array", value=data__namespacepackages, name="" + (name_prefix or "data") + ".namespace-packages", definition={'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, rule='type')
|
345
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".namespace-packages must be array", value=data__namespacepackages, name="" + (name_prefix or "data") + ".namespace-packages", definition={'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, rule='type')
|
346
346
|
data__namespacepackages_is_list = isinstance(data__namespacepackages, (list, tuple))
|
347
347
|
if data__namespacepackages_is_list:
|
348
348
|
data__namespacepackages_len = len(data__namespacepackages)
|
349
349
|
for data__namespacepackages_x, data__namespacepackages_item in enumerate(data__namespacepackages):
|
350
350
|
if not isinstance(data__namespacepackages_item, (str)):
|
351
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + " must be string", value=data__namespacepackages_item, name="" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name'}, rule='type')
|
351
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + " must be string", value=data__namespacepackages_item, name="" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='type')
|
352
352
|
if isinstance(data__namespacepackages_item, str):
|
353
|
-
if not custom_formats["python-module-name"](data__namespacepackages_item):
|
354
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + " must be python-module-name", value=data__namespacepackages_item, name="" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name'}, rule='format')
|
353
|
+
if not custom_formats["python-module-name-relaxed"](data__namespacepackages_item):
|
354
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + " must be python-module-name-relaxed", value=data__namespacepackages_item, name="" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='format')
|
355
355
|
if "py-modules" in data_keys:
|
356
356
|
data_keys.remove("py-modules")
|
357
357
|
data__pymodules = data["py-modules"]
|
358
358
|
if not isinstance(data__pymodules, (list, tuple)):
|
359
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".py-modules must be array", value=data__pymodules, name="" + (name_prefix or "data") + ".py-modules", definition={'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, rule='type')
|
359
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".py-modules must be array", value=data__pymodules, name="" + (name_prefix or "data") + ".py-modules", definition={'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, rule='type')
|
360
360
|
data__pymodules_is_list = isinstance(data__pymodules, (list, tuple))
|
361
361
|
if data__pymodules_is_list:
|
362
362
|
data__pymodules_len = len(data__pymodules)
|
363
363
|
for data__pymodules_x, data__pymodules_item in enumerate(data__pymodules):
|
364
364
|
if not isinstance(data__pymodules_item, (str)):
|
365
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + " must be string", value=data__pymodules_item, name="" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name'}, rule='type')
|
365
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + " must be string", value=data__pymodules_item, name="" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='type')
|
366
366
|
if isinstance(data__pymodules_item, str):
|
367
|
-
if not custom_formats["python-module-name"](data__pymodules_item):
|
368
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + " must be python-module-name", value=data__pymodules_item, name="" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name'}, rule='format')
|
367
|
+
if not custom_formats["python-module-name-relaxed"](data__pymodules_item):
|
368
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + " must be python-module-name-relaxed", value=data__pymodules_item, name="" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='format')
|
369
|
+
if "ext-modules" in data_keys:
|
370
|
+
data_keys.remove("ext-modules")
|
371
|
+
data__extmodules = data["ext-modules"]
|
372
|
+
if not isinstance(data__extmodules, (list, tuple)):
|
373
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".ext-modules must be array", value=data__extmodules, name="" + (name_prefix or "data") + ".ext-modules", definition={'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}}, rule='type')
|
374
|
+
data__extmodules_is_list = isinstance(data__extmodules, (list, tuple))
|
375
|
+
if data__extmodules_is_list:
|
376
|
+
data__extmodules_len = len(data__extmodules)
|
377
|
+
for data__extmodules_x, data__extmodules_item in enumerate(data__extmodules):
|
378
|
+
validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_ext_module(data__extmodules_item, custom_formats, (name_prefix or "data") + ".ext-modules[{data__extmodules_x}]".format(**locals()))
|
369
379
|
if "data-files" in data_keys:
|
370
380
|
data_keys.remove("data-files")
|
371
381
|
data__datafiles = data["data-files"]
|
@@ -524,7 +534,7 @@ def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_htm
|
|
524
534
|
if data__dynamic_keys:
|
525
535
|
raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic must not contain "+str(data__dynamic_keys)+" properties", value=data__dynamic, name="" + (name_prefix or "data") + ".dynamic", definition={'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'classifiers': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'description': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'entry-points': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, 'readme': {'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}}}, rule='additionalProperties')
|
526
536
|
if data_keys:
|
527
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '<https://setuptools.pypa.io/en/latest/references/keywords.html>`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration>`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', ' cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'classifiers': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'description': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'entry-points': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, 'readme': {'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}, rule='additionalProperties')
|
537
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '<https://setuptools.pypa.io/en/latest/references/keywords.html>`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration>`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'ext-modules': {'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', ' cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'classifiers': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'description': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'entry-points': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, 'readme': {'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'ext-module': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}, rule='additionalProperties')
|
528
538
|
return data
|
529
539
|
|
530
540
|
def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive_properties_file(data, custom_formats={}, name_prefix=None):
|
@@ -613,6 +623,211 @@ def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_htm
|
|
613
623
|
raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, rule='additionalProperties')
|
614
624
|
return data
|
615
625
|
|
626
|
+
def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_ext_module(data, custom_formats={}, name_prefix=None):
|
627
|
+
if not isinstance(data, (dict)):
|
628
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, rule='type')
|
629
|
+
data_is_dict = isinstance(data, dict)
|
630
|
+
if data_is_dict:
|
631
|
+
data__missing_keys = set(['name', 'sources']) - data.keys()
|
632
|
+
if data__missing_keys:
|
633
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + " must contain " + (str(sorted(data__missing_keys)) + " properties"), value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, rule='required')
|
634
|
+
data_keys = set(data.keys())
|
635
|
+
if "name" in data_keys:
|
636
|
+
data_keys.remove("name")
|
637
|
+
data__name = data["name"]
|
638
|
+
if not isinstance(data__name, (str)):
|
639
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".name must be string", value=data__name, name="" + (name_prefix or "data") + ".name", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='type')
|
640
|
+
if isinstance(data__name, str):
|
641
|
+
if not custom_formats["python-module-name-relaxed"](data__name):
|
642
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".name must be python-module-name-relaxed", value=data__name, name="" + (name_prefix or "data") + ".name", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='format')
|
643
|
+
if "sources" in data_keys:
|
644
|
+
data_keys.remove("sources")
|
645
|
+
data__sources = data["sources"]
|
646
|
+
if not isinstance(data__sources, (list, tuple)):
|
647
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".sources must be array", value=data__sources, name="" + (name_prefix or "data") + ".sources", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
648
|
+
data__sources_is_list = isinstance(data__sources, (list, tuple))
|
649
|
+
if data__sources_is_list:
|
650
|
+
data__sources_len = len(data__sources)
|
651
|
+
for data__sources_x, data__sources_item in enumerate(data__sources):
|
652
|
+
if not isinstance(data__sources_item, (str)):
|
653
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".sources[{data__sources_x}]".format(**locals()) + " must be string", value=data__sources_item, name="" + (name_prefix or "data") + ".sources[{data__sources_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
654
|
+
if "include-dirs" in data_keys:
|
655
|
+
data_keys.remove("include-dirs")
|
656
|
+
data__includedirs = data["include-dirs"]
|
657
|
+
if not isinstance(data__includedirs, (list, tuple)):
|
658
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".include-dirs must be array", value=data__includedirs, name="" + (name_prefix or "data") + ".include-dirs", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
659
|
+
data__includedirs_is_list = isinstance(data__includedirs, (list, tuple))
|
660
|
+
if data__includedirs_is_list:
|
661
|
+
data__includedirs_len = len(data__includedirs)
|
662
|
+
for data__includedirs_x, data__includedirs_item in enumerate(data__includedirs):
|
663
|
+
if not isinstance(data__includedirs_item, (str)):
|
664
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".include-dirs[{data__includedirs_x}]".format(**locals()) + " must be string", value=data__includedirs_item, name="" + (name_prefix or "data") + ".include-dirs[{data__includedirs_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
665
|
+
if "define-macros" in data_keys:
|
666
|
+
data_keys.remove("define-macros")
|
667
|
+
data__definemacros = data["define-macros"]
|
668
|
+
if not isinstance(data__definemacros, (list, tuple)):
|
669
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros must be array", value=data__definemacros, name="" + (name_prefix or "data") + ".define-macros", definition={'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, rule='type')
|
670
|
+
data__definemacros_is_list = isinstance(data__definemacros, (list, tuple))
|
671
|
+
if data__definemacros_is_list:
|
672
|
+
data__definemacros_len = len(data__definemacros)
|
673
|
+
for data__definemacros_x, data__definemacros_item in enumerate(data__definemacros):
|
674
|
+
if not isinstance(data__definemacros_item, (list, tuple)):
|
675
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}]".format(**locals()) + " must be array", value=data__definemacros_item, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}]".format(**locals()) + "", definition={'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}, rule='type')
|
676
|
+
data__definemacros_item_is_list = isinstance(data__definemacros_item, (list, tuple))
|
677
|
+
if data__definemacros_item_is_list:
|
678
|
+
data__definemacros_item_len = len(data__definemacros_item)
|
679
|
+
if data__definemacros_item_len > 0:
|
680
|
+
data__definemacros_item__0 = data__definemacros_item[0]
|
681
|
+
if not isinstance(data__definemacros_item__0, (str)):
|
682
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][0]".format(**locals()) + " must be string", value=data__definemacros_item__0, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][0]".format(**locals()) + "", definition={'description': 'macro name', 'type': 'string'}, rule='type')
|
683
|
+
if data__definemacros_item_len > 1:
|
684
|
+
data__definemacros_item__1 = data__definemacros_item[1]
|
685
|
+
data__definemacros_item__1_one_of_count9 = 0
|
686
|
+
if data__definemacros_item__1_one_of_count9 < 2:
|
687
|
+
try:
|
688
|
+
if not isinstance(data__definemacros_item__1, (str)):
|
689
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + " must be string", value=data__definemacros_item__1, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
690
|
+
data__definemacros_item__1_one_of_count9 += 1
|
691
|
+
except JsonSchemaValueException: pass
|
692
|
+
if data__definemacros_item__1_one_of_count9 < 2:
|
693
|
+
try:
|
694
|
+
if not isinstance(data__definemacros_item__1, (NoneType)):
|
695
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + " must be null", value=data__definemacros_item__1, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + "", definition={'type': 'null'}, rule='type')
|
696
|
+
data__definemacros_item__1_one_of_count9 += 1
|
697
|
+
except JsonSchemaValueException: pass
|
698
|
+
if data__definemacros_item__1_one_of_count9 != 1:
|
699
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + " must be valid exactly by one definition" + (" (" + str(data__definemacros_item__1_one_of_count9) + " matches found)"), value=data__definemacros_item__1, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + "", definition={'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}, rule='oneOf')
|
700
|
+
if data__definemacros_item_len > 2:
|
701
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}]".format(**locals()) + " must contain only specified items", value=data__definemacros_item, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}]".format(**locals()) + "", definition={'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}, rule='items')
|
702
|
+
if "undef-macros" in data_keys:
|
703
|
+
data_keys.remove("undef-macros")
|
704
|
+
data__undefmacros = data["undef-macros"]
|
705
|
+
if not isinstance(data__undefmacros, (list, tuple)):
|
706
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".undef-macros must be array", value=data__undefmacros, name="" + (name_prefix or "data") + ".undef-macros", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
707
|
+
data__undefmacros_is_list = isinstance(data__undefmacros, (list, tuple))
|
708
|
+
if data__undefmacros_is_list:
|
709
|
+
data__undefmacros_len = len(data__undefmacros)
|
710
|
+
for data__undefmacros_x, data__undefmacros_item in enumerate(data__undefmacros):
|
711
|
+
if not isinstance(data__undefmacros_item, (str)):
|
712
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".undef-macros[{data__undefmacros_x}]".format(**locals()) + " must be string", value=data__undefmacros_item, name="" + (name_prefix or "data") + ".undef-macros[{data__undefmacros_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
713
|
+
if "library-dirs" in data_keys:
|
714
|
+
data_keys.remove("library-dirs")
|
715
|
+
data__librarydirs = data["library-dirs"]
|
716
|
+
if not isinstance(data__librarydirs, (list, tuple)):
|
717
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".library-dirs must be array", value=data__librarydirs, name="" + (name_prefix or "data") + ".library-dirs", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
718
|
+
data__librarydirs_is_list = isinstance(data__librarydirs, (list, tuple))
|
719
|
+
if data__librarydirs_is_list:
|
720
|
+
data__librarydirs_len = len(data__librarydirs)
|
721
|
+
for data__librarydirs_x, data__librarydirs_item in enumerate(data__librarydirs):
|
722
|
+
if not isinstance(data__librarydirs_item, (str)):
|
723
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".library-dirs[{data__librarydirs_x}]".format(**locals()) + " must be string", value=data__librarydirs_item, name="" + (name_prefix or "data") + ".library-dirs[{data__librarydirs_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
724
|
+
if "libraries" in data_keys:
|
725
|
+
data_keys.remove("libraries")
|
726
|
+
data__libraries = data["libraries"]
|
727
|
+
if not isinstance(data__libraries, (list, tuple)):
|
728
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".libraries must be array", value=data__libraries, name="" + (name_prefix or "data") + ".libraries", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
729
|
+
data__libraries_is_list = isinstance(data__libraries, (list, tuple))
|
730
|
+
if data__libraries_is_list:
|
731
|
+
data__libraries_len = len(data__libraries)
|
732
|
+
for data__libraries_x, data__libraries_item in enumerate(data__libraries):
|
733
|
+
if not isinstance(data__libraries_item, (str)):
|
734
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".libraries[{data__libraries_x}]".format(**locals()) + " must be string", value=data__libraries_item, name="" + (name_prefix or "data") + ".libraries[{data__libraries_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
735
|
+
if "runtime-library-dirs" in data_keys:
|
736
|
+
data_keys.remove("runtime-library-dirs")
|
737
|
+
data__runtimelibrarydirs = data["runtime-library-dirs"]
|
738
|
+
if not isinstance(data__runtimelibrarydirs, (list, tuple)):
|
739
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".runtime-library-dirs must be array", value=data__runtimelibrarydirs, name="" + (name_prefix or "data") + ".runtime-library-dirs", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
740
|
+
data__runtimelibrarydirs_is_list = isinstance(data__runtimelibrarydirs, (list, tuple))
|
741
|
+
if data__runtimelibrarydirs_is_list:
|
742
|
+
data__runtimelibrarydirs_len = len(data__runtimelibrarydirs)
|
743
|
+
for data__runtimelibrarydirs_x, data__runtimelibrarydirs_item in enumerate(data__runtimelibrarydirs):
|
744
|
+
if not isinstance(data__runtimelibrarydirs_item, (str)):
|
745
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".runtime-library-dirs[{data__runtimelibrarydirs_x}]".format(**locals()) + " must be string", value=data__runtimelibrarydirs_item, name="" + (name_prefix or "data") + ".runtime-library-dirs[{data__runtimelibrarydirs_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
746
|
+
if "extra-objects" in data_keys:
|
747
|
+
data_keys.remove("extra-objects")
|
748
|
+
data__extraobjects = data["extra-objects"]
|
749
|
+
if not isinstance(data__extraobjects, (list, tuple)):
|
750
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-objects must be array", value=data__extraobjects, name="" + (name_prefix or "data") + ".extra-objects", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
751
|
+
data__extraobjects_is_list = isinstance(data__extraobjects, (list, tuple))
|
752
|
+
if data__extraobjects_is_list:
|
753
|
+
data__extraobjects_len = len(data__extraobjects)
|
754
|
+
for data__extraobjects_x, data__extraobjects_item in enumerate(data__extraobjects):
|
755
|
+
if not isinstance(data__extraobjects_item, (str)):
|
756
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-objects[{data__extraobjects_x}]".format(**locals()) + " must be string", value=data__extraobjects_item, name="" + (name_prefix or "data") + ".extra-objects[{data__extraobjects_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
757
|
+
if "extra-compile-args" in data_keys:
|
758
|
+
data_keys.remove("extra-compile-args")
|
759
|
+
data__extracompileargs = data["extra-compile-args"]
|
760
|
+
if not isinstance(data__extracompileargs, (list, tuple)):
|
761
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-compile-args must be array", value=data__extracompileargs, name="" + (name_prefix or "data") + ".extra-compile-args", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
762
|
+
data__extracompileargs_is_list = isinstance(data__extracompileargs, (list, tuple))
|
763
|
+
if data__extracompileargs_is_list:
|
764
|
+
data__extracompileargs_len = len(data__extracompileargs)
|
765
|
+
for data__extracompileargs_x, data__extracompileargs_item in enumerate(data__extracompileargs):
|
766
|
+
if not isinstance(data__extracompileargs_item, (str)):
|
767
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-compile-args[{data__extracompileargs_x}]".format(**locals()) + " must be string", value=data__extracompileargs_item, name="" + (name_prefix or "data") + ".extra-compile-args[{data__extracompileargs_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
768
|
+
if "extra-link-args" in data_keys:
|
769
|
+
data_keys.remove("extra-link-args")
|
770
|
+
data__extralinkargs = data["extra-link-args"]
|
771
|
+
if not isinstance(data__extralinkargs, (list, tuple)):
|
772
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-link-args must be array", value=data__extralinkargs, name="" + (name_prefix or "data") + ".extra-link-args", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
773
|
+
data__extralinkargs_is_list = isinstance(data__extralinkargs, (list, tuple))
|
774
|
+
if data__extralinkargs_is_list:
|
775
|
+
data__extralinkargs_len = len(data__extralinkargs)
|
776
|
+
for data__extralinkargs_x, data__extralinkargs_item in enumerate(data__extralinkargs):
|
777
|
+
if not isinstance(data__extralinkargs_item, (str)):
|
778
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-link-args[{data__extralinkargs_x}]".format(**locals()) + " must be string", value=data__extralinkargs_item, name="" + (name_prefix or "data") + ".extra-link-args[{data__extralinkargs_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
779
|
+
if "export-symbols" in data_keys:
|
780
|
+
data_keys.remove("export-symbols")
|
781
|
+
data__exportsymbols = data["export-symbols"]
|
782
|
+
if not isinstance(data__exportsymbols, (list, tuple)):
|
783
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".export-symbols must be array", value=data__exportsymbols, name="" + (name_prefix or "data") + ".export-symbols", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
784
|
+
data__exportsymbols_is_list = isinstance(data__exportsymbols, (list, tuple))
|
785
|
+
if data__exportsymbols_is_list:
|
786
|
+
data__exportsymbols_len = len(data__exportsymbols)
|
787
|
+
for data__exportsymbols_x, data__exportsymbols_item in enumerate(data__exportsymbols):
|
788
|
+
if not isinstance(data__exportsymbols_item, (str)):
|
789
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".export-symbols[{data__exportsymbols_x}]".format(**locals()) + " must be string", value=data__exportsymbols_item, name="" + (name_prefix or "data") + ".export-symbols[{data__exportsymbols_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
790
|
+
if "swig-opts" in data_keys:
|
791
|
+
data_keys.remove("swig-opts")
|
792
|
+
data__swigopts = data["swig-opts"]
|
793
|
+
if not isinstance(data__swigopts, (list, tuple)):
|
794
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".swig-opts must be array", value=data__swigopts, name="" + (name_prefix or "data") + ".swig-opts", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
795
|
+
data__swigopts_is_list = isinstance(data__swigopts, (list, tuple))
|
796
|
+
if data__swigopts_is_list:
|
797
|
+
data__swigopts_len = len(data__swigopts)
|
798
|
+
for data__swigopts_x, data__swigopts_item in enumerate(data__swigopts):
|
799
|
+
if not isinstance(data__swigopts_item, (str)):
|
800
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".swig-opts[{data__swigopts_x}]".format(**locals()) + " must be string", value=data__swigopts_item, name="" + (name_prefix or "data") + ".swig-opts[{data__swigopts_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
801
|
+
if "depends" in data_keys:
|
802
|
+
data_keys.remove("depends")
|
803
|
+
data__depends = data["depends"]
|
804
|
+
if not isinstance(data__depends, (list, tuple)):
|
805
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".depends must be array", value=data__depends, name="" + (name_prefix or "data") + ".depends", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
|
806
|
+
data__depends_is_list = isinstance(data__depends, (list, tuple))
|
807
|
+
if data__depends_is_list:
|
808
|
+
data__depends_len = len(data__depends)
|
809
|
+
for data__depends_x, data__depends_item in enumerate(data__depends):
|
810
|
+
if not isinstance(data__depends_item, (str)):
|
811
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".depends[{data__depends_x}]".format(**locals()) + " must be string", value=data__depends_item, name="" + (name_prefix or "data") + ".depends[{data__depends_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
|
812
|
+
if "language" in data_keys:
|
813
|
+
data_keys.remove("language")
|
814
|
+
data__language = data["language"]
|
815
|
+
if not isinstance(data__language, (str)):
|
816
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".language must be string", value=data__language, name="" + (name_prefix or "data") + ".language", definition={'type': 'string'}, rule='type')
|
817
|
+
if "optional" in data_keys:
|
818
|
+
data_keys.remove("optional")
|
819
|
+
data__optional = data["optional"]
|
820
|
+
if not isinstance(data__optional, (bool)):
|
821
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".optional must be boolean", value=data__optional, name="" + (name_prefix or "data") + ".optional", definition={'type': 'boolean'}, rule='type')
|
822
|
+
if "py-limited-api" in data_keys:
|
823
|
+
data_keys.remove("py-limited-api")
|
824
|
+
data__pylimitedapi = data["py-limited-api"]
|
825
|
+
if not isinstance(data__pylimitedapi, (bool)):
|
826
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".py-limited-api must be boolean", value=data__pylimitedapi, name="" + (name_prefix or "data") + ".py-limited-api", definition={'type': 'boolean'}, rule='type')
|
827
|
+
if data_keys:
|
828
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, rule='additionalProperties')
|
829
|
+
return data
|
830
|
+
|
616
831
|
def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_find_directive(data, custom_formats={}, name_prefix=None):
|
617
832
|
if not isinstance(data, (dict)):
|
618
833
|
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}, rule='type')
|
@@ -673,28 +888,28 @@ def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_htm
|
|
673
888
|
|
674
889
|
def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_package_name(data, custom_formats={}, name_prefix=None):
|
675
890
|
if not isinstance(data, (str)):
|
676
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be string", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, rule='type')
|
677
|
-
|
678
|
-
if not
|
891
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be string", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, rule='type')
|
892
|
+
data_any_of_count10 = 0
|
893
|
+
if not data_any_of_count10:
|
679
894
|
try:
|
680
895
|
if not isinstance(data, (str)):
|
681
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be string", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'string', 'format': 'python-module-name'}, rule='type')
|
896
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be string", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='type')
|
682
897
|
if isinstance(data, str):
|
683
|
-
if not custom_formats["python-module-name"](data):
|
684
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be python-module-name", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'string', 'format': 'python-module-name'}, rule='format')
|
685
|
-
|
898
|
+
if not custom_formats["python-module-name-relaxed"](data):
|
899
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be python-module-name-relaxed", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='format')
|
900
|
+
data_any_of_count10 += 1
|
686
901
|
except JsonSchemaValueException: pass
|
687
|
-
if not
|
902
|
+
if not data_any_of_count10:
|
688
903
|
try:
|
689
904
|
if not isinstance(data, (str)):
|
690
905
|
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be string", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'string', 'format': 'pep561-stub-name'}, rule='type')
|
691
906
|
if isinstance(data, str):
|
692
907
|
if not custom_formats["pep561-stub-name"](data):
|
693
908
|
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be pep561-stub-name", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'string', 'format': 'pep561-stub-name'}, rule='format')
|
694
|
-
|
909
|
+
data_any_of_count10 += 1
|
695
910
|
except JsonSchemaValueException: pass
|
696
|
-
if not
|
697
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + " cannot be validated by any definition", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, rule='anyOf')
|
911
|
+
if not data_any_of_count10:
|
912
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + " cannot be validated by any definition", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, rule='anyOf')
|
698
913
|
return data
|
699
914
|
|
700
915
|
def validate_https___setuptools_pypa_io_en_latest_deprecated_distutils_configfile_html(data, custom_formats={}, name_prefix=None):
|
@@ -749,19 +964,19 @@ def validate_https___packaging_python_org_en_latest_specifications_pyproject_tom
|
|
749
964
|
if "readme" in data_keys:
|
750
965
|
data_keys.remove("readme")
|
751
966
|
data__readme = data["readme"]
|
752
|
-
|
753
|
-
if
|
967
|
+
data__readme_one_of_count11 = 0
|
968
|
+
if data__readme_one_of_count11 < 2:
|
754
969
|
try:
|
755
970
|
if not isinstance(data__readme, (str)):
|
756
971
|
raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme must be string", value=data__readme, name="" + (name_prefix or "data") + ".readme", definition={'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, rule='type')
|
757
|
-
|
972
|
+
data__readme_one_of_count11 += 1
|
758
973
|
except JsonSchemaValueException: pass
|
759
|
-
if
|
974
|
+
if data__readme_one_of_count11 < 2:
|
760
975
|
try:
|
761
976
|
if not isinstance(data__readme, (dict)):
|
762
977
|
raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme must be object", value=data__readme, name="" + (name_prefix or "data") + ".readme", definition={'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}, rule='type')
|
763
|
-
|
764
|
-
if not
|
978
|
+
data__readme_any_of_count12 = 0
|
979
|
+
if not data__readme_any_of_count12:
|
765
980
|
try:
|
766
981
|
data__readme_is_dict = isinstance(data__readme, dict)
|
767
982
|
if data__readme_is_dict:
|
@@ -774,9 +989,9 @@ def validate_https___packaging_python_org_en_latest_specifications_pyproject_tom
|
|
774
989
|
data__readme__file = data__readme["file"]
|
775
990
|
if not isinstance(data__readme__file, (str)):
|
776
991
|
raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme.file must be string", value=data__readme__file, name="" + (name_prefix or "data") + ".readme.file", definition={'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}, rule='type')
|
777
|
-
|
992
|
+
data__readme_any_of_count12 += 1
|
778
993
|
except JsonSchemaValueException: pass
|
779
|
-
if not
|
994
|
+
if not data__readme_any_of_count12:
|
780
995
|
try:
|
781
996
|
data__readme_is_dict = isinstance(data__readme, dict)
|
782
997
|
if data__readme_is_dict:
|
@@ -789,9 +1004,9 @@ def validate_https___packaging_python_org_en_latest_specifications_pyproject_tom
|
|
789
1004
|
data__readme__text = data__readme["text"]
|
790
1005
|
if not isinstance(data__readme__text, (str)):
|
791
1006
|
raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme.text must be string", value=data__readme__text, name="" + (name_prefix or "data") + ".readme.text", definition={'type': 'string', 'description': 'Full text describing the project.'}, rule='type')
|
792
|
-
|
1007
|
+
data__readme_any_of_count12 += 1
|
793
1008
|
except JsonSchemaValueException: pass
|
794
|
-
if not
|
1009
|
+
if not data__readme_any_of_count12:
|
795
1010
|
raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme cannot be validated by any definition", value=data__readme, name="" + (name_prefix or "data") + ".readme", definition={'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, rule='anyOf')
|
796
1011
|
data__readme_is_dict = isinstance(data__readme, dict)
|
797
1012
|
if data__readme_is_dict:
|
@@ -804,10 +1019,10 @@ def validate_https___packaging_python_org_en_latest_specifications_pyproject_tom
|
|
804
1019
|
data__readme__contenttype = data__readme["content-type"]
|
805
1020
|
if not isinstance(data__readme__contenttype, (str)):
|
806
1021
|
raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme.content-type must be string", value=data__readme__contenttype, name="" + (name_prefix or "data") + ".readme.content-type", definition={'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}, rule='type')
|
807
|
-
|
1022
|
+
data__readme_one_of_count11 += 1
|
808
1023
|
except JsonSchemaValueException: pass
|
809
|
-
if
|
810
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme must be valid exactly by one definition" + (" (" + str(
|
1024
|
+
if data__readme_one_of_count11 != 1:
|
1025
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme must be valid exactly by one definition" + (" (" + str(data__readme_one_of_count11) + " matches found)"), value=data__readme, name="" + (name_prefix or "data") + ".readme", definition={'$$description': ['`Full/detailed description of the project in the form of a README', '<https://peps.python.org/pep-0621/#readme>`_', "with meaning similar to the one defined in `core metadata's Description", '<https://packaging.python.org/specifications/core-metadata/#description>`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, rule='oneOf')
|
811
1026
|
if "requires-python" in data_keys:
|
812
1027
|
data_keys.remove("requires-python")
|
813
1028
|
data__requirespython = data["requires-python"]
|
@@ -819,8 +1034,8 @@ def validate_https___packaging_python_org_en_latest_specifications_pyproject_tom
|
|
819
1034
|
if "license" in data_keys:
|
820
1035
|
data_keys.remove("license")
|
821
1036
|
data__license = data["license"]
|
822
|
-
|
823
|
-
if
|
1037
|
+
data__license_one_of_count13 = 0
|
1038
|
+
if data__license_one_of_count13 < 2:
|
824
1039
|
try:
|
825
1040
|
data__license_is_dict = isinstance(data__license, dict)
|
826
1041
|
if data__license_is_dict:
|
@@ -833,9 +1048,9 @@ def validate_https___packaging_python_org_en_latest_specifications_pyproject_tom
|
|
833
1048
|
data__license__file = data__license["file"]
|
834
1049
|
if not isinstance(data__license__file, (str)):
|
835
1050
|
raise JsonSchemaValueException("" + (name_prefix or "data") + ".license.file must be string", value=data__license__file, name="" + (name_prefix or "data") + ".license.file", definition={'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}, rule='type')
|
836
|
-
|
1051
|
+
data__license_one_of_count13 += 1
|
837
1052
|
except JsonSchemaValueException: pass
|
838
|
-
if
|
1053
|
+
if data__license_one_of_count13 < 2:
|
839
1054
|
try:
|
840
1055
|
data__license_is_dict = isinstance(data__license, dict)
|
841
1056
|
if data__license_is_dict:
|
@@ -848,10 +1063,10 @@ def validate_https___packaging_python_org_en_latest_specifications_pyproject_tom
|
|
848
1063
|
data__license__text = data__license["text"]
|
849
1064
|
if not isinstance(data__license__text, (str)):
|
850
1065
|
raise JsonSchemaValueException("" + (name_prefix or "data") + ".license.text must be string", value=data__license__text, name="" + (name_prefix or "data") + ".license.text", definition={'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}, rule='type')
|
851
|
-
|
1066
|
+
data__license_one_of_count13 += 1
|
852
1067
|
except JsonSchemaValueException: pass
|
853
|
-
if
|
854
|
-
raise JsonSchemaValueException("" + (name_prefix or "data") + ".license must be valid exactly by one definition" + (" (" + str(
|
1068
|
+
if data__license_one_of_count13 != 1:
|
1069
|
+
raise JsonSchemaValueException("" + (name_prefix or "data") + ".license must be valid exactly by one definition" + (" (" + str(data__license_one_of_count13) + " matches found)"), value=data__license, name="" + (name_prefix or "data") + ".license", definition={'description': '`Project license <https://peps.python.org/pep-0621/#license>`_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}}, 'required': ['text']}]}, rule='oneOf')
|
855
1070
|
if "authors" in data_keys:
|
856
1071
|
data_keys.remove("authors")
|
857
1072
|
data__authors = data["authors"]
|