o nha@sUddlmZddlZddlZddlZddlZddlZddlZddlZddl m Z m Z m Z m Z ddlmZddlmZddlmZmZmZddlmZmZddlmZmZdd lmZmZdd lmZd d l m!Z!m"Z"m#Z#m$Z%d d l&m'Z'd dl(m)Z)d dl*m+Z+d dl"m,Z,d dl-m.Z.m/Z/d dl0m1Z1d dl2m3Z3d dl4m5Z5d dl6m7Z7m8Z8ddl9Z:ddl;Z:ddlZ:ddl?m@Z@ddlAmBZBmCZCddlDmEZEddlFmGZGerddlHmIZIddlJmKZLdgZMeNeOfZP eeNeQdfeOeQfZRdeSd<d ZTeeQeUeQefe eQfZVdeSd!< dKd&d'ZWd(d)ZXdLd-d.ZYd/d0ZZd1d2Z[d3d4Z\d5d6Z]d7d8Z^d9d:Z_dMd;d<Z`d=d>Zad?d@ZbdAdBZcdCdDZderVddl (got r>N) isinstancer5joinrArBr6rCr%_sequence_type_reprrDrEr<rGr9r9r:assert_string_list`srPcCsr|}t||||D],}||std||d\}}}|r.||vr.tjd||tjddddq dS) z(Verify that namespace packages are validzCDistribution contains no modules or packages for namespace package .z^WARNING: %r is declared as a package namespace, but %r is not: please correct this in setup.pyz/The namespace_packages parameter is deprecated.z)r _check_markerrr%r^rparse)extrareqs_namer[markermsgr9r9r:ras   racCs|sdSt|}|dSN)revaluate)rjmr9r9r:res recCs$t||krt|d|ddS)z)Verify that value is True, False, 0, or 1z must be a boolean value (got r>N)boolr%rDrEr<r9r9r: assert_bools rqcCs&|s t|ddSt|d)Nz is ignored.z is invalid.)DistDeprecationWarningr4r%rpr9r9r:invalid_unless_falsesrsc Cs\ztt|t|trtdWdSttfy-}z |d|}t||d}~ww)z9Verify that install_requires is a valid requirements listzUnordered types are not allowedzb must be a string or iterable of strings containing valid project/version requirement specifiers; N)r^rrfrLsetrArBr%rDrEr<errorrkr9r9r:check_requirementss  rwc CsDzt|WdSttfy!}z |d|}t||d}~ww)z.Verify that value is a valid version specifierz7 must be a string containing valid version specifiers; N)rrr6r%rur9r9r:check_specifiers rxc Cs4zt|WdSty}zt||d}~ww)z)Verify that entry_points map is parseableN)rload Exceptionr%rOr9r9r:check_entry_pointss  r{cCsbt|ts t|d|D]\}}t|ts$td|d|dt|d|d|qdS)z@Verify that value is a dictionary of package names to glob listszP must be a dictionary mapping package names to lists of string wildcard patternszkeys of z dict must be strings (got r>z values of z dictN)rLdictr%rbr.rP)rDrEr<kvr9r9r:check_package_datas  rcCs(|D]}td|stjd|qdS)Nz \w+(\.\w+)*z[WARNING: %r not a valid package name; please use only .-separated package names in setup.py)rematchrUrVrW)rDrEr<pkgnamer9r9r:check_packagess rc seZdZUdZddeeddddddeedZded <dudvddZddZ ddZ e ddZ ddZ ddZdwddZdwddZe dxdyd$d%Ze dxdzd(d)Zdud*d+Zd{d.d/Zd{d0d1Zd|d2d3Zd|d4d5Zdud6d7Zd}d:d;Z d?ZddCdDZdwdEdFZe dGdHZdIdJZdKdLZ dMdNZ!ddQdRZ"dSdTZ#dUdVZ$dwdWdXZ%ddZd[Z&dd\d]Z'ddadbZ(ddcddZ)dwdedfZ*ddhdiZ+djdkZ,ddmdnZ-dodpZ.dqdrZ/dwfdsdt Z0Z1S)r*a Distribution with support for tests and package data This is an enhanced version of 'distutils.dist.Distribution' that effectively adds the following new optional keyword arguments to 'setup()': 'install_requires' -- a string or sequence of strings specifying project versions that the distribution requires when installed, in the format used by 'pkg_resources.require()'. They will be installed automatically when the package is installed. If you wish to use packages that are not available in PyPI, or want to give your users an alternate download location, you can add a 'find_links' option to the '[easy_install]' section of your project's 'setup.cfg' file, and then setuptools will scan the listed web pages for links that satisfy the requirements. 'extras_require' -- a dictionary mapping names of optional "extras" to the additional requirement(s) that using those extras incurs. For example, this:: extras_require = dict(reST = ["docutils>=0.3", "reSTedit"]) indicates that the distribution can optionally provide an extra capability called "reST", but it can only be used if docutils and reSTedit are installed. If the user installs your package using EasyInstall and requests one of your extras, the corresponding additional requirements will be installed if needed. 'package_data' -- a dictionary mapping package names to lists of filenames or globs to use to find data files contained in the named packages. If the dictionary has filenames or globs listed under '""' (the empty string), those names will be searched for in every package, in addition to any names for the specific package. Data files found using these names/globs will be installed along with the package, in the same location as the package. Note that globs are allowed to reference the contents of non-package subdirectories, as long as you use '/' as a path separator. (Globs are automatically converted to platform-specific paths at runtime.) In addition to these new keywords, this class also has several new methods for manipulating the distribution's contents. For example, the 'include()' and 'exclude()' methods can be thought of as in-place add and subtract commands that add or remove packages, modules, extensions, and so on from the distribution. cCdSrlr9r9r9r9r:#zDistribution.cCrrlr9r9r9r9r:r&rcCrrlr9r9r9r9r:r'rcCrrlr9r9r9r9r:r(r)long_description_content_type project_urlsprovides_extraslicense_expression license_file license_filesinstall_requiresextras_require list[str]namespace_packagesNattrsMutableMapping[str, Any] | Noner/rIcst|d}|s i|_|p i}g|_d|_d|_|dd|_|dg|_|dg|_t j ddD] }t | |j dq2t|jddh8fd d |D}t||tt|_t||_||||j j|j _|dS) N package_datasrc_rootdependency_linkssetup_requiresdistutils.setup_keywordsr=rrcsi|] \}}|vr||qSr9r9.0r}r~ metadata_onlyr9r: Bsz)Distribution.__init__..)hasattrr dist_filesinclude_package_dataexclude_package_datapoprrrr entry_pointsvars setdefaultr-rt_DISTUTILS_UNSUPPORTED_METADATArb _Distribution__init__r._referenced_filesr set_defaults_set_metadata_defaults_normalize_versionversion_finalize_requires)selfrhave_package_datarF dist_attrsr9rr:r1s*        zDistribution.__init__cs@dh}fddtjD}||}|rd|}t|dS)Nr-cs"h|] }tj|ddur|qSrl)getattrr)rkeyrr9r: Ss z2Distribution._validate_metadata..z&Required package metadata is missing: )rrr%)rrequiredprovidedmissingrkr9rr:_validate_metadataQs  zDistribution._validate_metadatacCs4|jD]\}}t|j||||qdS)z Fill-in missing metadata fields not supported by distutils. Some fields may have been set by other tools (e.g. pbr). Those fields (vars(self.metadata)) take precedence to supplied attrs. N)rrbrrrget)rroptiondefaultr9r9r:r^sz#Distribution._set_metadata_defaultscCslddlm}t|tjrt|}n t||s|dur|Stt|}||kr4td|d|d|S|S)Nr)sic Normalizing '' to '') rJrrLnumbersNumberr.rr!r4)rr normalizedr9r9r:rhs    zDistribution._normalize_versioncCspt|ddr |j|j_||j|j_|j|j_|jr4|jD]}|dd}|r3|jj |q!dSdS)z Set `metadata.python_requires` and fix environment markers in `install_requires` and `extras_require`. python_requiresNrdr) rrr_normalize_requiresrrkeyssplitrr)rrgr9r9r:rxs    zDistribution._finalize_requirescCszt|ddpg}t|ddpi}t|rtjnt}|ttt||_ t|r-tj nt }|dd| D|_ dS)zAMake sure requirement-related attributes exist and are normalizedrNrcss0|]\}}|tttt|pgfVqdSrl)r^mapr.rrfrr9r9r: s  z3Distribution._normalize_requires..)rr is_staticListr^rr.rrfrDictr|rbr)rrrlist_dict_r9r9r:rsz Distribution._normalize_requirescCs|j}dd|D}|jj}|rCt|rtjnt}|t|}||kr6t d|d|d||j_|rAt dd |d S|rYd}t j d d d |d |d d Sd S)a Normalize license and license_expression. >>> dist = Distribution({"license_expression": _static.Str("mit aNd gpl-3.0-OR-later")}) >>> _static.is_static(dist.metadata.license_expression) True >>> dist._finalize_license_expression() >>> _static.is_static(dist.metadata.license_expression) # preserve "static-ness" True >>> print(dist.metadata.license_expression) MIT AND GPL-3.0-or-later cSsg|] }|dr|qS)z License ::  startswith)rclr9r9r: sz=Distribution._finalize_license_expression..rrrzyLicense classifiers have been superseded by license expressions (see https://peps.python.org/pep-0639/). Please remove:  z&guides/writing-pyproject-toml/#licensez#License classifiers are deprecated.z[Please consider removing the following classifiers in favor of a SPDX license expression: 'https://packaging.python.org/en/latest/)see_urlN) rget_classifiersrrrStrr.rr!r4rrMr")r classifierslicense_classifiers license_exprstr_r pypa_guidesr9r9r:_finalize_license_expressions4   z)Distribution._finalize_license_expressioncCsx|jj}|pg}|jj}|r||vr|||dur+|dur+gd}|j|dd}n|j|dd}tt||j_dS)z>> list(Distribution._expand_patterns(['LICENSE'])) ['LICENSE'] >>> list(Distribution._expand_patterns(['pyproject.toml', 'LIC*'])) ['pyproject.toml', 'LICENSE'] >>> list(Distribution._expand_patterns(['setuptools/**/pyprojecttoml.py'])) ['setuptools/config/pyprojecttoml.py'] c3sJ|] }t|D]}|ds tj|r |tjdVq qdS)~/N)sorted _find_patternendswithospathisfilereplacesep)rpatternrclsrr9r:rs   z0Distribution._expand_patterns..r9)rrrr9rr:rs zDistribution._expand_patternsrr.cCsd}d|vrtjd|ddd|dd|tjd fs"d |vr*td|d td |d ur?tjdd|d|ddt|dd}|rR|sRtjdd|dd|S)a >>> Distribution._find_pattern("LICENSE") ['LICENSE'] >>> Distribution._find_pattern("/LICENSE.MIT") Traceback (most recent call last): ... setuptools.errors.InvalidConfigError: Pattern '/LICENSE.MIT' should be relative... >>> Distribution._find_pattern("../LICENSE.MIT") Traceback (most recent call last): ... setuptools.warnings.SetuptoolsDeprecationWarning: ...Pattern '../LICENSE.MIT' cannot contain '..'... >>> Distribution._find_pattern("LICEN{CSE*") Traceback (most recent call last): ... setuptools.warnings.SetuptoolsDeprecationWarning: ...Pattern 'LICEN{CSE*' contains invalid characters... zspecifications/glob-patterns/z..zPattern z cannot contain '..'z Please ensure the files specified are contained by the root of the Python package (normally marked by `pyproject.toml`). r))rr3rz:\z/ should be relative and must not start with '/'z^[\w\-\.\/\*\?\[\]]+$Nz$Please provide a valid glob pattern.z0Pattern {pattern!r} contains invalid characters.)rrr3T) recursivez,Cannot find any files for the given pattern.z,Pattern {pattern!r} did not match any files.)rr3) r"r4rrrrrrr)rrrfoundr9r9r:rs:     zDistribution._find_patternc Csddlm}tjtjkrgngd}t|}|dur|}tr%|d|}t |_ |D]f}t |dd}trD|dj d it ||Wdn1sSwY|D]2}||}||} |D]#} | d kst| |vruqj||| } || |} || |} || f| | <qjq\|q-d |jvrdS|jd D]7\} \} } |j| } | rt|  } n| d vrt| } z t|| p| | Wqty}zt||d}~wwdS) z Adapted from distutils.dist.Distribution.parse_config_files, this method provides the same functionality in subtly-improved ways. r) ConfigParser) z install-basezinstall-platbasez install-libzinstall-platlibzinstall-purelibzinstall-headerszinstall-scriptsz install-dataprefixz exec-prefixhomeuserrootNz"Distribution.parse_config_files():utf-8encodingz reading {filename}r7global)verbosedry_runr9) configparserrsysr base_prefix frozensetfind_config_filesr#announcer. optionxformopenformatlocals read_filesectionsoptionsget_option_dictr_enforce_underscore_enforce_option_lowercasercommand_optionsrb negative_optr(setattrrBr$)r filenamesrignore_optionsparserfilenamereadersectionropt_dictoptvalsrcaliasrGr9r9r:_parse_config_files"sZ              z Distribution._parse_config_filesrrc Cs|d|vs ||r |S|dd}|jjrd|jjdnd}tjd|d|d|d d |d |d |d ddd|S)N-_ (Affected: ).rJzInvalid dash-separated key  in z- (setup.cfg), please use the underscore name instead.z% Usage of dash-separated zV will not be supported in future versions. Please use the underscore name  instead. !userguide/declarative_config.htmlrrrrRr3)_skip_setupcfg_normalizationrrr-r"r4)rrrunderscore_optaffectedr9r9r:rqs&  z Distribution._enforce_underscorec Cs~|s ||r |S|}|jjrd|jjdnd}tjd|d|d|dd|d|d |d |d d d d|S)Nr#r$rJzInvalid uppercase key r%z# (setup.cfg), please use lowercase r&z$ Usage of uppercase key zL will not be supported in future versions. Please use lowercase r'r(r)r*r+)islowerr,lowerrr-r"r4)rrr lowercase_optr.r9r9r:rs* z&Distribution._enforce_option_lowercasecCsd}||vp || S)N)zoptions.extras_requirezoptions.data_fileszoptions.entry_pointszoptions.package_datazoptions.exclude_package_data)_is_setuptools_section)rrskipr9r9r:r,sz)Distribution._skip_setupcfg_normalizationcCs|dkp |dp |tvS)Nrr)r_setuptools_commands)rrr9r9r:r2s z#Distribution._is_setuptools_sectionc Cs`|}|dur ||}tr|d|d|D]\}\}}tr3|d|d|d|dz dd |jD}Wn tyHg}Ynwz|j}Wn tyYi}YnwzBt|t } ||vrr| rrt |||t | n)||vr| rt ||t |nt ||rt |||nt d |d |d |d Wqty} zt | | d} ~ wwdS)a Set the options for 'command_obj' from 'option_dict'. Basically this means copying elements of a dictionary ('option_dict') to attributes of an instance ('command'). 'command_obj' must be a Command instance. If 'option_dict' is not supplied, uses the standard option dictionary for this command (from 'self.command_options'). (Adopted from distutils.dist.Distribution._set_command_options) Nz setting options for 'z ' command:z z = z (from r>cSsg|]}t|qSr9r&)ror9r9r:rsz5Distribution._set_command_options..z error in z : command 'z' has no such option 'r)get_command_namerr#rrbboolean_optionsr6rrLr.rr(rr$rB) r command_obj option_dict command_namersourcer< bool_optsneg_opt is_stringrGr9r9r:_set_command_optionssF          z!Distribution._set_command_optionsrIterable[StrPath] | NonecCsbg}t|jptjd}|dur&tdd|}t|d}t|d}||fS|r-|g}||fS)z/Add default file and split between INI and TOMLzpyproject.tomlNcSst|jdkS)Nz.toml)rsuffix)fr9r9r:rsz8Distribution._get_project_config_files..rr)rrrcurdirr r^exists)rr tomlfilesstandard_project_metadatapartsr9r9r:_get_project_config_filess  z&Distribution._get_project_config_filesFignore_option_errorscCs`||\}}|j|dtj||j|d|D] }t|||q||| dS)zXParses configuration files from various levels and loads configuration. )r)rIN) rHr rparse_configurationrrapply_configurationrrr)rrrIinifilesrErr9r9r:parse_config_filess  zDistribution.parse_config_filesrequiresr!list[_pkg_resources_Distribution]cCddlm}|||S)zResolve pre-setup requirementsr)_fetch_build_eggs) installerrQ)rrNrQr9r9r:fetch_build_eggss  zDistribution.fetch_build_eggscCsRd}dd}tj|d}t|j|}tdd|}t||dD]}||q dS) z Allow plugins to apply arbitrary operations to the distribution. Each hook may optionally define a 'order' to influence the order of execution. Smaller numbers go first and the default is 0. z(setuptools.finalize_distribution_optionscSs t|ddS)Norderr)r)hookr9r9r:by_order s z/Distribution.finalize_options..by_orderrcSs|Srl)ry)rGr9r9r:rsz/Distribution.finalize_options..)rN)rrr_ filterfalse_removedrr)rr=rVdefinedfilteredloadedrFr9r9r:finalize_optionss  zDistribution.finalize_optionscCsdh}|j|vS)z When removing an entry point, if metadata is loaded from an older version of Setuptools, that removed entry point will attempt to be loaded and will fail. See #2765 for more details. 2to3_doctestsr8)rFremovedr9r9r:rXs  zDistribution._removedcCs>tjddD]}t||jd}|dur|||j|qdS)Nrr)rrrr-ry)rrFr<r9r9r:_finalize_setup_keywords"s z%Distribution._finalize_setup_keywordscCsddlm}tjtjd}tj|sLt|||tj|d}t |ddd}| d| d | d Wd|S1sGwY|S) Nr)windows_supportz.eggsz README.txtwrrzcThis directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins. zAThis directory caches those eggs to prevent repeated downloads. z/However, it is safe to delete this directory. ) rJr`rrrMrCrDmkdir hide_filer write)rr` egg_cache_dirreadme_txt_filenamerBr9r9r:get_egg_cache_dir(s$        zDistribution.get_egg_cache_dircCrP)z Fetch an egg needed for buildingr)fetch_build_egg)rRrh)rreqrhr9r9r:rh=s  zDistribution.fetch_build_eggrtype[distutils.cmd.Command]cCsh||jvr |j|S|dkrddlm}|Stjd|d}|D]}||j|<}|St||S)z(Pluggable version of get_command_class() bdist_wheelr)rkdistutils.commands)r=r-)cmdclasscommand.bdist_wheelrkrrryrget_command_class)rrrkepsrFrmr9r9r:roCs    zDistribution.get_command_classcC<tjddD]}|j|jvr|}||j|j<qt|SNrlr)rrr-rmryrprint_commandsrrFrmr9r9r:rsU    zDistribution.print_commandscCrqrr)rrr-rmryrget_command_listrtr9r9r:rv\ruzDistribution.get_command_listcK@|D]\}}t|d|d}|r||q|||qdS)aAdd items to distribution that are named in keyword arguments For example, 'dist.include(py_modules=["x"])' would add 'x' to the distribution's 'py_modules' attribute, if it was not already there. Currently, this method only supports inclusion for attributes that are lists or tuples. If you need to add support for adding to other attributes in this or a subclass, you can add an '_include_X' method, where 'X' is the name of the attribute. The method will be called with the value passed to 'include()'. So, 'dist.include(foo={"bar":"baz"})' will try to call 'dist._include_foo({"bar":"baz"})', which can then handle whatever special inclusion logic is needed. _include_N)rbr _include_misc)rrr}r~includer9r9r:rzcs  zDistribution.includepackagecsjd|jrfdd|jD|_|jr"fdd|jD|_|jr3fdd|jD|_dSdS)z9Remove packages, modules, and extensions in named packagerQc"g|] }|kr|s|qSr9rrpr{pfxr9r:r~z0Distribution.exclude_package..cr|r9rr}rr9r:rrcs&g|]}|jkr|js|qSr9)r-rr}rr9r:rs N)packages py_modules ext_modules)rr{r9rr:exclude_packageys    zDistribution.exclude_packagecCs2|d}|D]}||ks||rdSqdS)z: No such distribution settingN4: this setting cannot be changed via include/excludecg|]}|vr|qSr9r9ritemr<r9r:rz.Distribution._exclude_misc..)rLr5r%rNrr6r)rr-r<oldrGr9rr: _exclude_miscs" zDistribution._exclude_miscc st|tst|dtd|dzt||Wnty-}zt|d|d}~wwdur:t|||dSttsEt|dfdd|D}t||t|dS) zAHandle 'include()' for list/tuple attrs without a special handlerrrKr>rNrcrr9r9rrr9r:rrz.Distribution._include_misc..)rLr5r%rNrr6rr^)rr-r<rGnewr9rr:rys$  zDistribution._include_misccKrw)aRemove items from distribution that are named in keyword arguments For example, 'dist.exclude(py_modules=["x"])' would remove 'x' from the distribution's 'py_modules' attribute. Excluding packages uses the 'exclude_package()' method, so all of the package's contained packages, modules, and extensions are also excluded. Currently, this method only supports exclusion from attributes that are lists or tuples. If you need to add support for excluding from other attributes in this or a subclass, you can add an '_exclude_X' method, where 'X' is the name of the attribute. The method will be called with the value passed to 'exclude()'. So, 'dist.exclude(foo={"bar":"baz"})' will try to call 'dist._exclude_foo({"bar":"baz"})', which can then handle whatever special exclusion logic is needed. _exclude_N)rbrr)rrr}r~excluder9r9r:rs  zDistribution.excludercCs4t|tstdtd|dtt|j|dS)Nz#packages: setting must be of type )rLr5r%rNr^rr)rrr9r9r:_exclude_packagess zDistribution._exclude_packagesc Cs|jj|_|jj|_|d}|d}||vr6||\}}||=ddl}||d|dd<|d}||vst|||}||} t | ddrWd|f||d<|durWgS|S)NraliasesTrcommand_consumes_arguments command lineargs) __class__global_optionsrrshlexrr_parse_command_optsror) rrrrr_srcrrnargs cmd_classr9r9r:rs$      z Distribution._parse_command_opts dict[str, dict[str, str | None]]c Csi}|jD]W\}}|D]N\}\}}|dkrq|dd}|dkrO||}|j}|t|di|D]\} } | |krI| }d}nq;tdn|dkrUd}|| |i|<qq|S) ahReturn a '{cmd: {opt:val}}' map of all command-line options Option names are all long, but do not include the leading '--', and contain dashes rather than underscores. If the option doesn't take an argument (e.g. '--quiet'), the 'val' is 'None'. Note that options provided by config files are intentionally excluded. rr"r!rrNzShouldn't be able to get herer) rrbrget_command_objrcopyupdaterrCr) rdcmdoptsrrrcmdobjr=negposr9r9r:get_cmdline_optionss.    z Distribution.get_cmdline_optionsccsl|jpdEdH|jp dEdH|jpdD]}t|tr"|\}}n|j}|dr0|dd}|VqdS)z@Yield all packages, modules, and extension names in distributionr9Nmodulei)rrrrLtupler-r)rextr- _buildinfor9r9r:rs    z$Distribution.iter_distribution_namesc Csddl}|jr t||St|jtjst||S|jj dvr(t||S|jj}|jj ddzt||W|jj |dS|jj |dw)zIf there were any non-global "display-only" options (--help-commands or the metadata display options) on the command line, display the requested info and return true; else return false. rN)rutf8rr) r help_commandsrhandle_display_optionsrLstdoutio TextIOWrapperrr0 reconfigure)r option_orderrrr9r9r:r/s     z#Distribution.handle_display_optionscs|t|dSrl)rsuper run_command)rrrr9r:rKszDistribution.run_commandrl)rrr/rI)r/rI)T)rrrror/r)rr.rror/r)rr.rr.r/r.)rr.r/ro)rr@)NF)rr@rIror/rI)rNrr/rO)rr.r/rj)r{r.r/rI)r{r.r/ro)r-r.r<r+r/rI)rr+r/rI)r/r)2r7 __module__ __qualname____doc__r|r^r__annotations__rrr staticmethodrrrrr classmethodrrr rrr,r2r?rHrMrSr\rXr_rgrhrorsrvrzrrSrryrrrrrrr __classcell__r9r9rr:r*st .      ( 9 O    -            'set[str]cCsHztdj}dd|D}Wn tjyg}Ynwhtjj|S)N setuptoolscss|]}|jVqdSrlr8)rrFr9r9r:rXsz'_setuptools_commands..)r distributionrPackageNotFoundErrorrUr__all__)rrpr9r9r:r4Ss r4c@seZdZdZdS)rrzrClass for warning about deprecations in dist in setuptools. Not ignored by default, unlike DeprecationWarning.N)r7rrrr9r9r9r:rr_srr)r-r.r/r )rEr.r<r+r/rI)rEr.r<r,r/rI)r/r)j __future__r functoolsrr_rrrrcollections.abcrrrrrpathlibrtypingr r r more_itertoolsr r packaging.markersrrpackaging.specifiersrrpackaging.versionrrJrrrrr" _importlibr_normalizationr_pathrrconfigrr discoveryrerrorsrmonkeyr warningsr!r" distutils.cmdrUdistutils.commanddistutils.coredistutils.dist distutils.logdistutils.debugr#distutils.errorsr$r%distutils.fancy_getoptr'distutils.utilr(typing_extensionsr) pkg_resourcesr*_pkg_resources_Distributionrrr^r5r.r+rrNr|r,r;rHrPr]rcrarerqrsrwrxr{rrrcorecacher4rrr9r9r9r:s                "        e