
    n&ph                        S r SSKJr  SSKrSSKrSSKJrJr  SSK	J
r
Jr  SSKJr  SSKJr  SS	KJr  \" S
SS9r\" SSS9rS r      SS jr\4       SS jjr S       SS jjr\R0                  " \\S9rg)z2Timestamp comparison of files and groups of files.    )annotationsN)CallableIterable)LiteralTypeVar)splat   )
zip_strict)DistutilsFileError	_SourcesT3str | bytes | os.PathLike[str] | os.PathLike[bytes])bound	_TargetsTc                    [         R                  R                  U5      (       + =(       d?    [         R                  R                  U 5      [         R                  R                  U5      :  $ N)ospathexistsgetmtimesourcetargets     R/var/www/html/venv/lib/python3.13/site-packages/setuptools/_distutils/_modified.py_newerr      sE    ww~~f%% 
 277#3#3F#;;    c                    [         R                  R                  U 5      (       d-  [        S[         R                  R	                  U 5      < S35      e[        X5      $ )z
Is source modified more recently than target.

Returns True if 'source' is modified more recently than
'target' or if 'target' does not exist.

Raises DistutilsFileError if 'source' does not exist.
zfile z does not exist)r   r   r   r   abspathr   r   s     r   newerr      sD     77>>&!! 5)@(C?!STT&!!r   c                    [        [        U5      [        X5      5      n[        [	        [
        [        U6 5      5      =(       d    / / 4$ )a  
Filter filenames where sources are newer than targets.

Walk two filename iterables in parallel, testing if each source is newer
than its corresponding target.  Returns a pair of lists (sources,
targets) where source is newer than target, according to the semantics
of 'newer()'.
)filterr   r
   tuplemaplistzip)sourcestargetsr   newer_pairss       r   newer_pairwiser(   /   s9     uz''CDKT3,-.:2r(:r   c                   ^^^ U4S jmTS:X  a  [         R                  R                  OSn[         R                  R                  T5      (       + =(       d    [        UU4S j[	        X05       5       5      $ )a  
Is target out-of-date with respect to any file in sources.

Return True if 'target' is out-of-date with respect to any file
listed in 'sources'. In other words, if 'target' exists and is newer
than every file in 'sources', return False; otherwise return True.
``missing`` controls how to handle a missing source file:

- error (default): allow the ``stat()`` call to fail.
- ignore: silently disregard any missing source files.
- newer: treat missing source files as "target out of date". This
  mode is handy in "dry-run" mode: it will pretend to carry out
  commands that wouldn't work because inputs are missing, but
  that doesn't matter because dry-run won't run the commands.
c                d   > TS:H  =(       a$    [         R                  R                  U 5      (       + $ )Nr   )r   r   r   )r   missings    r   missing_as_newer%newer_group.<locals>.missing_as_newerU   s#    '!@"''..*@&@@r   ignoreNc              3  Z   >#    U  H   nT" U5      =(       d    [        UT5      v   M"     g 7fr   )r   ).0r   r,   r   s     r   	<genexpr>newer_group.<locals>.<genexpr>Y   s,      -.F 	 :F66$::.s   (+)r   r   r   anyr    )r%   r   r+   ignoredr,   s    `` @r   newer_groupr5   @   sW    *A !(8 3bggnnGww~~f%%  -W.- * r   )r   )r   r   r   r   returnbool)r%   zIterable[_SourcesT]r&   zIterable[_TargetsT]r   z&Callable[[_SourcesT, _TargetsT], bool]r6   z'tuple[list[_SourcesT], list[_TargetsT]])error)r%   z=Iterable[str | bytes | os.PathLike[str] | os.PathLike[bytes]]r   r   r+   z#Literal['error', 'ignore', 'newer']r6   r7   )__doc__
__future__r   	functoolsos.pathr   collections.abcr   r   typingr   r   jaraco.functoolsr   compat.py39r
   errorsr   r   r   r   r   r(   r5   partialnewer_pairwise_group r   r   <module>rE      s    8 "   . # " # &L	 L	
"?"?" 
"* 5:; ; ; 2; -	;( 4;J? 1 
	> !(({K r   