o
    j                    @   s0  d Z ddlmZ ddlZddlmZ edededed	ed
dZedZ	i dfddZ
i dfddZi dfddZi dfddZi dfddZi dfddZi dfddZi dfddZi dfddZi dfddZi dfd d!Zi dfd"d#Zi dfd$d%Zi dfd&d'Zi dfd(d)ZdS )*z2.21.2    )DecimalN   )JsonSchemaValueExceptionz6^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9._-]*[a-zA-Z0-9])\Z^.*$.+^.+$z^[^@]+@[^@]+\.[^@]+\Z)5^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9._-]*[a-zA-Z0-9])$r   r   r   idn-email_re_patternc                 C      t | ||pdd  | S Ndata )[validate_https___packaging_python_org_en_latest_specifications_declaring_build_dependenciesr   custom_formatsname_prefix r   /var/www/html/Deteccion_Ine/venv/lib/python3.10/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.pyvalidate      r   c           '   (   C   sT*  t | tstd|pd d | d|pd d dddg ddd	dd
d	dg dddiddddddddgddddddgddddddgdi dddd dd!dd"d#dd$dd%d&gd'd(g d)dg d*d'dd+d,dd-d.gd'id,gd/d0dd1d2id0gd/gid3dg d4d5d6id3gd/gd7gd8d9dd:d;d<gd=d>d?dd@dAddd,ddBdCgd'id,gdDdd0dg dEd'id0gdDgdFdGdHdddidIdJddKdLig dMdNdOddKdLidPdQgdNdRdddidSdTdUdddVdWdXdYdZgdNd[dd\d	d]dd^d_id`dadbdcddgdedfdbg dgdedhg didjdkid	d]dKdbiidldmddndKdoidpdqddrdjd id	d]ddKdoidsidtdudddvd_dIdwdddvd_dIddxdygdzg d{idd|dgd	d}gd}d~d!idgdidg ddd!gdgddddGgidd>ddiiidgdLdddd	dddgd'ddddXdddgiddgigddbddg ddjdid	d]dddgdddiddoddddddd
ddddg dddddd2idddiidddddg ddd	i ddddidsdddgddd d_ddddgddd d_ddg ddddg ddddidddg ddddiddg ddddKdiddKdigd8dg dĢdd	d+d~didKdigidddiidƜdg dȢdd	d+dKdid~digiddddidsidƜdg dˢdddg d͢dd	d+dKdid~digiddddidsidƜddddd_dddҜdddddd_dd֜ddddKdidIdg dۢdddddidsidܜdg dޢddddd_idܜdGdddig dddd}ddd	g ddKdidKdigd8dKdidKdidKdidKdiddd d_d	ddKdiidddKdidddidKdidd	dgd,gdddiddddddd_ddd_gdddddddgd	i dddd_ddddidsddddidsdddddddddiddigdFgd	ddsddddidsddddidsddddidsd dddidsddddidsddddidsddddidsddddidsddddidsddddidsdddidddid	ddid
ddddd	d,dddidddidsgiid,gdddg didKdigdddddgdd	dddd_idgddddd	ddddgd	ddddidIdddgddiddddgddiddd d!gd'd"d#id$d%d&d'd(dd)d	d*dddd+dddd	d,d-dd*d.id/gidsid`d0dddddgdi dddd dd!dd"d#dd$dd%d&gd'd(g d)dg d*d'dd+d,dd-d.gd'id,gd/d0dd1d2id0gd/gid3dg d4d5d6id3gd/gd7gd8d9dd:d;d<gd=d>d?dd@dAddd,ddBdCgd'id,gdDdd0dg dEd'id0gdDgdFdGdHdddidIdJddKdLig dMdNdOddKdLidPdQgdNdRdddidSdTdUdddVdWdXdYdZgdNd[dd\d	d]dd^d_id`dadbdcddgdedfdbg dgdedhg didjdkid	d]dKdbiidldmddndKdoidpdqddrdjd id	d]ddKdoidsidtdudddvd_dIdwdddvd_dIddxdygdzg d{idd|dgd	d}gd}d~d!idgdidg ddd!gdgddddGgidd>ddiiidgdLdddd	dddgd'ddddXdddgiddgigddbddg ddjdid	d]dddgdddiddoddddddd
d1dd2t | t}|r(t|  }d3|v r|d3 | d3 }t |tsmtd|p9d d4 |d|pCd d5 dd
d	dg dddiddddddddgddddddgddd2t |t}|rtdg|  }|rtd|pd d6 tt|d7  |d|pd d5 dd
d	dg dddiddddddddgddddddgddd2t| }d|v rQ|d |d }	t |	tt	fstd|pd d8 |	d|pd d9 dg dddiddd2t |	tt	f}
|
rQt
|	}t|	D ]<\}}t |tsOtd|p$d d:jdai t  d; |d|p9d d:jdai t  d ddidd2qd<|v r|d< |d< }t |tstd|pnd d= |d|pxd d> dddddd2t |tr|d |std|pd d? |d|pd d> dddddjd2d@|v r=|d@ |d@ }t |tt	fstd|pd dA |d|pd dB dddgdddddd2t |tt	f}|r=t
|}t|D ]=\}}t |ts;td|pd dCjdai t  d; |d|p$d dCjdai t  d ddddd2q|rtd|pFd dD t| d7 |d|pWd d5 dd
d	dg dddiddddddddgddddddgddEd2dF|v r|dF | dF }t|||pddG  dH|v r|dH | dH }t |ts]td|pd dI |d|pd dJ ddddg dddddd2idddiidddddg ddd	i ddddidsdddgddd d_ddddgddd d_ddg ddddg ddddidddg ddddiddg ddddKdiddKdigd8dg dĢdd	d+d~didKdigidddiidƜdg dȢdd	d+dKdid~digiddddidsidƜdg dˢdddg d͢dd	d+dKdid~digiddddidsidƜddddd_dddҜdddddd_dd֜ddddKdidIdg dۢdddddidsidܜdg dޢddddd_idܜdGdddig dddd}ddd	g ddKdidKdigd8dKdidKdidKdidKdiddd d_d	ddKdiidddKdidddidKdidd	dgd,gdddiddddddd_ddd_gdddddddgd	i dddd_ddddidsddddidsdddddddddiddigdFgd	ddsddddidsddddidsddddidsd dddidsddddidsddddidsddddidsddddidsddddidsddddidsdddidddid	ddid
ddddd	d,dddidddidsgiid,gdddg didKdigdddddgdd	dddd_idgddddd	ddddgd	ddddidIdddgddiddddgddiddd d!gd'd"d#id$d%d&d'd(dd2t |t}|rt| }dK|v r|dK |dK }t|||pddL  dM|v r|dM |dM }t|||pddN  dO|v r|dO | dO }t |tstd|pd dP |d|pd dQ dd)d	d*dddd+dddd	d,d-dd*d.id/gidsid`dd2t |t}|rt| }| D ]\}}td* |r||v r%|| t |tt	fsxtd|p3d dRjdai t  dS |d|pHd dRjdai t  d dddd+dddd	d,d-dd*d.id/gidsdd2t |tt	f}|rt
|} t|D ]:\}!}"dT}#|#dUk r%zt |"tstd|pd dVjdai t  d; |"d|pd dVjdai t  d dd+dddd2t |"tr|d |"std|pd dVjdai t  dW |"d|pd dVjdai t  d dd+dddjd2|#dX7 }#W n
 ty$   Y nw |#dUk rkz4t |"tsptd|p9d dVjdai t  d |"d|pMd dVjdai t  d dd	d,d-dd*d.id/dd2t |"t}$|$rZt|" }%d,|%v r|%d, |"d, }&t |&tstd|pd dYjdai t  d; |&d|pd dYjdai t  d d-dd*d.dd2t |&trtd* |&std|pd dYjdai t  dZ |&d|pd dYjdai t  d d-dd*d.d[d2|%rZtd|pd dVjdai t  d\ t|% d7 |"d|p6d dVjdai t  d dd	d,d-dd*d.id/dEd2|#dX7 }#W n
 tyj   Y nw |#dXkrtd|pwd dVjdai t  d] d^t|# d_  |"d|pd dVjdai t  d ddd+dddd	d,d-dd*d.id/gidd2qq|rtd|pd d` t| d7 |d|pd dQ dd)d	d*dddd+dddd	d,d-dd*d.id/gidsid`dEd2|r(td|pd d\ t| d7 | d|p,d d dddg ddd	dd
d	dg dddiddddddddgddddddgddddddgdi dddd dd!dd"d#dd$dd%d&gd'd(g d)dg d*d'dd+d,dd-d.gd'id,gd/d0dd1d2id0gd/gid3dg d4d5d6id3gd/gd7gd8d9dd:d;d<gd=d>d?dd@dAddd,ddBdCgd'id,gdDdd0dg dEd'id0gdDgdFdGdHdddidIdJddKdLig dMdNdOddKdLidPdQgdNdRdddidSdTdUdddVdWdXdYdZgdNd[dd\d	d]dd^d_id`dadbdcddgdedfdbg dgdedhg didjdkid	d]dKdbiidldmddndKdoidpdqddrdjd id	d]ddKdoidsidtdudddvd_dIdwdddvd_dIddxdygdzg d{idd|dgd	d}gd}d~d!idgdidg ddd!gdgddddGgidd>ddiiidgdLdddd	dddgd'ddddXdddgiddgigddbddg ddjdid	d]dddgdddiddoddddddd
ddddg dddddd2idddiidddddg ddd	i ddddidsdddgddd d_ddddgddd d_ddg ddddg ddddidddg ddddiddg ddddKdiddKdigd8dg dĢdd	d+d~didKdigidddiidƜdg dȢdd	d+dKdid~digiddddidsidƜdg dˢdddg d͢dd	d+dKdid~digiddddidsidƜddddd_dddҜdddddd_dd֜ddddKdidIdg dۢdddddidsidܜdg dޢddddd_idܜdGdddig dddd}ddd	g ddKdidKdigd8dKdidKdidKdidKdiddd d_d	ddKdiidddKdidddidKdidd	dgd,gdddiddddddd_ddd_gdddddddgd	i dddd_ddddidsddddidsdddddddddiddigdFgd	ddsddddidsddddidsddddidsd dddidsddddidsddddidsddddidsddddidsddddidsddddidsdddidddid	ddid
ddddd	d,dddidddidsgiid,gdddg didKdigdddddgdd	dddd_idgddddd	ddddgd	ddddidIdddgddiddddgddiddd d!gd'd"d#id$d%d&d'd(dd)d	d*dddd+dddd	d,d-dd*d.id/gidsid`d0dddddgdi dddd dd!dd"d#dd$dd%d&gd'd(g d)dg d*d'dd+d,dd-d.gd'id,gd/d0dd1d2id0gd/gid3dg d4d5d6id3gd/gd7gd8d9dd:d;d<gd=d>d?dd@dAddd,ddBdCgd'id,gdDdd0dg dEd'id0gdDgdFdGdHdddidIdJddKdLig dMdNdOddKdLidPdQgdNdRdddidSdTdUdddVdWdXdYdZgdNd[dd\d	d]dd^d_id`dadbdcddgdedfdbg dgdedhg didjdkid	d]dKdbiidldmddndKdoidpdqddrdjd id	d]ddKdoidsidtdudddvd_dIdwdddvd_dIddxdygdzg d{idd|dgd	d}gd}d~d!idgdidg ddd!gdgddddGgidd>ddiiidgdLdddd	dddgd'ddddXdddgiddgigddbddg ddjdid	d]dddgdddiddoddddddd
d1dEd2| S (b  Nr   r    must be object'http://json-schema.org/draft-07/schema#zShttps://packaging.python.org/en/latest/specifications/declaring-build-dependencies/z+Data structure for ``pyproject.toml`` files)zKFile format containing build-time configurations for the Python ecosystem. zO:pep:`517` initially defined a build-system independent format for source treeszQwhich was complemented by :pep:`518` to provide a way of specifying dependencies zfor building Python projects.zYPlease notice the ``project`` table (as initially defined in  :pep:`621`) is not includedz3in this schema and should be considered separately.objectFz&Table used to store build-related dataarray)zKList of dependencies in the :pep:`508` format required to execute the buildz9system. Please notice that the resulting dependency graphz**MUST NOT contain cycles**typestringr   $$descriptionitemszLPython object that will be used to perform the build according to :pep:`517`zpep517-backend-referencer   descriptionformatzDList of directories to be prepended to ``sys.path`` when loading thezback-end, and running its hooksz0Should be a path (TODO: enforce it with format?))r   $comment)requiresbuild-backendbackend-pathr#   )r   r    additionalProperties
propertiesrequiredEhttps://packaging.python.org/en/latest/specifications/pyproject-toml/0Package metadata stored in the ``project`` tableBData structure for the **project** table inside ``pyproject.toml``$(as initially defined in :pep:`621`)nameIThe name (primary identifier) of the project. MUST be statically defined.pep508-identifierversion6The version of the project as supported by :pep:`440`.pep440r    'The `summary description of the projectF<https://packaging.python.org/specifications/core-metadata/#summary>`_r   r   readmezA`Full/detailed description of the project in the form of a READMEz,<https://peps.python.org/pep-0621/#readme>`_zGwith meaning similar to the one defined in `core metadata's DescriptionzJ<https://packaging.python.org/specifications/core-metadata/#description>`_zDRelative path to a text file (UTF-8) containing the full descriptionzDof the project. If the file path ends in case-insensitive ``.md`` orz8``.rst`` suffixes, then the content-type is respectivelyz#``text/markdown`` or ``text/x-rst``anyOffile<Relative path to a text file containing the full descriptionof the project.r'   r(   text!Full text describing the project.r   r    content-typez2Content-type (:rfc:`1341`) of the full descriptionz>(e.g. ``text/markdown``). The ``charset`` parameter is assumedzUTF-8 when not present."TODO: add regex pattern or format?r   r   r"   r   allOfr   oneOfrequires-pythonpep508-versionspec/`The Python version requirements of the projectO<https://packaging.python.org/specifications/core-metadata/#requires-python>`_.r   r!   r   license?`Project license <https://peps.python.org/pep-0621/#license>`_.An SPDX license identifierSPDXDRelative path to the file (UTF-8) which contains the license for theproject.r   r'   r(   z7The license of the project whose meaning is that of thez%`License field from the core metadatazG<https://packaging.python.org/specifications/core-metadata/#license>`_.r    rH   license-files(Paths or globs to paths of license filesr    r   r   authors$ref#/definitions/authorzJThe people or organizations considered to be the 'authors' of the project.zNThe exact meaning is open to interpretation (e.g. original or primary authors,z/current maintainers, or owners of the package).r   r   r   maintainersNThe people or organizations considered to be the 'maintainers' of the project.FSimilarly to ``authors``, the exact meaning is open to interpretation.keywordsNList of keywords to assist searching for the distribution in a larger catalog.r   r   r    classifierstrove-classifier3`PyPI classifier <https://pypi.org/classifiers/>`_.r   r!   r    4`Trove classifiers <https://pypi.org/classifiers/>`_which apply to the project.urls@URLs associated with the project in the form ``label => value``.r   urlr   r!   r   r    r&   patternPropertiesscripts#/definitions/entry-point-groupzDInstruct the installer to create command-line wrappers for the givenL`entry points <https://packaging.python.org/specifications/entry-points/>`_.)r[   r   gui-scripts)z;Instruct the installer to create GUI wrappers for the givenrs   zJThe difference between ``scripts`` and ``gui-scripts`` is only relevant inzWindows.entry-pointsz@Instruct the installer to expose the given modules/functions viaz9``entry-point`` discovery mechanism (useful for plugins).z9More information available in the `Python packaging guidez><https://packaging.python.org/specifications/entry-points/>`_.r!   python-entrypoint-groupr   propertyNamesr&   rp   dependencies!Project (mandatory) dependencies.#/definitions/dependencyr   r    r   optional-dependencies#Optional dependency for the projectr   r   r   r    ry   r&   rp   NLists import names which a project, when installed, would exclusively provide.import-name_Lists import names that, when installed, would be provided by the project, but not exclusively.GSpecifies which fields are intentionally unspecified and expected to be#dynamically provided by build toolsenumr0   r    r6   rI   rN   rW   rZ   r_   rb   re   rk   rq   rt   ru   rz   r~   import-namesimport-namespacesr   r   dynamicr   const version is listed in ``dynamic``containsr   r(   r'   	zAccording to :pep:`621`:zH    If the core metadata specification lists a field as "Required", thenzH    the metadata MUST specify the field statically or list it in dynamicz"In turn, `core metadata`_ defines:z=    The required fields are: Metadata-Version, Name, Version.z&    All the other fields are optional.zISince ``Metadata-Version`` is defined by the build back-end, ``name`` andzE``version`` are the only mandatory information in ``pyproject.toml``.zM.. _core metadata: https://packaging.python.org/specifications/core-metadata/notz	$$comment=version should be statically defined in the ``version`` fieldr(   r   ifZthenr(   r'   Author or Maintainer5https://peps.python.org/pep-0621/#authors-maintainersIMUST be a valid email name, i.e. whatever can be put as a name, before anemail, in :rfc:`822`.	idn-emailMUST be a valid email addressr-   emailr   $idtitler"   r   r&   r'   r9   Entry-pointszLEntry-points are grouped together to indicate what sort of capabilities theyzprovide.zSee the `packaging guidesz=<https://packaging.python.org/specifications/entry-points/>`_zand `setuptools docszC<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_zfor more information.python-entrypoint-name6Reference to a Python object. It is either in the form<``importable.module``, or ``importable.module:object.attr``.python-entrypoint-reference9https://packaging.python.org/specifications/entry-points/r   r   r!   r"   r   r   r   r   ry   r&   rp   
Dependency5Project dependency specification according to PEP 508pep508r   r   r   r    r!   Zauthorzentry-point-group
dependency
$schemar   r   r   r   r'   r(   r&   rF   definitionsIhttps://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html``tool.distutils`` tablezC**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``z<subtables to configure arguments for ``distutils`` commands.zGOriginally, ``distutils`` allowed developers to configure arguments forz8``setup.py`` commands via `distutils configuration fileszN<https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html>`_.zHSee also `the old Python docs <https://docs.python.org/3.11/install/>_`.global4Global options applied to all ``distutils`` commandsr   CTODO: Is there a practical way of making this schema more specific?r   r   r   r   r   r'   rp   r"   Dhttps://setuptools.pypa.io/en/latest/userguide/pyproject_config.html``tool.setuptools`` table
zL``setuptools``-specific configurations that can be set by users that requirezcustomization.zMThese configurations are completely optional and probably can be skipped whenzFcreating simple packages. They are equivalent to some of the `KeywordszA<https://setuptools.pypa.io/en/latest/references/keywords.html>`_zPused by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.z,It considers only ``setuptools`` `parameterszj<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration>`_zSthat are not covered by :pep:`621`; and intentionally excludes ``dependency_links``zFand ``setup_requires`` (incompatible with modern workflows/standards).	platformsprovides?Package and virtual package names contained within this package**(not supported by pip)**r   r   r   	obsoletes,Packages which this package renders obsoletezip-safezDWhether the project can be safely installed and run from a zip file.G**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` andA``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).booleanr   r   script-filesz<Legacy way of defining scripts (entry-points are preferred).z4Equivalent to the ``script`` keyword in ``setup.py``zM(it was renamed to avoid confusion with entry-point based ``project.scripts``zdefined in :pep:`621`).zN**DISCOURAGED**: generic script wrappers are tricky and may not work properly.z:Whenever possible, please use ``project.scripts`` instead.1TODO: is this field deprecated/should be removed?r   r   r   r"   eager-resourceszFResources that should be extracted together, if any of them is needed,z<or if any C extensions included in the project are imported.r   r   packagesz5Packages that should be included in the distribution.z7It can be given either as a list of package identifiersz:or as a ``dict``-like structure with a single key ``find``z&which corresponds to a dynamic call toz4``setuptools.config.expand.find_packages`` function.zMThe ``find`` key is associated with a nested ``dict``-like structure that canzDcontain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,z;mimicking the keyword arguments of the associated function.#Array of Python package identifiers#/definitions/package-namer   r   r   #/definitions/find-directivepackage-dirzR:class:`dict`-like structure mapping from package names to directories where theirzcode can be found.zFThe empty string (as key) means that all packages are contained insidez9the given directory will be included in the distribution.r   r   r   r&   ry   rp   package-dataz5Mapping from package names to lists of glob patterns.zLUsually this option is not needed when using ``include-package-data = true``MFor more information on how to include data files, check ``setuptools`` `docsB<https://setuptools.pypa.io/en/latest/userguide/datafiles.html>`_.*include-package-datazCAutomatically include any data files inside the package directoriesz%that are specified by ``MANIFEST.in``r   r   exclude-package-datazLMapping from package names to lists of glob patterns that should be excludedr   r   namespace-packagespython-module-name-relaxedEhttps://setuptools.pypa.io/en/latest/userguide/package_discovery.html=**DEPRECATED**: use implicit namespaces instead (:pep:`420`).r   r   r"   r    
py-modules'Modules that setuptools will manipulate0TODO: clarify the relationship with ``packages``r    r   r   r"   ext-modules.Extension modules to be compiled by setuptools#/definitions/ext-module
data-fileszA``dict``-like structure where each key represents a directory andzFthe value is a list of glob patterns that should be installed in them.zK**DISCOURAGED**: please notice this might not work as expected with wheels.zKWhenever possible, consider using data files inside the package directorieszB(or create a new namespace package that only contains data files).zSee `data files supportr   r   r   rp   cmdclasszMMapping of distutils-style command names to ``setuptools.Command`` subclasseszJwhich in turn should be represented by strings with a qualified class namez+(i.e., "dotted" form with module), e.g.::

z;    cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}

zFThe command class should be a directly defined at the top-level of thez%containing module (no class nesting).python-qualified-identifierzO**PROVISIONAL**: list of glob patterns for all license files being distributed.z,(likely to become standard with :pep:`639`).zBBy default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``HTODO: revise if PEP 639 is accepted. Probably ``project.license-files``?r   r   r   r"   @Instructions for loading :pep:`621`-related metadata dynamicallyzBA version dynamically loaded via either the ``attr:`` or ``file:``zMdirectives. Please make sure the given file or attribute respects :pep:`440`.z3Also ensure to set ``project.dynamic`` accordingly.#/definitions/attr-directive#/definitions/file-directivez-#/definitions/file-directive-for-dependenciesr   ry   r&   rp   z,#/definitions/file-directive/properties/filerA   r:   r   r'   r&   r   r9   r(   r0   re   r    ru   rz   r~   r6   r   r    r&   r'   Valid package name.Valid package name (importable or :pep:`561`).pep561-stub-namer   r   r    r   r9   Extension module>Parameters to construct a :class:`setuptools.Extension` objectsourcesinclude-dirsdefine-macros
macro namer    r   macro valuenullr   r   ZadditionalItemsundef-macroslibrary-dirs	librariesruntime-library-dirsextra-objectsextra-compile-argsextra-link-argsexport-symbols	swig-optsdependslanguageoptionalpy-limited-apir   r   r    r   r(   r&   r'   'file:' directiveBValue is read from a file (or list of files and then concatenated)rH   r   r   r    r   r&   r'   r(   "'file:' directive for dependenciesr   z3**BETA**: subset of the ``requirements.txt`` formatz!without ``pip`` flags and optionsz*(one :pep:`508`-compliant string per line,z7lines that are blank or start with ``#`` are excluded).zSee `dynamic metadatazZ<https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata>`_.r   rF   'attr:' directiveHValue is read from a module attribute. Supports callables and iterables;(unsupported types are cast via ``str()``attrr   r   r   r   r&   r'   r(   'find:' directivefindDynamic `package discoveryJ<https://setuptools.pypa.io/en/latest/userguide/package_discovery.html>`_.BDirectories to be searched for packages (Unix-style relative path)<Exclude packages that match the values listed in this field.6Can container shell-style wildcards (e.g. ``'pkg.*'``)BRestrict the found packages to just the ones listed in this field.CWhen ``True``, directories without a ``__init__.py`` file will also3be scanned for :pep:`420`-style implicit namespaceswhereexcludeinclude
namespacesr   r   r&   r'   r   r   r   r&   r'   zpackage-namez
ext-modulezfile-directivezfile-directive-for-dependencieszattr-directivezfind-directiver   r   r   r   r   r&   r'   r   )	distutils
setuptools)r   r'   z#Dependency groups following PEP 735r   z+Python package specifiers following PEP 508zinclude-groupz/Another dependency group to include in this one)r    r   pattern)r   r&   r'   )build-systemprojecttooldependency-groups)r   r   r   r   r   r&   r'   rB  valuer-   Z
definitionrulerA  z.build-system must be objectz.build-systemz.build-system must contain  propertiesz$.build-system.requires must be arrayz.build-system.requiresz7.build-system.requires[{data__buildsystem__requires_x}] must be stringr$   z*.build-system.build-backend must be stringz.build-system.build-backendz<.build-system.build-backend must be pep517-backend-referencer%   z(.build-system.backend-path must be arrayz.build-system.backend-pathz>.build-system.backend-path[{data__buildsystem__backendpath_x}]z.build-system must not contain r&   rB  z.projectrC  z.tool must be objectz.toolr>  z.tool.distutilsr?  z.tool.setuptoolsrD  z!.dependency-groups must be objectz.dependency-groupsz/.dependency-groups.{data__dependencygroups_key} must be arrayr      zO.dependency-groups.{data__dependencygroups_key}[{data__dependencygroups_val_x}] must be pep508r   z].dependency-groups.{data__dependencygroups_key}[{data__dependencygroups_val_x}].include-groupzI must match pattern ^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9._-]*[a-zA-Z0-9])$r@   must not contain ( must be valid exactly by one definition ( matches found)z$.dependency-groups must not contain r   )
isinstancedictr   setkeysremovestrsortedlisttuplelen	enumerater!   localsMvalidate_https___packaging_python_org_en_latest_specifications_pyproject_tomlRvalidate_https___setuptools_pypa_io_en_latest_deprecated_distutils_configfile_htmlMvalidate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_htmlr   REGEX_PATTERNSsearch)'r   r   r   data_is_dict	data_keysZdata__buildsystemZdata__buildsystem_is_dictZdata__buildsystem__missing_keysZdata__buildsystem_keysZdata__buildsystem__requiresZ#data__buildsystem__requires_is_listZdata__buildsystem__requires_lenZdata__buildsystem__requires_xZ data__buildsystem__requires_itemZdata__buildsystem__buildbackendZdata__buildsystem__backendpathZ&data__buildsystem__backendpath_is_listZ"data__buildsystem__backendpath_lenZ data__buildsystem__backendpath_xZ#data__buildsystem__backendpath_itemZdata__projectZ
data__toolZdata__tool_is_dictZdata__tool_keysZdata__tool__distutilsZdata__tool__setuptoolsZdata__dependencygroupsZdata__dependencygroups_is_dictZdata__dependencygroups_keysZdata__dependencygroups_keyZdata__dependencygroups_valZ"data__dependencygroups_val_is_listZdata__dependencygroups_val_lenZdata__dependencygroups_val_xZdata__dependencygroups_val_itemZ-data__dependencygroups_val_item_one_of_count1Z'data__dependencygroups_val_item_is_dictZ$data__dependencygroups_val_item_keysZ-data__dependencygroups_val_item__includegroupr   r   r   r   !   s6             ( 

t


Db
<<
Fd

    X 



~


hhz

ln           > r   c              !   C   s:  t | tstd|pd d | d|pd d dddg ddd	i d
dddiddddgddddddddgddddddg ddddg ddddidddg d dddidd!g d"d#dd$d%d&ddd'ddd(dgd)d*d+d,dd	d-dd.d/gd	d0dddid1dd2d3gddid4dd5d3gddid4dd6d7gd8d9d:id;gd<d=g d>dd	d?d@did$d%d&ddd'ddd(dgd)gidAddiidBdCg dDdd	d?d$d%d&ddd'ddd(dgd)d@dEigidAdddididBdFg dGdddHg dIdd	d?d$d%d&ddd'ddd(dgd)d@dEigidAdddididBdJddd'ddKdLdMdNdOddd'ddPdQdRdSddTdUdVddWdXgd	i dWdd'ddXdddiddYdddiddZddd[dd\d]ddidd^igd_gd	d`ddadddiddbdddiddcdddiddddddiddedddiddfdddiddgdddiddhdddiddidddiddjdddiddkddidlddidmddidnd1dog dpddAdddididqdrg dsddAddtdidqdudddig dvdwdxdyddzd	g d{d|d}d~dgdd	dddtdidgdddddd	ddddidddidgiidgdgd<ddddd	ddddidddidgiidgdddddd	ddddidddidgiidgdddddd	ddddidddidgiidgdddg diddigdddddd	dddg diddigdiddddddd	ddddidddidgiidgddddidddidddidgidd	dgdgdddid$d%d&ddd'ddd(dgd)dTdUdVddWdXgd	i dWdd'ddXdddiddYdddiddZddd[dd\d]ddidd^igd_gd	d`ddadddiddbdddiddcdddiddddddiddedddiddfdddiddgdddiddhdddiddidddiddjdddiddkddidlddidmddidnddddd	ddddidddidgiidgdddg diddddd	ddddidddidgiidgdgdd|d}d~dgdd	dddtdidgdd+d,dd	d-dd.d/gd	d0dddid1dd2d3gddid4dd5d3gddid4dd6d7gd8d9d:id;ddddt | t}|rEt|  }d
|v r|d
 | d
 }t |ttfs6td|p d d |d|p)d d dddidddt |ttf}|rt|}t	|D ]8\}}	t |	t
std|pXd djd	i t  d |	d|pkd djd	i t  d ddiddqHd|v r>|d | d }
t |
ttfstd|pd d |
d|pd d ddgdddddddt |
ttf}|r>t|
}t	|
D ]t\}}t |t
std|pd djd	i t  d |d|pd djd	i t  d dddddt |t
r<|d |s<td|pd djd	i t  d |d|p'd djd	i t  d dddddqd|v r|d | d }t |ttfsttd|pZd d |d|pcd d ddgdddddddt |ttf}|rt|}t	|D ]t\}}t |t
std|pd djd	i t  d |d|pd djd	i t  d dddddt |t
r|d |std|pd djd	i t  d |d|pd djd	i t  d dddddqd|v r+|d | d }t |ts+td|pd d |d|pd d g dddddd|v r|d | d }t |ttfsatd|pGd d |d|pPd d g ddddiddddt |ttf}|rt|}t	|D ]8\}}t |t
std|pd djd	i t  d |d|pd djd	i t  d ddiddqsd|v r,|d | d }t |ttfstd|pd d |d|pd d g d dddidddt |ttf}|r,t|}t	|D ]8\}}t |t
s*td|pd djd	i t  d |d|pd djd	i t  d ddiddqd!|v r;|d! | d! }d} | dk rzbt |ttfsstd|pPd d |d|pYd d d#dd$d%d&ddd'ddd(dgd)d*ddt |ttf}!|!rt|}"t	|D ]\}#}$t|$||pddjd	i t   q| d7 } W n
 ty   Y nw | dk rzt|||pdd  | d7 } W n
 ty   Y nw | dkr;td|pd d dt
|  d  |d|pd d g d"d#dd$d%d&ddd'ddd(dgd)d*d+d,dd	d-dd.d/gd	d0dddid1dd2d3gddid4dd5d3gddid4dd6d7gd8d9d:id;gd<ddd=|v 	r|d= | d= }%t |%tstd|pUd d |%d|p^d d g d>dd	d?d@did$d%d&ddd'ddd(dgd)gidAddiidBddt |%t}&|&	rt|% }'|% D ]J\}(})tdA |(r|(|'v r|'|( t |)t
std|pd djd	i t  d |)d|pd djd	i t  d ddiddq|'	r#td|pd d t
|' d |%d|pd d g d>dd	d?d@did$d%d&ddd'ddd(dgd)gidAddiidBddt|%}*|*dk	rd}+|%D ]}(zd},|,	sgz$|(dk	rWtd|	pDd d |(d|	pMd d d@did@d|,d7 },W n
 t	yf   Y nw |,	szt|(||	prdd  |,d7 },W n
 t	y   Y nw |,	std|	pd d |(d|	pd d d?d@did$d%d&ddd'ddd(dgd)gid?dW 	q0 t	y   d	}+Y 	q0w |+	std|	pd d |%d|	pd d g d>dd	d?d@did$d%d&ddd'ddd(dgd)gidAddiidBdddC|v r|dC | dC }-t |-t
sLtd|
pd d |-d|
p!d d g dDdd	d?d$d%d&ddd'ddd(dgd)d@dEigidAdddididBddt |-t}.|.rt|- }/|- D ]\}0}1tdA |0
r|0|/v 
rt|/|0 t |1ttf
std|
pd djd	i t  d |1d|
pd djd	i t  d dddidddt |1ttf}2|2
rt|1}3t	|1D ]8\}4}5t |5t

std|
pd djd	i t  d |5d|
pd djd	i t  d ddidd
q
q^|/r<td|pd d t
|/ d |-d|pd d g dDdd	d?d$d%d&ddd'ddd(dgd)d@dEigidAdddididBddt|-}6|6dkrd}7|-D ]}0zd}8|8smzt|0||pYdd  |8d7 }8W n
 tyl   Y nw |8sz$|0dEkrtd|p|d d |0d|pd d d@dEid@d|8d7 }8W n
 ty   Y nw |8std|pd d |0d|pd d d?d$d%d&ddd'ddd(dgd)d@dEigid?dW qI ty   d	}7Y qIw |7std|pd d |-d|pd d g dDdd	d?d$d%d&ddd'ddd(dgd)d@dEigidAdddididBdddF|v rJ|dF | dF }9t |9tsJtd|p4d d |9d|p=d d g dGdddddH|v rf|dH | dH }:t |:tstd|pdd d |:d|pmd d g dIdd	d?d$d%d&ddd'ddd(dgd)d@dEigidAdddididBddt |:t};|;rft|: }<|: D ]\}=}>tdA |=rC|=|<v r|<|= t |>ttfstd|pd djd	i t  d |>d|pd djd	i t  d dddidddt |>ttf}?|?rCt|>}@t	|>D ]8\}A}Bt |Bt
sAtd|pd djd	i t  d |Bd|p-d djd	i t  d ddiddq
q|<rtd|pNd d t
|< d |:d|p]d d g dIdd	d?d$d%d&ddd'ddd(dgd)d@dEigidAdddididBddt|:}C|Cdkrfd}D|:D ]}=zd}E|Eszt|=||pdd  |Ed7 }EW n
 ty   Y nw |Esz$|=dEkrtd|pd d |=d|pd d d@dEid@d|Ed7 }EW n
 ty   Y nw |Estd|pd d |=d|pd d d?d$d%d&ddd'ddd(dgd)d@dEigid?dW q ty(   d	}DY qw |Dsftd|p2d d |:d|p;d d g dIdd	d?d$d%d&ddd'ddd(dgd)d@dEigidAdddididBdddJ|v r"|dJ | dJ }Ft |Fttfstd|pd d |Fd|pd d ddd'ddKdLdMddt |Fttf}G|Gr"t|F}Ht	|FD ]t\}I}Jt |Jt
std|pd djd	i t  d |Jd|pd djd	i t  d dd'dddt |Jt
r |d' |Js td|pd djd	i t  d |Jd|pd djd	i t  d dd'dddqdN|v r|dN | dN }Kt |KttfsWtd|p>d d |Kd|pGd d dOddd'ddPdQddt |Kttf}L|Lrt|K}Mt	|KD ]t\}N}Ot |Ot
std|pyd djd	i t  d |Od|pd djd	i t  d dd'dddt |Ot
r|d' |Ostd|pd djd	i t  d |Od|pd djd	i t  d dd'dddqidR|v r|dR | dR }Pt |Pttfstd|pd d |Pd|pd d dSddTdUdVddWdXgd	i dWdd'ddXdddiddYdddiddZddd[dd\d]ddidd^igd_gd	d`ddadddiddbdddiddcdddiddddddiddedddiddfdddiddgdddiddhdddiddidddiddjdddiddkddidlddidmddidnd1ddt |Pttf}Q|Qrt|P}Rt	|PD ]\}S}Tt|T||pddjd	i t   qdo|v r|do | do }Ut |Uts	td|pd d |Ud|pd d g dpddAdddididqddt |Ut}V|Vrt|U }W|U D ]\}X}YtdA |Xr|X|Wv r1|W|X t |Yttfsitd|p?d djd	i t  d |Yd|pRd djd	i t  d dddidddt |Yttf}Z|Zrt|Y}[t	|YD ]8\}\}]t |]t
std|pd djd	i t  d |]d|pd djd	i t  d ddiddq{qdr|v r|dr | dr }^t |^tstd|pd d |^d|pd d g dsddAddtdidqddt |^t}_|_rt|^ }`|^ D ]\}a}btdA |ar|a|`v r|`|a t |bt
sHtd|p d djd	i t  d |bd|p3d djd	i t  d ddtdddt |bt
r|dt |bstd|p[d djd	i t  d |bd|pnd djd	i t  d ddtdddqdu|v r|du | du }ct |cttfstd|pd d |cd|pd d dddig dvdwdxddt |cttf}d|drt|c}et	|cD ]8\}f}gt |gt
std|pd djd	i t  d |gd|pd djd	i t  d ddiddqdy|v rI|dy | dy }ht |htstd|p d d |hd|p)d d ddzd	g d{d|d}d~dgdd	dddtdidgdddddd	ddddidddidgiidgdgd<ddddd	ddddidddidgiidgdddddd	ddddidddidgiidgdddddd	ddddidddidgiidgdddg diddigdddddd	dddg diddigdiddddddd	ddddidddidgiidgddddidddidddidgidd	dgdgdddddt |ht}i|irIt|h }jd|jv r|jd |hd }kd}l|ldk r=zt|k||p)dd  |ld7 }lW n
 ty<   Y nw |ldk r^zt|k||pJdd  |ld7 }lW n
 ty]   Y nw |ldkrtd|pid d dt
|l d  |kd|pzd d g d{d|d}d~dgdd	dddtdidgdddddd	ddddidddidgiidgdgd<ddd|jv r|jd |hd }mt|m||pdd  d|jv r|jd |hd }nt|n||pdd  d|jv r|jd |hd }ot|o||pdd  d|jv r|jd |hd }pt|p||pdd  d|jv r[|jd |hd }qt |qtsStd|p-d d |qd|p6d d ddddd	dddg diddigdidddt |qt}r|rr[t|q }s|q D ]*\}t}utd |tr|t|sv r{|s|t t|u||pddjd	i t   qe|srtd|pd d t
|s d |qd|pd d ddddd	dddg diddigdidddt|q}v|vdkr[d}w|qD ]Y}tzJt |tt
std|pd d |td|pd d dddddt |tt
r|d |tstd|pd d |td|pd d dddddW q ty+   d	}wY qw |ws[td|p5d d |qd|p>d d ddddd	dddg diddigdidddd|jv r[|jd |hd }xt |xtstd|pud d |xd|p~d d dddddd	ddddidddidgiidgddddidddidddidgidd	dgdgdddd}y|yszt|x||pdd  |yd7 }yW n
 ty   Y nw |yszt |xtstd|pd d |xd|pd d dddidddidddidgidd	dddt |xt}z|zrt|x }{d|{v rJ|{d |xd }|t ||t
sJtd|p5d d  ||d|p?d d ddiddd|{v rd|{d |xd }}t|}||p_dd  |{rtd|pmd d t
|{ d |xd|p}d d dddidddidddidgidd	ddd|yd7 }yW n
 ty   Y nw |ystd|pd d |xd|pd d dddddd	ddddidddidgiidgddddidddidddidgidd	dgdgdd?dt |xt}z|zr[tdg|x  }~|~r[td|pd d t
t|~d  |xd|p!d d dddddd	ddddidddidgiidgddddidddidddidgidd	dgdgddd|jrItd|pdd d t
|j d |hd|ptd d ddzd	g d{d|d}d~dgdd	dddtdidgdddddd	ddddidddidgiidgdgd<ddddd	ddddidddidgiidgdddddd	ddddidddidgiidgdddddd	ddddidddidgiidgdddg diddigdddddd	dddg diddigdiddddddd	ddddidddidgiidgddddidddidddidgidd	dgdgddddd|rEtd|pRd d t
| d | d|pbd d dddg ddd	i d
dddiddddgddddddddgddddddg ddddg ddddidddg d dddidd!g d"d#dd$d%d&ddd'ddd(dgd)d*d+d,dd	d-dd.d/gd	d0dddid1dd2d3gddid4dd5d3gddid4dd6d7gd8d9d:id;gd<d=g d>dd	d?d@did$d%d&ddd'ddd(dgd)gidAddiidBdCg dDdd	d?d$d%d&ddd'ddd(dgd)d@dEigidAdddididBdFg dGdddHg dIdd	d?d$d%d&ddd'ddd(dgd)d@dEigidAdddididBdJddd'ddKdLdMdNdOddd'ddPdQdRdSddTdUdVddWdXgd	i dWdd'ddXdddiddYdddiddZddd[dd\d]ddidd^igd_gd	d`ddadddiddbdddiddcdddiddddddiddedddiddfdddiddgdddiddhdddiddidddiddjdddiddkddidlddidmddidnd1dog dpddAdddididqdrg dsddAddtdidqdudddig dvdwdxdyddzd	g d{d|d}d~dgdd	dddtdidgdddddd	ddddidddidgiidgdgd<ddddd	ddddidddidgiidgdddddd	ddddidddidgiidgdddddd	ddddidddidgiidgdddg diddigdddddd	dddg diddigdiddddddd	ddddidddidgiidgddddidddidddidgidd	dgdgdddid$d%d&ddd'ddd(dgd)dTdUdVddWdXgd	i dWdd'ddXdddiddYdddiddZddd[dd\d]ddidd^igd_gd	d`ddadddiddbdddiddcdddiddddddiddedddiddfdddiddgdddiddhdddiddidddiddjdddiddkddidlddidmddidnddddd	ddddidddidgiidgdddg diddddd	ddddidddidgiidgdgdd|d}d~dgdd	dddtdidgdd+d,dd	d-dd.d/gd	d0dddid1dd2d3gddid4dd5d3gddid4dd6d7gd8d9d:id;dddd| S (
  Nr   r   r   r   r   r   r   r   Fr   r   r   r   r   r   r   r   r/   rn   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r   r  r  r   r   r+  r,  r-  r.  r/  rY   r0  r1  r   r2  r3  r4  r5   r5  r:  r;  rG   r   r   r9   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r	  r-   r
  r  r  r  r  r  r  rV   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r   r   r   r   rW   r   r   r   r   r   r   r&  r   r'  r(  r)  r*  r   r   r!  r:   rH   r"  r#  r   r$  r[   r%  r   r   r   r   r  r  r  r<  r=  rE  z.platforms must be arrayz
.platformsz.platforms[{data__platforms_x}]rI  z.provides must be arrayz	.providesz.provides[{data__provides_x}]z must be pep508-identifierr!   z.obsoletes must be arrayz
.obsoletesz.obsoletes[{data__obsoletes_x}]z.zip-safe must be booleanz	.zip-safez.script-files must be arrayz.script-filesz$.script-files[{data__scriptfiles_x}]z.eager-resources must be arrayz.eager-resourcesz*.eager-resources[{data__eagerresources_x}]r   rK  z.packages must be arrayz	.packagesz.packages[{data__packages_x}]r   z1.packages must be valid exactly by one definitionrO  rP  z.package-dir must be objectz.package-dirz#.package-dir.{data__packagedir_key}z.package-dir must not contain rH  r&   Tz/.package-dir must be same as const definition: z2.package-dir cannot be validated by any definitionz5.package-dir must be named by propertyName definitionry   z.package-data must be objectz.package-dataz%.package-data.{data__packagedata_key}rJ  z@.package-data.{data__packagedata_key}[{data__packagedata_val_x}]z.package-data must not contain z1.package-data must be same as const definition: *z3.package-data cannot be validated by any definitionz6.package-data must be named by propertyName definitionz%.include-package-data must be booleanz.include-package-dataz$.exclude-package-data must be objectz.exclude-package-dataz4.exclude-package-data.{data__excludepackagedata_key}zV.exclude-package-data.{data__excludepackagedata_key}[{data__excludepackagedata_val_x}]z'.exclude-package-data must not contain z9.exclude-package-data must be same as const definition: *z;.exclude-package-data cannot be validated by any definitionz>.exclude-package-data must be named by propertyName definitionz!.namespace-packages must be arrayz.namespace-packagesz0.namespace-packages[{data__namespacepackages_x}]# must be python-module-name-relaxedz.py-modules must be arrayz.py-modulesz .py-modules[{data__pymodules_x}]z.ext-modules must be arrayz.ext-modulesz".ext-modules[{data__extmodules_x}]z.data-files must be objectz.data-filesz!.data-files.{data__datafiles_key}z:.data-files.{data__datafiles_key}[{data__datafiles_val_x}]z.cmdclass must be objectz	.cmdclassz.cmdclass.{data__cmdclass_key}z$ must be python-qualified-identifier.license-files must be array.license-files&.license-files[{data__licensefiles_x}]z.dynamic must be object.dynamicr0   z.dynamic.versionz8.dynamic.version must be valid exactly by one definitionre   z.dynamic.classifiersr    z.dynamic.descriptionru   z.dynamic.entry-pointsrz   z.dynamic.dependenciesr~   z-.dynamic.optional-dependencies must be objectz.dynamic.optional-dependencieszH.dynamic.optional-dependencies.{data__dynamic__optionaldependencies_key}z0.dynamic.optional-dependencies must not contain z-.dynamic.optional-dependencies must be stringz8.dynamic.optional-dependencies must be pep508-identifierzG.dynamic.optional-dependencies must be named by propertyName definitionr6   z.dynamic.readme must be objectz.dynamic.readmerA   z+.dynamic.readme.content-type must be stringz.dynamic.readme.content-typez.dynamic.readme.filez!.dynamic.readme must not contain z5.dynamic.readme cannot be validated by any definitionz.dynamic.readme must contain r(   z.dynamic must not contain rM  r   )rQ  rR  r   rS  rT  rU  rX  rY  rZ  r[  rV  r!   r\  boolgvalidate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_package_nameivalidate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_find_directiver   r`  ra  evalidate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_ext_moduleivalidate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_attr_directiveivalidate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directivezvalidate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive_for_dependenciesyvalidate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive_properties_filerW  )r   r   r   rb  rc  Zdata__platformsZdata__platforms_is_listZdata__platforms_lenZdata__platforms_xZdata__platforms_itemZdata__providesZdata__provides_is_listZdata__provides_lenZdata__provides_xZdata__provides_itemZdata__obsoletesZdata__obsoletes_is_listZdata__obsoletes_lenZdata__obsoletes_xZdata__obsoletes_itemZdata__zipsafeZdata__scriptfilesZdata__scriptfiles_is_listZdata__scriptfiles_lenZdata__scriptfiles_xZdata__scriptfiles_itemZdata__eagerresourcesZdata__eagerresources_is_listZdata__eagerresources_lenZdata__eagerresources_xZdata__eagerresources_itemZdata__packagesZdata__packages_one_of_count2Zdata__packages_is_listZdata__packages_lenZdata__packages_xZdata__packages_itemZdata__packagedirZdata__packagedir_is_dictZdata__packagedir_keysZdata__packagedir_keyZdata__packagedir_valZdata__packagedir_lenZdata__packagedir_property_namesZ"data__packagedir_key_any_of_count3Zdata__packagedataZdata__packagedata_is_dictZdata__packagedata_keysZdata__packagedata_keyZdata__packagedata_valZdata__packagedata_val_is_listZdata__packagedata_val_lenZdata__packagedata_val_xZdata__packagedata_val_itemZdata__packagedata_lenZ data__packagedata_property_namesZ#data__packagedata_key_any_of_count4Zdata__includepackagedataZdata__excludepackagedataZ data__excludepackagedata_is_dictZdata__excludepackagedata_keysZdata__excludepackagedata_keyZdata__excludepackagedata_valZ$data__excludepackagedata_val_is_listZ data__excludepackagedata_val_lenZdata__excludepackagedata_val_xZ!data__excludepackagedata_val_itemZdata__excludepackagedata_lenZ'data__excludepackagedata_property_namesZ*data__excludepackagedata_key_any_of_count5Zdata__namespacepackagesZdata__namespacepackages_is_listZdata__namespacepackages_lenZdata__namespacepackages_xZdata__namespacepackages_itemZdata__pymodulesZdata__pymodules_is_listZdata__pymodules_lenZdata__pymodules_xZdata__pymodules_itemZdata__extmodulesZdata__extmodules_is_listZdata__extmodules_lenZdata__extmodules_xZdata__extmodules_itemZdata__datafilesZdata__datafiles_is_dictZdata__datafiles_keysZdata__datafiles_keyZdata__datafiles_valZdata__datafiles_val_is_listZdata__datafiles_val_lenZdata__datafiles_val_xZdata__datafiles_val_itemZdata__cmdclassZdata__cmdclass_is_dictZdata__cmdclass_keysZdata__cmdclass_keyZdata__cmdclass_valdata__licensefilesdata__licensefiles_is_listdata__licensefiles_lendata__licensefiles_xdata__licensefiles_itemdata__dynamicZdata__dynamic_is_dictZdata__dynamic_keysZdata__dynamic__versionZ$data__dynamic__version_one_of_count6Zdata__dynamic__classifiersZdata__dynamic__descriptionZdata__dynamic__entrypointsZdata__dynamic__dependenciesZ#data__dynamic__optionaldependenciesZ+data__dynamic__optionaldependencies_is_dictZ(data__dynamic__optionaldependencies_keysZ'data__dynamic__optionaldependencies_keyZ'data__dynamic__optionaldependencies_valZ'data__dynamic__optionaldependencies_lenZ2data__dynamic__optionaldependencies_property_namesZdata__dynamic__readmeZ#data__dynamic__readme_any_of_count7Zdata__dynamic__readme_is_dictZdata__dynamic__readme_keysZ"data__dynamic__readme__contenttypeZdata__dynamic__readme__fileZ#data__dynamic__readme__missing_keysr   r   r   r_     s         


8Z

@\\

@\\

8

@Z

>Z


R*



n


Zz

2V
n

t


`Z

2V
t

8

t


`Z

2V
t

>\\

>\\

f *

H


`Z

D


\\

@Z

 















X


&d
44
X

V


6

d
         r_  c              	   C   s  d}|dk r2z"t | ts#td|pd d | d|pd d ddidd|d	7 }W n	 ty1   Y nw |dk rzkt | ttfsXtd|pCd d
 | d|pKd d dddidddt | ttf}|rt| }t| D ]2\}}t |tstd|pwd djdi t  d |d|pd djdi t  d ddiddqi|d	7 }W n	 ty   Y nw |d	krtd|pd d dt| d  | d|pd d dddidddidgidd| S )Nr   rK  r   r   rI  r   r   rE  r   rJ  r   r   z
[{data_x}]rN  rO  rP  rH   r   )	rQ  rV  r   rX  rY  rZ  r[  r!   r\  )r   r   r   Zdata_one_of_count8Zdata_is_listdata_lenZdata_xZ	data_itemr   r   r   rp  H  s.   
.4
RPrp  c                 C   r
   r   )rn  r   r   r   r   ro  `  r   ro  c                 C   sD  t | ts0td|p
d d | d|pd d dddddd	d
ddidddidgiid	gdddt | t}|rtd	g|   }|rvtd|pHd d tt|d  | d|pXd d dddddd	d
ddidddidgiid	gdddt|  }d	|v rj|d	 | d	 }d}|dk rz"t |tstd|pd d |d|pd d ddidd|d7 }W n	 ty   Y nw |dk r;zot |tt	fstd|pd d |d|pd d dddidddt |tt	f}|r+t
|}	t|D ]5\}
}t |ts*td|pd djd!i t  d |d|pd djd!i t  d ddiddq|d7 }W n
 ty:   Y nw |dkrjtd|pFd d dt| d  |d|pWd d d
ddidddidgid
d|rtd|psd d t| d | d|pd d dddddd	d
ddidddidgiid	gdd d| S )"Nr   r   r   r   r   r!  r   Fr:   rH   r   r   r   r   r"  rE   must contain rH  r(   r   rK  z.file must be stringz.filer   z.file must be arrayz.file[{data__file_x}]rI  z-.file must be valid exactly by one definitionrO  rP  rM  r&   r   )rQ  rR  r   rS  rT  rV  rW  rU  rX  rY  rZ  r[  r!   r\  )r   r   r   rb  data__missing_keysrc  Z
data__fileZdata__file_one_of_count9Zdata__file_is_listZdata__file_lenZdata__file_xZdata__file_itemr   r   r   rn  d  sH   
V
f


.
4V
Tfrn  c                 C   s  t | ts*td|p
d d | d|pd d ddddgdd	d
dddid
gdddt | t}|rtd
g|   }|ritd|pAd d tt|d  | d|pQd d ddddgdd	d
dddid
gdddt|  }d
|v r|d
 | d
 }t |tstd|pd d |d|pd d dddddt |tr|d |std|pd d |d|pd d ddddd|rtd|pd d t| d | d|pd d ddddgdd	d
dddid
gddd| S )Nr   r   r   r&  r   r'  r(  r   Fr)  r   r   rn   r*  r   rE  rx  rH  r(   z.attr must be stringz.attrz).attr must be python-qualified-identifierr!   rM  r&   )rQ  rR  r   rS  rT  rV  rW  rU  )r   r   r   rb  ry  rc  Z
data__attrr   r   r   rm    s&   
J
Z

0
0Vrm  c           P      C   s  t | tstd|p
d d | d|pd d dddddd	gd
i ddddd	dddidddddiddddddddddiddigdgd
ddddddidddddidddddidddddidddddidddddidddddidd dddidd!dddidd"dddidd#ddid$dd%id&dd%id'dd(t | t}|
rtdd	g|   }|rztd|pd d) tt|d*  | d|pd d dddddd	gd
i ddddd	dddidddddiddddddddddiddigdgd
ddddddidddddidddddidddddidddddidddddidddddidd dddidd!dddidd"dddidd#ddid$dd%id&dd%id'd+d(t|  }d|v r|d | d }t |tstd|pd d, |d|pd d- ddddd(t |tr|d |std|pd d. |d|pd d- dddd/d(d	|v rP|d	 | d	 }t |tt	fstd|pd d0 |d|pd d1 dddiddd(t |tt	f}|rPt
|}	t|D ]6\}
}t |tsNtd|p)d d2jdmi t  d3 |d|p;d d2jdmi t  d ddidd(qd|v r|d | d }t |tt	fstd|pld d4 |d|pud d5 dddiddd(t |tt	f}|rt
|}t|D ]6\}}t |tstd|pd d6jdmi t  d3 |d|pd d6jdmi t  d ddidd(qd|v r|d | d }t |tt	fstd|pd d7 |d|pd d8 ddddddddiddigdgd
dddd(t |tt	f}|rt
|}t|D ]\}}t |tt	fsgtd|p2d d9jdmi t  d: |d|pDd d9jdmi t  d dddddddiddigdgd
ddd(t |tt	f}|rt
|}|d;kr|d; }t |tstd|pd d<jdmi t  d3 |d|pd d<jdmi t  d ddddd(|d=kr|d= }d;}|d>k rz7t |tstd|pd d?jdmi t  d3 |d|pd d?jdmi t  d ddidd(|d=7 }W n
 ty   Y nw |d>k rIz7t |ts9td|pd d?jdmi t  d@ |d|p&d d?jdmi t  d ddidd(|d=7 }W n
 tyH   Y nw |d=krtd|pTd d?jdmi t  dA dBt| dC  |d|pnd d?jdmi t  d dddiddigddDd(|d>krtd|pd d9jdmi t  dE |d|pd d9jdmi t  d dddddddiddigdgd
ddFd(qd|v rE|d | d }t |tt	fstd|pd dG |d|pd dH dddiddd(t |tt	f}|rEt
|}t|D ]6\}}t |tsCtd|pd dIjdmi t  d3 |d|p0d dIjdmi t  d ddidd(qd|v r|d | d } t | tt	fswtd|pad dJ | d|pjd dK dddiddd(t | tt	f}!|!rt
| }"t| D ]6\}#}$t |$tstd|pd dLjdmi t  d3 |$d|pd dLjdmi t  d ddidd(qd|v r;|d | d }%t |%tt	fstd|pd dM |%d|pd dN dddiddd(t |%tt	f}&|&r;t
|%}'t|%D ]6\}(})t |)ts9td|pd dOjdmi t  d3 |)d|p&d dOjdmi t  d ddidd(qd|v r|d | d }*t |*tt	fsmtd|pWd dP |*d|p`d dQ dddiddd(t |*tt	f}+|+rt
|*},t|*D ]6\}-}.t |.tstd|pd dRjdmi t  d3 |.d|pd dRjdmi t  d ddidd(qd|v r1|d | d }/t |/tt	fstd|pd dS |/d|pd dT dddiddd(t |/tt	f}0|0r1t
|/}1t|/D ]6\}2}3t |3ts/td|p
d dUjdmi t  d3 |3d|pd dUjdmi t  d ddidd(qd|v r|d | d }4t |4tt	fsctd|pMd dV |4d|pVd dW dddiddd(t |4tt	f}5|5rt
|4}6t|4D ]6\}7}8t |8tstd|pd dXjdmi t  d3 |8d|pd dXjdmi t  d ddidd(qud|v r'|d | d }9t |9tt	fstd|pd dY |9d|pd dZ dddiddd(t |9tt	f}:|:r't
|9};t|9D ]6\}<}=t |=ts%td|p d d[jdmi t  d3 |=d|pd d[jdmi t  d ddidd(qd |v r|d  | d  }>t |>tt	fsYtd|pCd d\ |>d|pLd d] dddiddd(t |>tt	f}?|?rt
|>}@t|>D ]6\}A}Bt |Btstd|p{d d^jdmi t  d3 |Bd|pd d^jdmi t  d ddidd(qkd!|v 	r|d! | d! }Ct |Ctt	fstd|pd d_ |Cd|pd d` dddiddd(t |Ctt	f}D|D	rt
|C}Et|CD ]6\}F}Gt |Gt	std|pd dajdmi t  d3 |Gd|	pd dajdmi t  d ddidd(qd"|v 	r|d" | d" }Ht |Htt	f	sOtd|	p9d db |Hd|	pBd dc dddiddd(t |Htt	f}I|I	rt
|H}Jt|HD ]6\}K}Lt |Lt	std|	pqd ddjdmi t  d3 |Ld|	pd ddjdmi t  d ddidd(	qad#|v 	r|d# | d# }Mt |Mt	std|	pd de |Md|	pd df ddidd(d$|v 	r|d$ | d$ }Nt |Nt	std|	pd dg |Nd|	pd dh dd%idd(d&|v 
r|d& | d& }Ot |Ot
std|
pd di |Od|
pd dj dd%idd(|
rtd|
p(d dk t| d* | d|
p7d d dddddd	gd
i ddddd	dddidddddiddddddddddiddigdgd
ddddddidddddidddddidddddidddddidddddidddddidd dddidd!dddidd"dddidd#ddid$dd%id&dd%id'dld(| S )nNr   r   r   r   r  r	  r   r-   r
  Fr   r   rn   r   r   r   r  r  r  r  r  r  rV   r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  rE  rx  rH  r(   .name must be string.namez(.name must be python-module-name-relaxedr!   z.sources must be arrayz.sourcesz.sources[{data__sources_x}]rI  z.include-dirs must be arrayz.include-dirsz$.include-dirs[{data__includedirs_x}]z.define-macros must be arrayz.define-macrosz&.define-macros[{data__definemacros_x}]rJ  r   z).define-macros[{data__definemacros_x}][0]r   rK  z).define-macros[{data__definemacros_x}][1]z must be nullrN  rO  rP  rH   z" must contain only specified itemsr   z.undef-macros must be arrayz.undef-macrosz$.undef-macros[{data__undefmacros_x}]z.library-dirs must be arrayz.library-dirsz$.library-dirs[{data__librarydirs_x}]z.libraries must be arrayz
.librariesz.libraries[{data__libraries_x}]z#.runtime-library-dirs must be arrayz.runtime-library-dirsz3.runtime-library-dirs[{data__runtimelibrarydirs_x}]z.extra-objects must be arrayz.extra-objectsz&.extra-objects[{data__extraobjects_x}]z!.extra-compile-args must be arrayz.extra-compile-argsz/.extra-compile-args[{data__extracompileargs_x}]z.extra-link-args must be arrayz.extra-link-argsz).extra-link-args[{data__extralinkargs_x}]z.export-symbols must be arrayz.export-symbolsz(.export-symbols[{data__exportsymbols_x}]z.swig-opts must be arrayz
.swig-optsz.swig-opts[{data__swigopts_x}]z.depends must be arrayz.dependsz.depends[{data__depends_x}]z.language must be stringz	.languagez.optional must be booleanz	.optionalz.py-limited-api must be booleanz.py-limited-apirM  r&   r   )rQ  rR  r   rS  rT  rV  rW  rU  rX  rY  rZ  r[  r!   r\  NoneTyperi  )Pr   r   r   rb  ry  rc  
data__nameZdata__sourcesZdata__sources_is_listZdata__sources_lenZdata__sources_xZdata__sources_itemZdata__includedirsZdata__includedirs_is_listZdata__includedirs_lenZdata__includedirs_xZdata__includedirs_itemZdata__definemacrosZdata__definemacros_is_listZdata__definemacros_lenZdata__definemacros_xZdata__definemacros_itemZdata__definemacros_item_is_listZdata__definemacros_item_lenZdata__definemacros_item__0Zdata__definemacros_item__1Z)data__definemacros_item__1_one_of_count10Zdata__undefmacrosZdata__undefmacros_is_listZdata__undefmacros_lenZdata__undefmacros_xZdata__undefmacros_itemZdata__librarydirsZdata__librarydirs_is_listZdata__librarydirs_lenZdata__librarydirs_xZdata__librarydirs_itemZdata__librariesZdata__libraries_is_listZdata__libraries_lenZdata__libraries_xZdata__libraries_itemZdata__runtimelibrarydirsZ data__runtimelibrarydirs_is_listZdata__runtimelibrarydirs_lenZdata__runtimelibrarydirs_xZdata__runtimelibrarydirs_itemZdata__extraobjectsZdata__extraobjects_is_listZdata__extraobjects_lenZdata__extraobjects_xZdata__extraobjects_itemZdata__extracompileargsZdata__extracompileargs_is_listZdata__extracompileargs_lenZdata__extracompileargs_xZdata__extracompileargs_itemZdata__extralinkargsZdata__extralinkargs_is_listZdata__extralinkargs_lenZdata__extralinkargs_xZdata__extralinkargs_itemZdata__exportsymbolsZdata__exportsymbols_is_listZdata__exportsymbols_lenZdata__exportsymbols_xZdata__exportsymbols_itemZdata__swigoptsZdata__swigopts_is_listZdata__swigopts_lenZdata__swigopts_xZdata__swigopts_itemZdata__dependsZdata__depends_is_listZdata__depends_lenZdata__depends_xZdata__depends_itemZdata__languageZdata__optionalZdata__pylimitedapir   r   r   rl    s  
Z 
j 

44

8V

8V

Xv
X

V
V
t
v

8V

8V

8V

8V

8V

8V

8V

8V

8V

8V

2

2

2j rl  c                 C   s  t | tsItd|p
d d | d|pd d ddddddd	d
gdddddiddddgddiddddgddiddddgdddidddt | t}|rt|  }d|v r|d | d }t |tstd|pod d |d|pwd d dd	d
gdddddiddddgddiddddgddiddddgdddddt |t}|rt| }d|v r,|d |d }t |ttfstd|pd d |d|pd d  ddddidddt |ttf}	|	r,t|}
t	|D ]5\}}t |t
s+td|pd d!jd2i t  d" |d|pd d!jd2i t  d ddiddqd#|v r|d# |d# }t |ttfsatd|pHd d$ |d|pQd d% dddgddidddt |ttf}|rt|}t	|D ]6\}}t |t
std|pd d&jd2i t  d" |d|pd d&jd2i t  d ddiddqsd'|v r(|d' |d' }t |ttfstd|pd d( |d|pd d) dddgddidddt |ttf}|r(t|}t	|D ]6\}}t |t
s&td|pd d*jd2i t  d" |d|pd d*jd2i t  d ddiddqd+|v rX|d+ |d+ }t |tsXtd|pBd d, |d|pKd d- dddgddd|rtd|pad d. t
| d/ |d|ppd d dd	d
gdddddiddddgddiddddgddiddddgdddd0d|rtd|pd d1 t
| d/ | d|pd d ddddddd	d
gdddddiddddgddiddddgddiddddgdddidd0d| S )3Nr   r   r   r   r+  r   Fr,  r-  r.  r/  r   r   r   rY   r0  r1  r   r2  r   r3  r4  r5   r5  r:  r;  rE  z.find must be objectz.findr6  z.find.where must be arrayz.find.wherez".find.where[{data__find__where_x}]rI  r7  z.find.exclude must be arrayz.find.excludez&.find.exclude[{data__find__exclude_x}]r8  z.find.include must be arrayz.find.includez&.find.include[{data__find__include_x}]r9  z .find.namespaces must be booleanz.find.namespacesz.find must not contain rH  r&   rM  r   )rQ  rR  r   rS  rT  rU  rX  rY  rZ  r[  rV  r!   r\  ri  )r   r   r   rb  rc  Z
data__findZdata__find_is_dictZdata__find_keysZdata__find__whereZdata__find__where_is_listZdata__find__where_lenZdata__find__where_xZdata__find__where_itemZdata__find__excludeZdata__find__exclude_is_listZdata__find__exclude_lenZdata__find__exclude_xZdata__find__exclude_itemZdata__find__includeZdata__find__include_is_listZdata__find__include_lenZdata__find__include_xZdata__find__include_itemZdata__find__namespacesr   r   r   rk  k  sv   




x


6V

>V

>V

8rk  c                 C   s  t | ts(td|p
d d | d|pd d ddddddd	dd
d	gdddd}|s|zFt | tsJtd|p7d d | d|p?d d ddd	ddt | trm|d | smtd|pZd d | d|pbd d ddd	dd|d7 }W n	 ty{   Y nw |szFt | tstd|pd d | d|pd d dd
d	ddt | tr|d
 | std|pd d | d|pd d dd
d	dd|d7 }W n	 ty   Y nw |std|pd d | d|pd d ddddddd	dd
d	gddd| S )Nr   r   rI  r   r  r  r   r   rn   r  r  r   rE  r   rd  r!   r   z must be pep561-stub-name& cannot be validated by any definitionr9   rQ  rV  r   )r   r   r   Zdata_any_of_count11r   r   r   rj    s0   
F
0
0
0
0Frj  c                 C   s\  t | ts.td|p
d d | d|pd d dddg ddd	dd
didddiiddddt | t}|rt|  }d	|v re|d	 | d	 }t |tsetd|pRd d |d|pZd d dd
ddd|  D ]B\}}td |r||v r}|| t |tstd|pd dj	di t
  d |d|pd dj	di t
  d ddiddqi| S )Nr   r   r   r   r   r   r   r   r   r   r@   r   r   r   r   rE  z.global must be objectz.global.{data_key}r   )rQ  rR  r   rS  rT  rU  r   r`  ra  r!   r\  )r   r   r   rb  rc  Zdata__globaldata_keydata_valr   r   r   r^    s$   
R


0

Rr^  c           b      C   sH-  t | tstd|pd d | d|pd d dddddgd	i d
dddddddddddddgddg ddg ddd	dddddgdidgddddd idgdgid!dg d"d#d$id!gdgd%gd&d'dd(d)d*gd+d,d-dd.d/dd	ddd0d1gdidgd2d	ddg d3didgd2gd4d5d6d7d8did9d:d7d;d<d=d	d>dd?d@gdddAdBdCdDdEd
gidEdFgigdGg dHdIdJd7d;d<d=d	d>dd?d@gdddAdBdCdDdEd
gidEdFgigdGdKdLgdIdMd7d8didNdOdPd7ddQdRdCdSdTgdIdUd	dVd>dWddXdYidZd[d\d]d	g d^d_d`id>dWddadbgdcdddeidfdgd\d]d	g d^d_d`id>dWddadbgdcdddeidfdhg did_djid>dWd\d]d	g d^d_d`id>dWddadbgdcdddeidfidkdld7dmdndoddpdqdrdsdtd	dud_did>dWd7dndoddpdqdrdvidwdxd7ddydYd9dzd7ddydYd9d7d{d|gd}g d~iddd
gd>dgdddidgdidg dddgdgdddEd5gidd,d8diiidgd;d<d=d	d>dd?d@gdddAdBdCdDdEd
gidEdFgigdGd\d]d	g d^d_d`id>dWddadbgdcdddeidfdndoddpdqdrdd
d8dzzt | t}|rtdg|   }|rRtd|p-d d tt|d  | d|p>d d dgdddidgdiddEdt|  }d|v r|d | d }t |tt	f}|rd>}|D ]0}	z#|	dkrtd|pd d |	d|pd d ddiddd}W  n ty   Y qtw |std|pd d |d|pd d ddidgdddW n
 ty   Y n)w td|pd d | d|pd d dgdddidgdidg ddddW n
 ty   Y n9w t | t}|r=tdg|   }|r=td|pd d tt|d  | d|p0d d dgdgddEdz8t | t}|rttd5g|   }|rttd|pXd d tt|d  | d|pid d dEd5gidEdW n
 ty   Y n<w t | t}|rt|  }d,|v r|d, | d, }
t |
tstd|pd d |
d|pd d d8did8dt | t}|rtd
g|   }|rtd|pd d tt|d  | d|pd d dddddgd	i d
dddddddddddddgddg ddg ddd	dddddgdidgddddd idgdgid!dg d"d#d$id!gdgd%gd&d'dd(d)d*gd+d,d-dd.d/dd	ddd0d1gdidgd2d	ddg d3didgd2gd4d5d6d7d8did9d:d7d;d<d=d	d>dd?d@gdddAdBdCdDdEd
gidEdFgigdGg dHdIdJd7d;d<d=d	d>dd?d@gdddAdBdCdDdEd
gidEdFgigdGdKdLgdIdMd7d8didNdOdPd7ddQdRdCdSdTgdIdUd	dVd>dWddXdYidZd[d\d]d	g d^d_d`id>dWddadbgdcdddeidfdgd\d]d	g d^d_d`id>dWddadbgdcdddeidfdhg did_djid>dWd\d]d	g d^d_d`id>dWddadbgdcdddeidfidkdld7dmdndoddpdqdrdsdtd	dud_did>dWd7dndoddpdqdrdvidwdxd7ddydYd9dzd7ddydYd9d7d{d|gd}g d~iddd
gd>dgdddidgdidg dddgdgdddEd5gidd,d8diiidgd;d<d=d	d>dd?d@gdddAdBdCdDdEd
gidEdFgigdGd\d]d	g d^d_d`id>dWddadbgdcdddeidfdndoddpdqdrdd
dEdt|  }d
|v rA|d
 | d
 }t |tstd|pd d |d|pd d ddddd8dt |trA|d |sAtd|p,d d |d|p5d d ddddd_dd|v r|d | d }t |tsptd|p[d d |d|pdd d ddddd8dt |tr|d |std|pd d |d|pd d ddddd_dd|v r|d | d }t |tstd|pd d |d|pd d dddgdd8dd|v 	r||d | d }d}|dk rz(t |ts td|pd d |d|pd d dg ddd8d|d7 }W n
 ty   Y nw |dk 	r#zt |ts]td|p#d d |d|p,d d d	dddddgdidgddddd idgdgid!dg d"d#d$id!gdgd%d8dd}|szzt |t}|rtdg|  }|rtd|p}d d tt|d  |d|pd d ddddgdidgddEdt| }d|v r|d |d }t |tstd|pd d |d|pd d dddgdd8d|d7 }W n
 ty   Y nw |skzvt |t}|r[tdg|  }|r'td|pd d tt|d  |d|pd d dddd idgddEdt| }d|v r[|d |d }t |ts[td|pGd d |d|pPd d ddd d8d|d7 }W n
 tyj   Y nw |std|ptd d |d|p}d d dddddgdidgddddd idgdgiddt |t}|	rtd!g|  }|rtd|pd d tt|d  |d|pd d d!dg d"d#d$id!gddEdt| }d!|v 	r|d! |d! }t |t	std|pd d |d|	pd d dg d"d#d$d8d|d7 }W n
 t	y"   Y nw |dk	r|td|	p.d d dt| d  |d|	p?d d g ddg ddd	dddddgdidgddddd idgdgid!dg d"d#d$id!gdgd%gd&ddd'|v 	r|d' | d' }t |t	std|	pd d |d|	pd d dd(d)d*gd+d8dt |t	r|d( |	std|	pd d |d|	pd d dd(d)d*gd+d_dd,|v r|d, | d, }
d}|dk 
rFzOt |
t
std|	pd d |
d|
pd d dd.d/dd8dt |
t
r6|d/ |

s6td|
p!d d |
d|
p*d d dd.d/dd_d|d7 }W n
 t
yE   Y nw |dk 
rzt |
t
sutd|
pXd d |
d|
pad d d	ddd0d1gdidgd2d8dt |
t}|
rtdg|
  }|
rtd|
pd d tt|d  |
d|
pd d d	ddd0d1gdidgd2dEdt|
 }d|v 
r|d |
d }t |t
std|
pd d |d|
pd d dd0d1gdd8d|d7 }W n
 t
y   Y nw |dk rzt |
ts)td|pd d |
d|pd d d	ddg d3didgd2d8dt |
t}|rtdg|
  }|rhtd|pCd d tt|d  |
d|pTd d d	ddg d3didgd2dEdt|
 }d|v r|d |
d }t |tstd|pd d |d|pd d dg d3dd8d|d7 }W n
 ty   Y nw |dkrtd|pd d dt| d  |
d|pd d d-dd.d/dd	ddd0d1gdidgd2d	ddg d3didgd2gd4ddd5|v rp|d5 | d5 }t |tt	fs'td|pd d |d|pd d d6d7d8did9d8dt |tt	f}|rpt
|} t|D ]6\}!}"t |"tsntd|pId djdi t  d |"d|p[d djdi t  d d8did8dq9d:|v r|d: | d: }#t |#tt	fstd|pd d |#d|pd d d7d;d<d=d	d>dd?d@gdddAdBdCdDdEd
gidEdFgigdGg dHdId8dt |#tt	f}$|$rt
|#}%t|#D ]\}&}'t|'||pddjdi t   qdJ|v rb|dJ | dJ }(t |(tt	fs8td|pd d |(d|pd d d7d;d<d=d	d>dd?d@gdddAdBdCdDdEd
gidEdFgigdGdKdLgdId8dt |(tt	f})|)rbt
|(}*t|(D ]\}+},t|,||pUddjdi t   qJdM|v r|dM | dM }-t |-tt	fstd|p~d d |-d|pd d d7d8didNdOd8dt |-tt	f}.|.rt
|-}/t|-D ]6\}0}1t |1tstd|pd djdi t  d |1d|pd djdi t  d d8did8dqdP|v r|dP | dP }2t |2tt	fstd|pd d |2d|pd d d7ddQdRdCdSdTgdId8dt |2tt	f}3|3rt
|2}4t|2D ]r\}5}6t |6ts^td|p7d djdi t  d |6d|pId djdi t  d ddQdRdCd8dt |6tr|dQ |6std|pqd djdi t  d |6d|pd djdi t  d ddQdRdCd_dq'dU|v r|dU | dU }7t |7tstd|pd d |7d|pd d d	dVd>dWddXdYidZd8dt |7t}8|8rt|7 }9|7 D ]\}:};tdW |:rb|:|9v r|9|: t |;ts)td|pd djdi t  d |;d|pd djdi t  d ddXdYd8dt |;trb|dX |;sbtd|p<d djdi t  d |;d|pNd djdi t  d ddXdYd_dq|9rtd|pmd d t|9 d |7d|p|d d d	dVd>dWddXdYidZddd[|v r|d[ | d[ }<t|<||pdd  dg|v r|dg | dg }=t|=||pdd  dh|v r|dh | dh }>t |>t}?|?rt|> }@|> D ])\}A}BtdW |Ar|A|@v r|@|A t|B||pddjdi t   q|@rJtd|pd d t|@ d |>d|p"d d g did_djid>dWd\d]d	g d^d_d`id>dWddadbgdcdddeidfidkddt
|>}C|Cdkrd}D|>D ]8}Az)t |Atr|dj |Astd|pmd d |Ad|pvd d d_djid_dW qW ty   d>}DY qWw |Dstd|pd d |>d|pd d g did_djid>dWd\d]d	g d^d_d`id>dWddadbgdcdddeidfidkdddl|v r+|dl | dl }Et |Ett	fstd|pd d |Ed|pd d d7dmdndoddpdqdrdsd8dt |Ett	f}F|Fr+t
|E}Gt|ED ]\}H}It|I||pddjdi t   qdt|v r|dt | dt }Jt |Jtsitd|pEd d |Jd|pNd d d	dud_did>dWd7dndoddpdqdrdvidwd8dt |Jt}K|Krt|J }L|J D ]{\}M}NtdW |Mr|M|Lv r|L|M t |Ntt	fstd|pd djdi t  d |Nd|pd djdi t  d d7dndoddpdqdrdvd8dt |Ntt	f}O|Ort
|N}Pt|ND ]\}Q}Rt|R||pddjdi t   qݐq{|Lr*td|p d d t|L d |Jd|pd d d	dud_did>dWd7dndoddpdqdrdvidwddt
|J}S|Sdkrd}T|JD ]8}Mz)t |Mtr`|d |Ms`td|pMd d |Md|pVd d d_did_dW q7 tyo   d>}TY q7w |Tstd|pyd d |Jd|pd d d	dud_did>dWd7dndoddpdqdrdvidwddd|v rT|d | d }Ut |Utt	fstd|pd d |Ud|pd d dxd7ddydYd9d8dt |Utt	f}V|VrTt
|U}Wt|UD ]p\}X}Yt |Ytstd|pd djdi t  d |Yd|pd djdi t  d ddydYd8dt |YtrR|dy |YsRtd|p,d djdi t  d |Yd|p>d djdi t  d ddydYd_dqd|v r|d | d }Zt |Ztt	fstd|ppd d |Zd|pyd d dzd7ddydYd9d8dt |Ztt	f}[|[rt
|Z}\t|ZD ]p\}]}^t |^tstd|pd djdi t  d |^d|pd djdi t  d ddydYd8dt |^tr	|dy |^s	td|pd djdi t  d |^d|pd djdi t  d ddydYd_dqd|v r|d | d }t |tt	fsBtd|p'd d |d|p0d d d7d{d|gd}g d~idd8dt |tt	f}|rt
|}_t|D ]7\}`}a|ad~vrtd|pcd djdi t  d |ad|pud djdi t  d d}g d~id}dqT|rtd|pd d t| d | d|pd d dddddgd	i d
dddddddddddddgddg ddg ddd	dddddgdidgddddd idgdgid!dg d"d#d$id!gdgd%gd&d'dd(d)d*gd+d,d-dd.d/dd	ddd0d1gdidgd2d	ddg d3didgd2gd4d5d6d7d8did9d:d7d;d<d=d	d>dd?d@gdddAdBdCdDdEd
gidEdFgigdGg dHdIdJd7d;d<d=d	d>dd?d@gdddAdBdCdDdEd
gidEdFgigdGdKdLgdIdMd7d8didNdOdPd7ddQdRdCdSdTgdIdUd	dVd>dWddXdYidZd[d\d]d	g d^d_d`id>dWddadbgdcdddeidfdgd\d]d	g d^d_d`id>dWddadbgdcdddeidfdhg did_djid>dWd\d]d	g d^d_d`id>dWddadbgdcdddeidfidkdld7dmdndoddpdqdrdsdtd	dud_did>dWd7dndoddpdqdrdvidwdxd7ddydYd9dzd7ddydYd9d7d{d|gd}g d~iddd
gd>dgdddidgdidg dddgdgdddEd5gidd,d8diiidgd;d<d=d	d>dd?d@gdddAdBdCdDdEd
gidEdFgigdGd\d]d	g d^d_d`id>dWddadbgdcdddeidfdndoddpdqdrdd
dd| S )Nr   r   r   r   r)   r*   r+   r,   r   r-   r   r.   r/   r   r0   r1   r2   r    r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rG   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   r   r   rY   rZ   r\   r   r   Fr   r   r   r   rh   r   r(   r   r   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   ri   rj   rk   rl   r   rm   rn   ro   rq   rr   r   r   r!   r   r   r   r   r   r   r   rt   ru   rv   rw   rx   rz   r{   r|   r   r   r   r   r}   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r'   r   r   rE  rx  rH  z2.dynamic must be same as const definition: versionrh  Tz0.dynamic must contain one of contains definitionr   z' must NOT match a disallowed definitionr   z.license must be stringz.licenserz  r{  z.name must be pep508-identifierz.version must be stringz.versionz.version must be pep440z.description must be stringz.descriptionr   rK  z.readme must be stringz.readmer   z.readme must be objectz.readme must contain z.readme.file must be stringz.readme.filez.readme.text must be stringz.readme.textz-.readme cannot be validated by any definitionz#.readme.content-type must be stringz.readme.content-typez/.readme must be valid exactly by one definitionrO  rP  rH   z.requires-python must be stringz.requires-pythonz+.requires-python must be pep508-versionspecz.license must be SPDXz.license must be objectz.license must contain z.license.file must be stringz.license.filez.license.text must be stringz.license.textz0.license must be valid exactly by one definitionre  rf  rg  rI  z.authors must be arrayz.authorsz.authors[{data__authors_x}]z.maintainers must be arrayz.maintainersz#.maintainers[{data__maintainers_x}]z.keywords must be arrayz	.keywordsz.keywords[{data__keywords_x}]z.classifiers must be arrayz.classifiersz#.classifiers[{data__classifiers_x}]z must be trove-classifierz.urls must be objectz.urlsz.urls.{data__urls_key}z must be urlz.urls must not contain r&   z.scriptsz.gui-scriptsz%.entry-points.{data__entrypoints_key}z.entry-points must not contain z.entry-pointsz-.entry-points must be python-entrypoint-groupz6.entry-points must be named by propertyName definitionry   z.dependencies must be arrayz.dependenciesz%.dependencies[{data__dependencies_x}]z%.optional-dependencies must be objectz.optional-dependenciesz7.optional-dependencies.{data__optionaldependencies_key}rJ  z[.optional-dependencies.{data__optionaldependencies_key}[{data__optionaldependencies_val_x}]z(.optional-dependencies must not contain z0.optional-dependencies must be pep508-identifierz?.optional-dependencies must be named by propertyName definitionr   z.import-names must be arrayz.import-namesz$.import-names[{data__importnames_x}]z must be import-namer   z .import-namespaces must be arrayz.import-namespacesz..import-namespaces[{data__importnamespaces_x}]z.dynamic must be arrayz.dynamic[{data__dynamic_x}]a   must be one of ['version', 'description', 'readme', 'requires-python', 'license', 'license-files', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies', 'import-names', 'import-namespaces']rM  r   )rQ  rR  r   rS  rT  rV  rW  rU  rX  rY  rZ  r[  r!   r\  bvalidate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_authorr   r`  ra  mvalidate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_entry_point_groupfvalidate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_dependency)br   r   r   rb  ry  rc  rv  Zdata__dynamic_is_listZdata__dynamic_containsZdata__dynamic_keyZdata__licenser}  Zdata__versionZdata__descriptionZdata__readmeZdata__readme_one_of_count12Zdata__readme_any_of_count13Zdata__readme_is_dictZdata__readme__missing_keysZdata__readme_keysZdata__readme__fileZdata__readme__textZdata__readme__contenttypeZdata__requirespythonZdata__license_one_of_count14Zdata__license_is_dictZdata__license__missing_keysZdata__license_keysZdata__license__fileZdata__license__textrq  rr  rs  rt  ru  Zdata__authorsZdata__authors_is_listZdata__authors_lenZdata__authors_xZdata__authors_itemZdata__maintainersZdata__maintainers_is_listZdata__maintainers_lenZdata__maintainers_xZdata__maintainers_itemZdata__keywordsZdata__keywords_is_listZdata__keywords_lenZdata__keywords_xZdata__keywords_itemZdata__classifiersZdata__classifiers_is_listZdata__classifiers_lenZdata__classifiers_xZdata__classifiers_itemZ
data__urlsZdata__urls_is_dictZdata__urls_keysZdata__urls_keyZdata__urls_valZdata__scriptsZdata__guiscriptsZdata__entrypointsZdata__entrypoints_is_dictZdata__entrypoints_keysZdata__entrypoints_keyZdata__entrypoints_valZdata__entrypoints_lenZ data__entrypoints_property_namesZdata__dependenciesZdata__dependencies_is_listZdata__dependencies_lenZdata__dependencies_xZdata__dependencies_itemZdata__optionaldependenciesZ"data__optionaldependencies_is_dictZdata__optionaldependencies_keysZdata__optionaldependencies_keyZdata__optionaldependencies_valZ&data__optionaldependencies_val_is_listZ"data__optionaldependencies_val_lenZ data__optionaldependencies_val_xZ#data__optionaldependencies_val_itemZdata__optionaldependencies_lenZ)data__optionaldependencies_property_namesZdata__importnamesZdata__importnames_is_listZdata__importnames_lenZdata__importnames_xZdata__importnames_itemZdata__importnamespacesZdata__importnamespaces_is_listZdata__importnamespaces_lenZdata__importnamespaces_xZdata__importnamespaces_itemZdata__dynamic_lenZdata__dynamic_xZdata__dynamic_itemr   r   r   r]    sF      
V


2:P
H
D


2
   2 

66

66

8


8

T

8
P

4^
V

:


::


66
F
V

8
F
V

8


:V

r(

r(

:V

BZZ

B


XXN








$z
2
n

B(

T


d(`
2
T

<XX

<XX

B
Z   . r]  c              
   C   s   t | ts td|p
d d | d|pd d dddddd	d
dt | trF|d | sFtd|p0d d | d|p8d d dddddd	dd| S )Nr   r   rI  r|   r   r   r   r   r   r   rE  rL  r!   r  r   r   r   r   r  \  s   
6
6r  c           	      C   s  t | ts/td|p
d d | d|pd d dddg ddd	id
ddddgdddidddt | t}|rit|  }|  D ]\}}td |r||v rU|| t |t	std|p_d dj
d i t  d |d|ppd dj
d i t  d dddgdddddt |t	r|d |std|pd dj
d i t  d |d|pd dj
d i t  d dddgdddddqA|rtd|pd d t	| d | d|pd d dddg ddd	id
ddddgdddidddt| }|dkrid}| D ]8}z)t |t	r*|d	 |s*td|pd d |d|p d d dd	iddW q ty9   d
}Y qw |sitd|pCd d | d|pLd d dddg ddd	id
ddddgdddiddd| S )!Nr   r   r   rr   r   r   r   r!   r   Fr   r   r   r   r   r   r   r   r   rE  r  rI  z$ must be python-entrypoint-referencerM  rH  r&   r   Tz must be python-entrypoint-namez) must be named by propertyName definitionry   r   )rQ  rR  r   rS  rT  r   r`  ra  rU  rV  r!   r\  rZ  )	r   r   r   rb  rc  r  r  rw  Zdata_property_namesr   r   r   r  d  s@   
T


\
\`
2
Xr  c           	      C   s  t | ts6td|p
d d | d|pd d dddddd	d
dgdd	ddddddgiddgigdddd}|s|z8t | t}|rmtdg|   }|rmtd|pRd d tt|d  | d|pbd d ddgidd|d7 }W n	 ty{   Y nw |sz8t | t}|rtdg|   }|rtd|pd d tt|d  | d|pd d ddgidd|d7 }W n	 ty   Y nw |std|pd d | d|pd d dddddd	d
dgdd	ddddddgiddgigdddt | t}|rt|  }d|v r1|d | d }t |ts1td|pd d |d|p$d d d	d
dgdddd|v r|d | d }t |ts`td|pKd d |d|pTd d  d	dddddt |trtd! 	|std|ptd d" |d|p}d d  d	dddd#d|rtd|pd d$ t| d | d|pd d dddddd	d
dgdd	ddddddgiddgigdd%d| S )&Nr   r   r   r\   r   r   r   Fr   r   r   r5   r   r   rh   r   r(   r-   r   r   r   rE  r   rx  rH  r   r~  r9   rz  r{  z.email must be stringz.emailr	   z.email must be idn-emailr!   rM  r&   )
rQ  rR  r   rS  rT  rV  rW  rU  r`  match)	r   r   r   Zdata_any_of_count15rb  ry  rc  r}  Zdata__emailr   r   r   r    sT   
b
@
@b


8

66rr  )VERSIONdecimalr   reZfastjsonschema_exceptionsr   compiler`  r   r|  r   r   r_  rp  ro  rn  rm  rl  rk  rj  r^  r]  r  r  r  r   r   r   r   <module>   sB   |   .% N:   