
    ?e^                     0    d dl mZ d dlmZ ddlmZ d ZdS )   )ArgumentParser)handle_exception   )distinfoc                  p   t          d          } |                     ddddd           |                     dd	d
           |                     ddd           |                     ddddd           |                     dddd           |                     ddddd           |                     ddd           |                     dddd           |                     d d!dd"d#           |                     d$d%d&           |                     d'd(d)d*+           |                                 }	 t          |j        d,         |j        |j        |j        |j        |j	        |j
        |j        |j        |j        |j        -           n&# t          $ r}t!          |           Y d.}~nd.}~ww xY wd,S )/z- Create and populate a .dist-info directory. z+Create and populate a .dist-info directory.z--console-scriptconsole_scriptsappendz#the entry point of a console scriptzENTRY-POINT)destactionhelpmetavarz--generatorz0the name of the program generating the directoryNAME)r   r   z--generator-versionz3the version of the program generating the directoryVERSIONz--gui-scriptgui_scriptszthe entry point of a GUI scriptz--inventoryTz9the file containing the names of the files in the projectFILE)requiredr   r   z
--metadatametadata_overridesz4a name/value to override any pyproject.toml metadatazNAME[=VALUE]z--prefixz!the installation prefix directoryDIRz--project-rootz'the directory containing pyproject.tomlz--requires-distrequires_distszadditional Requires-DistEXPRz--wheel-tagz#the tag if a wheel is being createdTAGnamesr   z$the name of the .dist-info directory	directory)r
   nargsr   r       )namer   r   	generatorgenerator_version	inventoryr   prefixproject_rootr   	wheel_tagN)r   add_argument
parse_argsr   r   r   r   r   r   r   r   r    r!   r   r"   	Exceptionr   )parserargses      6lib/python3.11/site-packages/sipbuild/distinfo/main.pymainr*      s    IJJF
*1B"G!  # # # C     -F     ]82M  K K K L     +?G"  $ $ $
 
)L     (4:E  K K K )0@"<f  N N N 6  G G G WA7  N N N D	djmT5I ,"&"8.#'#:4;!.#2dn	N 	N 	N 	N 	N     1s   8AF 
F3F..F3N)argument_parserr   
exceptionsr   r   r*        r)   <module>r/      sV   0 - , , , , , ) ) ) ) ) )      : : : : :r.   