1 $ ˆl–äY>”*e¶…6 Aq‘\dJbÑ¿Æ „m¯ÅÃÈ?÷ § Ó°nÇD0ãó— ddlZddlZddlmZddlmZddlmZddlmZddlm Z ddlm Z ddl m Z dd l mZdd lmZdd lmZdd lmZmZd „ZGd„de¦«ZdS)éN)Úglob)Úwarn)ÚCommand)Údir_util)Ú file_util)Ú archive_util)ÚTextFile)ÚFileList)Úlog)Ú convert_path)ÚDistutilsTemplateErrorÚDistutilsOptionErrorcó— ddlm}ddlm}g}| ¦«D])}| d|zd||df¦«Œ*| ¦«||¦« d¦«dS)Nr)Ú FancyGetopt)ÚARCHIVE_FORMATSúformats=éz.List of available source distribution formats:)Údistutils.fancy_getoptrÚdistutils.archive_utilrÚkeysÚappendÚsortÚ print_help)rrÚformatsÚformats úD/opt/alt/python-internal/lib64/python3.11/distutils/command/sdist.pyÚ show_formatsrs¿€ðð3Ð2Ð2Ð2Ð2Ð2Ø6Ð6Ð6Ð6Ð6Ð6Ø€GØ!×&Ò&Ñ(Ô(ð5ð5ˆØ�Š˜  VÑ+¨TØ'¨Ô/°Ô2ð4ñ 5ô 5ð 5ð 5à ‡L‚L�N„N€NØ€K�ÑÔ×#Ò#Ø8ñ:ô:ð:ð:ð:ócóâ—eZdZdZd„Zgd¢Zgd¢ZdddefgZdd d œZ d efgZ d Z d „Z d„Z d„Zd„Zd„Zd„Zed„¦«Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd „Z d!„Z!d"„Z"dS)#Úsdistz6create a source distribution (tarball, zip file, etc.)có— |jS©N)Úmetadata_check©Úselfs rÚchecking_metadatazsdist.checking_metadata(s€ð 3ðÔ"Ð"r))z template=Útz5name of manifest template file [default: MANIFEST.in])z manifest=Úmz)name of manifest file [default: MANIFEST])ú use-defaultsNzRinclude the default file set in the manifest [default; disable with --no-defaults])ú no-defaultsNz"don't include the default file set)ÚpruneNz‰specifically exclude files/directories that should not be distributed (build tree, RCS/CVS dirs, etc.) [default; disable with --no-prune])úno-pruneNz$don't automatically exclude anything)ú manifest-onlyÚozEjust regenerate the manifest and then stop (implies --force-manifest))úforce-manifestÚfzkforcibly regenerate the manifest and carry on as usual. Deprecated: now the manifest is always regenerated.)rNz6formats for source distribution (comma-separated list))ú keep-tempÚkz@keep the distribution tree around after creating archive file(s))z dist-dir=ÚdzFdirectory to put the source distribution archive(s) in [default: dist])úmetadata-checkNz[Ensure that all required elements of meta-data are supplied. Warn if any missing. [default])zowner=Úuz@Owner name used when creating a tar file [default: current user])zgroup=ÚgzAGroup name used when creating a tar file [default: current group])r)r+r-r/r1r4z help-formatsNz#list available distribution formatsr)r+)r*r,Úcheck)ÚREADMEz README.txtz README.rstcó¾—d|_d|_d|_d|_d|_d|_dg|_d|_d|_d|_ d|_ d|_ d|_ dS)NérÚgztar) ÚtemplateÚmanifestÚ use_defaultsr+Ú manifest_onlyÚforce_manifestrÚ keep_tempÚdist_dirÚ archive_filesr#ÚownerÚgroupr$s rÚinitialize_optionszsdist.initialize_optionsesl€ðˆŒ ؈Œ ðˆÔ؈Œ àˆÔ؈Ôà�yˆŒ ؈ŒØˆŒ à!ˆÔØˆÔØˆŒ ؈Œ ˆ ˆ rcóâ—|j€d|_|j€d|_| d¦«tj|j¦«}|rt d|z¦«‚|j€ d|_dSdS)NÚMANIFESTz MANIFEST.inrzunknown archive format '%s'Údist)r=r<Úensure_string_listrÚcheck_archive_formatsrrrB)r%Ú bad_formats rÚfinal