0 8 ˆl–ß=¿JJj"Tâ� À¹q¦”ţ 0Áa–ß=¿JJj"Tâ� À¹q¦”Å£Æ  ˆÁà ƒe ‡Â¾Æ S a ´iºã@sDddlZddlmZddlTddlmZdd„ZGdd„deƒZdS) éN)ÚCommand)Ú*)Ú get_platformcCsPddlm}g}tjD]"}| d|dtj|df¡q||ƒ}| d¡dS)Nr)Ú FancyGetoptúformats=éz'List of available distribution formats:)Zdistutils.fancy_getoptrÚbdistÚformat_commandsÚappendÚformat_commandÚ print_help)rÚformatsÚformatZpretty_printer©rú//usr/lib64/python3.9/distutils/command/bdist.pyÚ show_formats s    ÿrc @sˆeZdZdZddddeƒfdddd d gZd gZd d defgZdZ dddœZ gd¢Z ddddddddddœ Z dd„Z dd „Zd!d"„Zd S)#rz$create a built (binary) distribution)z bdist-base=Úbz4temporary directory for creating built distributionsz plat-name=Úpz;platform name to embed in generated filenames (default: %s))rNz/formats for distribution (comma-separated list))z dist-dir=Údz=directory to put final built distributions in [default: dist])ú skip-buildNz2skip rebuilding everything (for testing/debugging))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]rz help-formatsNz$lists available distribution formats)Ú bdist_rpmÚgztarÚzip)ÚposixÚnt) ZrpmrÚbztarÚxztarZztarÚtarZwininstrZmsi)rzRPM distribution)Ú bdist_dumbzgzip'ed tar file)r zbzip2'ed tar file)r zxz'ed tar file)r zcompressed tar file)r ztar file)Z bdist_wininstzWindows executable installer)r zZIP file)Z bdist_msizMicrosoft InstallercCs.d|_d|_d|_d|_d|_d|_d|_dS)Nr)Ú bdist_baseÚ plat_namer Údist_dirÚ skip_buildÚgroupÚowner)ÚselfrrrÚinitialize_optionsQszbdist.initialize_optionscCs²|jdur(|jrtƒ|_n| d¡j|_|jdurT| d¡j}tj |d|j¡|_|  d¡|j duržz|j tj g|_ Wn t yœtdtj ƒ‚Yn0|jdur®d|_dS)NZbuildzbdist.r z;don't know how to create built distributions on platform %sÚdist)r"r$rZget_finalized_commandr!Ú build_baseÚosÚpathÚjoinZensure_string_listr Údefault_formatÚnameÚKeyErrorZDistutilsPlatformErrorr#)r'r*rrrÚfinalize_optionsZs*    ÿ   ÿÿ  zbdist.finalize_optionsc CsÄg}|jD]<}z| |j|d¡Wq tyDtd|ƒ‚Yq 0q tt|jƒƒD]h}||}| |¡}||jvr‚|j||_ |dkrš|j |_ |j |_ |||dd…vr´d|_ |  |¡qVdS)Nrzinvalid format '%s'r r)r r r r0ZDistutilsOptionErrorÚrangeÚlenZreinitialize_commandÚno_format_optionrr&r%Z keep_tempZ run_command)r'ÚcommandsrÚiZcmd_nameZsub_cmdrrrÚrunvs"     z bdist.run)Ú__name__Ú __module__Ú __qualname__Ú descriptionrZ user_optionsZboolean_optionsrZ help_optionsr4r.r r r(r1r7rrrrrsHÿÿñÿÿÿ÷  r)r+Zdistutils.corerZdistutils.errorsZdistutils.utilrrrrrrrÚs    #ˆl–Ým_J22Ž¥@µq§n6%1hßÄ ƒ M»Ã¿Ç±# -*- coding: utf-8 -*- """The optimizer tries to constant fold expressions and modify the AST in place so that it should be faster to evaluate. Because the AST does not contain all the scoping information and the compiler has to find that out, we cannot do all the optimizations we want. For example, loop unrolling doesn't work because unrolled loops would have a different scope. The solution would be a second syntax tree that stored the scoping rules. """ from . import nodes from .visitor import NodeTransformer def optimize(n