PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 131
a hRM@sdZddlmZddlmZddlmZmZddlmZmZm Z m Z ddl m Z m Z ddlmZmZddlmZdd lmZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd lZdd l Z dd l!Z!dd l"Z"dd l#Z#dd l$Z$dd l%Z%dd l&Z&dd l'm(Z(m)Z)dd l*m+Z+dd l*m,Z,ddl-m.Z.ddl/m0Z0ddl1m2Z2ddl3m4Z4m5Z5m6Z6ddl/m7Z7m8Z8ddl9m:Z:ddl;mZ>m?Z?m@Z@mAZAmBZBmCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJdd l;Z;ejKde;jLdgdZMddZNddZOddZPddZQd d!ZRGd"d#d#e,ZSd$d%ZTd&d'ZUd(d)ZVd*d+ZWd,d-ZXGd.d/d/eBZYGd0d1d1eYZZej[\d2d3d4kreZZYd5d6Z]d7d8Z^d9d:Z_d;d<Z`did=d>Zad?d@ZbdAdBZcdCejdvrecZendDdEZedjdGdHZfdIdJZgdKdLZhdMdNZizddOlmjZkWnely&dPdQZkYn0dRdSZjGdTdUdUemZnenoZpGdVdWdWenZqGdXdYdYZrGdZd[d[erZsGd\d]d]esZterjuZuerjvZvd^d_Zwd`daZxdbe^fdcddZydedfZzGdgdhdhe+Z{d S)ka% Easy Install ------------ A tool for doing automatic download/extract/build of distutils-based Python packages. For detailed documentation, see the accompanying EasyInstall.txt file, or visit the `EasyInstall home page`__. __ https://setuptools.readthedocs.io/en/latest/easy_install.html )glob) get_platform) convert_path subst_vars)DistutilsArgErrorDistutilsOptionErrorDistutilsErrorDistutilsPlatformError)INSTALL_SCHEMES SCHEME_KEYS)logdir_util) first_line_re)find_executableN)get_config_varsget_path)SetuptoolsDeprecationWarning)Command) run_setup)setopt)unpack_archive) PackageIndexparse_requirement_arg URL_SCHEME) bdist_eggegg_info)Wheel) yield_linesnormalize_pathresource_stringensure_directoryget_distributionfind_distributions Environment Requirement Distribution PathMetadata EggMetadata WorkingSetDistributionNotFoundVersionConflict DEVELOP_DISTdefault)category)samefile easy_installPthDistributionsextract_wininst_cfgget_exe_prefixescCstddkS)NP)structcalcsizer7r7C/usr/lib/python3.9/site-packages/setuptools/command/easy_install.pyis_64bitJsr9cCsjtj|otj|}ttjdo&|}|r:tj||Stjtj|}tjtj|}||kS)z Determine if two paths reference the same file. Augments os.path.samefile to work on Windows and suppresses errors if the path doesn't exist. r.)ospathexistshasattrr.normpathnormcase)Zp1Zp2Z both_existZ use_samefileZnorm_p1Znorm_p2r7r7r8r.Nsr.cCs |dS)Nutf8)encodesr7r7r8 _to_bytes^srDcCs*z|dWdSty$YdS0dS)NasciiTF)rA UnicodeErrorrBr7r7r8isasciibs   rGcCst|ddS)N z; )textwrapdedentstripreplace)textr7r7r8 _one_linerjsrNc@sxeZdZdZdZdZdddddd d d d d ddddddddddddddejfgZgdZ ddiZ e Z dd Z d!d"Zd#d$Zed%d&Zd'd(Zd)d*Zd+d,Zd-d.Zd/d0Zdd1d2Zd3d4Zd5d6Zd7d8Zed9Zed:Zed;Z dd?Z"d@dAZ#dBdCZ$dDdEZ%dFdGZ&e'j(dHdIZ)ddKdLZ*ddMdNZ+dOdPZ,ddQdRZ-dSdTZ.dUdVZ/dWdXZ0ddYdZZ1ed[d\Z2dd_d`Z3dadbZ4dcddZ5dedfZ6dgdhZ7didjZ8dkdlZ9edmZ:ednZ;ddpdqZdudvZ?dwdxZ@dydzZAd{d|ZBd}d~ZCddZDddZEedFZGddZHeIeIddddZJeIdddZKddZLdS)r/z'Manage a download/build/install processz Find/get/install Python packagesT)zprefix=Nzinstallation prefix)zip-okzzinstall package as a zipfile) multi-versionmz%make apps have to require() a version)upgradeUz1force upgrade (searches PyPI for latest versions))z install-dir=dzinstall package to DIR)z script-dir=rCzinstall scripts to DIR)exclude-scriptsxzDon't install scripts) always-copyaz'Copy all needed packages to install dir)z index-url=iz base URL of Python Package Index)z find-links=fz(additional URL(s) to search for packages)zbuild-directory=bz/download/extract/build in DIR; keep the results)z optimize=Ozlalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0])zrecord=Nz3filename in which to record list of installed files) always-unzipZz*don't install as a zipfile, no matter what)z site-dirs=Sz)list of directories where .pth files work)editableez+Install specified packages in editable form)no-depsNzdon't install dependencies)z allow-hosts=Hz$pattern(s) that hostnames must match)local-snapshots-oklz(allow building eggs from local checkouts)versionNz"print version information and exit)z no-find-linksNz9Don't load find-links defined in packages being installeduserNz!install in user site-package '%s') rOrQrVrSrXrarcrfrhrir^rOcCs&d|_d|_|_d|_|_|_d|_d|_d|_d|_ d|_ |_ d|_ |_ |_d|_|_|_d|_|_|_d|_d|_d|_d|_d|_d|_d|_d|_d|_tjrtj |_!tj"|_#n d|_!d|_#d|_$d|_%d|_&|_'d|_(i|_)d|_*|j+j,|_,|j+-||j+.ddS)Nrr/)/rizip_oklocal_snapshots_ok install_dir script_direxclude_scripts index_url find_linksbuild_directoryargsoptimizerecordrS always_copy multi_versionrano_deps allow_hostsrootprefix no_reportrhinstall_purelibinstall_platlibinstall_headers install_libinstall_scripts install_data install_baseinstall_platbasesiteENABLE_USER_SITE USER_BASEinstall_userbase USER_SITEinstall_usersite no_find_links package_indexpth_filealways_copy_from site_dirsinstalled_projectsZ_dry_run distributionverboseZ_set_command_optionsget_option_dictselfr7r7r8initialize_optionssF      zeasy_install.initialize_optionscCs"dd|D}tt|j|dS)Ncss*|]"}tj|stj|r|VqdSN)r:r;r<islink).0filenamer7r7r8 sz/easy_install.delete_blockers..)listmap _delete_path)rblockersZextant_blockersr7r7r8delete_blockersszeasy_install.delete_blockerscCsJtd||jrdStj|o.tj| }|r8tntj}||dS)Nz Deleting %s) r infodry_runr:r;isdirrrmtreeunlink)rr;Zis_treeZremoverr7r7r8rs  zeasy_install._delete_pathcCs8djtj}td}d}t|jfittdS)zT Render the Setuptools version and installation details, then exit. {}.{} setuptoolsz=setuptools {dist.version} from {dist.location} (Python {ver})N)formatsys version_infor!printlocals SystemExit)Zverdisttmplr7r7r8_render_versions  zeasy_install._render_versionc Cs|jo |tjd}tdd\}}|j|j|j||dd|d|d||||t tddd |_ t j r|j |j d <|j|j d <n|jrtd ||||d d dd|jdur|j|_|jdurd|_|dd|dd|jr(|jr(|j|_|j|_|ddtttj}t|_ |j!durdd|j!dD}|D]N}t"j#|std|n,t||vrt$|dn|j %t|qn|j&s|'|j(pd|_(|j dd|_)|jt|jfD] }||j)vr|j)*d|q|j+durBdd|j+dD}ndg}|j,durj|j-|j(|j)|d|_,t.|j)tj|_/|j0durt1|j0t2r|j0|_0ng|_0|j3r|j,4|j)tj|js|j,5|j0|dd t1|j6t7sXz0t7|j6|_6d|j6krdks$nt8Wn0t8yV} zt$d!| WYd} ~ n d} ~ 00|j&rp|j9spt:d"|j;st:d#g|_'sz1easy_install.finalize_options..,z"%s (in --site-dirs) does not existz$ (in --site-dirs) is not on sys.pathzhttps://pypi.org/simple/cSsg|] }|qSr7)rKrr7r7r8r=*) search_pathhosts)rsrsz--optimize must be 0, 1, or 2z9Must specify a build directory (-b) when using --editablez:No urls, filenames, or requirements specified (see --help))=rhrrsplitrrZget_nameZ get_versionZ get_fullnamegetattr config_varsrrrrrir warn_fix_install_dir_for_user_siteexpand_basedirs expand_dirs_expandrmrlrZset_undefined_optionsr|rrrr; get_site_dirs all_site_dirsrr:rrappendracheck_site_dirro shadow_pathinsertrxr create_indexr# local_indexrp isinstancestrrkZscan_egg_linksadd_find_linksrsint ValueErrorrqrrroutputs) rrrzrr>rrU path_itemrrbr7r7r8finalize_optionss                 zeasy_install.finalize_optionscCs\|jr tjsdS||jdur.d}t||j|_|_tj ddd}| |dS)z; Fix the install_dir if "--user" was used. Nz$User base directory is not specifiedposixZunix_user) rirrcreate_home_pathrr rrr:namerL select_scheme)rmsgZ scheme_namer7r7r8rds  z+easy_install._fix_install_dir_for_user_sitecCsX|D]N}t||}|durtjdks.tjdkr:tj|}t||j}t|||qdS)Nrnt)rr:rr;rrrsetattr)rattrsattrvalr7r7r8 _expand_attrsss   zeasy_install._expand_attrscCs|gddS)zNCalls `os.path.expanduser` on install_base, install_platbase and root.)rrryNrrr7r7r8r|szeasy_install.expand_basedirscCsgd}||dS)z+Calls `os.path.expanduser` on install dirs.)r|r}rr~rrNr)rdirsr7r7r8rszeasy_install.expand_dirsc Cs|r|dtj|j|jjkr,t|jz|jD]}|||j q4|j r|j }|j rt |j }t t |D]}|||d||<qrddlm}||j|j |fd|j |Wt|jjnt|jj0dS)NzXWARNING: The easy_install command is deprecated and will be removed in a future version.r) file_utilz'writing list of installed files to '%s')Zannouncer ZWARNrr set_verbosityrrr/rwrtrrylenrange distutilsrexecuteZ write_filewarn_deprecated_options)rZshow_deprecationspecrZroot_lenZcounterrr7r7r8runs2      zeasy_install.runcCsBz t}Wn ty,tdtj}Yn0tj|j d|S)zReturn a pseudo-tempname base in the install directory. This code is intentionally naive; if a malicious party can write to the target directory you're already in deep doodoo. rztest-easy-install-%s) r:getpid ExceptionrandomZrandintrmaxsizer;joinrl)rpidr7r7r8pseudo_tempnames   zeasy_install.pseudo_tempnamecCsdSrr7rr7r7r8rsz$easy_install.warn_deprecated_optionsc CsJt|j}tj|d}tj|sRzt|WnttfyP| Yn0||j v}|sp|j sp| }nb| d}tj|}z*|rt|t|dt|Wnttfy| Yn0|s|j stjdd}t|j|j||r|jdur$t||j |_nd|_|j r@tj|s@d|_||_dS)z;Verify that self.install_dir is .pth-capable dir, if neededeasy-install.pthz .write-testw PYTHONPATHrN)rrlr:r;rr<makedirsOSErrorIOErrorcant_write_to_targetrrvcheck_pth_processingrropencloseenvirongetr r_easy_install__no_default_msgrr0)rinstdirrZ is_site_dirZtestfileZ test_existsZ pythonpathr7r7r8rs:          zeasy_install.check_site_diraS can't create or remove files in install directory The following error occurred while trying to add or remove files in the installation directory: %s The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: %s z This directory does not currently exist. Please create it and try again, or choose a different installation directory (using the -d or --install-dir option). a Perhaps your account does not have write access to this directory? If the installation directory is a system-owned directory, you may need to sign in as the administrator or "root" account. If you do not have administrative access to this machine, you may wish to choose a different installation directory, preferably one that is listed in your PYTHONPATH environment variable. For information on other options, you may wish to consult the documentation at: https://setuptools.readthedocs.io/en/latest/easy_install.html Please make the appropriate changes for your system and try again. cCsP|jtd|jf}tj|js6|d|j7}n|d|j7}t |dS)NrH) _easy_install__cant_write_msgrexc_inforlr:r;r<_easy_install__not_exists_id_easy_install__access_msgr)rrr7r7r8r s z!easy_install.cant_write_to_targetc Cs(|j}td||d}|d}tj|}tdd}z6|rNt|tj |}tj |ddt |d}Wn t t fy|Yn|0z6||jfit|d }tj}tjd krtj|\}} tj|d } | d kotj| } | r| }d dlm} | |dddgd tj|rtd|W|rZ|tj|rrt|tj|rt|dSW|r|tj|rt|tj|rt|n@|r|tj|rt|tj|rt|0|js$td|dS)z@Empirically verify whether .pth files are supported in inst. dirz Checking .pth file support in %s.pthz.okzz import os f = open({ok_file!r}, 'w') f.write('OK') f.close() rHT)exist_okrNr pythonw.exe python.exer)spawnz-Ez-cpassz-TEST PASSED: %s appears to support .pth filesz+TEST FAILED: %s does NOT support .pth filesF)rlr rrr:r;r<rNrdirnamerrrrrwriterrrr executablerrrlowerdistutils.spawnrrvr) rrrZok_fileZ ok_existsrrr[rbasenameZaltZuse_altrr7r7r8rsv               z!easy_install.check_pth_processingc CsV|jsH|drH|dD],}|d|r.q||||d|q||dS)z=Write all the scripts for `dist`, unless scripts are excludedscriptszscripts/N)rnZmetadata_isdirZmetadata_listdirinstall_scriptZ get_metadatainstall_wrapper_scripts)rr script_namer7r7r8install_egg_scriptsMs z easy_install.install_egg_scriptscCsTtj|rDt|D]*\}}}|D]}|jtj||q$qn |j|dSr)r:r;rwalkrrr)rr;baserfilesrr7r7r8 add_output[s  zeasy_install.add_outputcCs|jrtd|fdS)NzjInvalid argument %r: you can't use filenames or URLs with --editable (except via the --find-links option).)rarrrr7r7r8 not_editablecs zeasy_install.not_editablecCs<|js dStjtj|j|jr8td|j|jfdS)Nz2%r already exists in %s; can't do a checkout there)rar:r;r<rrqkeyrrr7r7r8check_editableks zeasy_install.check_editablec csJtjdd}z"t|VWtj|o,t|ntj|oBt|0dS)Nz easy_install-)rz)tempfilemkdtemprr:r;r<r)rtmpdirr7r7r8_tmpdirus  zeasy_install._tmpdirFc CsX|8}t|tst|rV|||j||}|d|||dWdStj |r|||d|||dWdSt |}| ||j |||j|j|j |j}|durd|}|jr|d7}t|nN|jtkr||||d|WdS|||j||WdSWdn1sJ0YdS)NTz+Could not find suitable distribution for %rz2 (--always-copy skips system and development eggs)Using)r&rr$rr rdownload install_itemr:r;r<rr"Zfetch_distributionrSrarurrZ precedencer+process_distributionlocation)rrdepsr%dlrrr7r7r8r/~s0            zeasy_install.easy_installcCs |p|j}|ptj||k}|p,|d }|pT|jduoTtjt|t|jk}|r|s|j|jD]}|j |krjqqjd}t dtj ||r| |||}|D]}||||qn ||g}|||d|d|dur|D]}||vr|SqdS)N.eggTz Processing %srr')rur:r;rendswithrrr project_namer+r rr install_eggsr*egg_distribution)rrr(r%r,Zinstall_neededrZdistsr7r7r8r)s2     zeasy_install.install_itemcCs<t|}tD]*}d|}t||dur t||||q dS)z=Sets the install directories by applying the install schemes.Zinstall_N)r r rr)rrschemer!attrnamer7r7r8rs zeasy_install.select_schemec Gs|||j|||j|jvr2|j||j|||||j|j<t |j ||g|R| dr|j s|j |d|s|jsdS|dur|j|jkrtd|dS|dus||vr|}tt|}t d|ztg|g|j|j}WnftyB}ztt||WYd}~n.zInstalling %s script to %sNri)rr rrmr:r;rrr current_umaskr r<rrrchmod)rrrEmodertargetmaskr[r7rr8rJ5s   (zeasy_install.write_scriptc CsR|j|j|jd}z||dd}Wnty<Yn0|||gS|}tj|rt|dstt |||j ntj |rtj |}| |r|jr|dur||||}tj|d}tj|s$ttj|dd}|stdtj |t|dkrtdtj ||d }|jrBt|||gS|||SdS) N)r..exez.whl.pyzsetup.pyrz"Couldn't find a setup script in %srzMultiple setup scripts in %sr) install_egg install_exe install_wheelrKeyErrorr:r;isfiler/runpack_progressrabspath startswithrqrFrr<rrrrar rreport_editablebuild_and_install) rrrBr%Z installer_mapZ install_distrC setup_scriptZsetupsr7r7r8r1IsT       zeasy_install.install_eggscCs>tj|r"t|tj|d}ntt|}tj ||dS)NEGG-INFO)metadata) r:r;rr&rr' zipimport zipimporterr%Z from_filename)regg_pathrir7r7r8r2|s   zeasy_install.egg_distributionc Cstj|jtj|}tj|}|js2t|||}t ||sxtj |rrtj |srt j ||jdn"tj|r|tj|fd|zd}tj |r||rtjd}}n tjd}}nL||r|||jd}}n*d}||r tjd}}n tjd}}||||f|dtj|tj|ft||d Wn"tyvt|dd Yn0||||S) Nr Removing FZMovingZCopyingZ ExtractingTz %s to %sfix_zipimporter_caches)r:r;rrlrrcrr r2r.rrr remove_treer<rrrdr@rAcopytreer>Zmkpathunpack_and_compilecopy2rupdate_dist_cachesrr)rrlr% destinationrZnew_dist_is_zippedr[rRr7r7r8r]s^                zeasy_install.install_eggc sPt|}|durtd|td|dd|ddtd}tj||d}||_ |d}tj|d}tj|d }t |t |||_ | ||tj|st|d } | d |dD].\} } | d kr| d | dd| fq| tj|d|fddt|Dtj|||j|jd|||S)Nz(%s is not a valid distutils Windows .exerirrh)r0rhplatformr.z.tmprhPKG-INFOrzMetadata-Version: 1.0 target_versionz%s: %s _-rcsg|]}tj|dqS)r)r:r;r)rrrrmr7r8rsz,easy_install.install_exe..)rr)r1rr%rrr:r;regg_namer+r r&Z _provider exe_to_eggr<rritemsrLtitlerrrGrIrZ make_zipfilerrr]) rrBr%cfgrrlegg_tmpZ _egg_infoZpkg_infr[kvr7r|r8r^sB       zeasy_install.install_exec s8t|ggifdd}t||g}D]n}|dr<|d}|d}t|dd|d<tjj g|R} || |t ||q<| t tj dt|dD]Z} t| rtj d| d } tj| st| d } | d t| d | qd S) z;Extract a bdist_wininst to the directories an egg would usecs|}D]\}}||r ||t|d}|d}tjjg|R}|}|dsl|drt |d|d<dtj |dd< |n4|dr|dkrdtj |dd< ||Sq |d st d |dS) N/.pyd.dllrrr\SCRIPTS/r zWARNING: can't process %s)rrdrrr:r;rr/r strip_modulesplitextrr r)srcrDrColdnewpartsr-r native_libsprefixes to_compile top_levelr7r8processs$        z(easy_install.exe_to_egg..processrrrr\rh)rrz.txtrrHN)r2rrr/rrrr:r;rrZ write_stub byte_compileZwrite_safety_flagZ analyze_eggrr<rrr) rrBrrZstubsresrresourceZpyfilerZtxtr[r7rr8r~s8          zeasy_install.exe_to_eggc Cst|}tj|j|}tj|}|js6t|tj |r`tj |s`t j ||jdn"tj |r|tj|fd|z:||j|fdtj|tj|fWt|ddnt|dd0||||S)NrmrnzInstalling %s to %sFro)rr:r;rrlr}rcrr rrr rqr<rrZinstall_as_eggrrrurr2)rZ wheel_pathr%Zwheelrvr7r7r8r_s2      zeasy_install.install_wheela( Because this distribution was installed --multi-version, before you can import modules from this package in an application, you will need to 'import pkg_resources' and then use a 'require()' call similar to one of these examples, in order to select the desired version: pkg_resources.require("%(name)s") # latest installed version pkg_resources.require("%(name)s==%(version)s") # this exact version pkg_resources.require("%(name)s>=%(version)s") # this version or higher z Note also that the installation directory must be on sys.path at runtime for this to work. (e.g. by being the application's script directory, by being on PYTHONPATH, or by being added to sys.path by your code.) Installedc Cs^d}|jr>|js>|d|j7}|jtttjvr>|d|j7}|j }|j }|j }d}|t S)z9Helpful installation message for display to package usersz %(what)s %(eggloc)s%(extras)srHr) rvr{_easy_install__mv_warningrlrrrr;_easy_install__id_warningr+r0rhr) rZreqrZwhatrZegglocrrhextrasr7r7r8r8Ls z easy_install.installation_reportaR Extracted editable version of %(spec)s to %(dirname)s If it uses setuptools in its setup script, you can activate it in "development" mode by going to that directory and running:: %(python)s setup.py develop See the setuptools documentation for the "develop" command for more info. cCs"tj|}tj}d|jtS)NrH)r:r;rrr_easy_install__editable_msgr)rrrgrpythonr7r7r8rees zeasy_install.report_editablec Cstjdttjdtt|}|jdkrNd|jd}|dd|n|jdkrd|dd|jrv|dd t d |t |ddd |zt ||Wn:ty}z"td |jdf|WYd}~n d}~00dS) Nzdistutils.command.bdist_eggzdistutils.command.egg_inforrrrr{z-qz-nz Running %s %s zSetup script exited with %s)rmodules setdefaultrrrrrrr rrrrrrrr)rrgrCrrrr7r7r8rjs*    zeasy_install.run_setupc Csddg}tjdtj|d}z|tj|||||||t|g}g}|D]&}||D]}|| |j |qhq\|s|j st d||Wt|t |jSt|t |j0dS)Nrz --dist-dirz egg-dist-tmp-)rzdirz+No eggs found in %s (setup script problem?))r#r$r:r;r_set_fetcher_optionsrrr#r]r+rr rrrr) rrgrCrrZdist_dirZall_eggsZeggsr!rr7r7r8rfs2      zeasy_install.build_and_installc Csp|jd}d}i}|D]&\}}||vr2q |d||dd<q t|d}tj|d}t ||dS) a When easy_install is about to run bdist_egg on a source dist, that source dist might have 'setup_requires' directives, requiring additional fetching. Ensure the fetcher options given to easy_install are available to that command as well. r/)rprrorsrxrrzr{)r/z setup.cfgN) rrcopyrrLdictr:r;rrZ edit_config) rrZei_optsZfetch_directivesZ fetch_optionsr!rZsettingsZ cfg_filenamer7r7r8rs  z!easy_install._set_fetcher_optionscCsL|jdurdS|j|jD]J}|js2|j|jkr2qtd||j||j|jvr|j|jq|js|j|jjvrtd|n2td||j ||j|jvr|j |j|j rdS|j |jdkrdSt j|jd}t j|rt |t|d(}||j|jdWdn1s>0YdS)Nz&Removing %s from easy-install.pth filez4%s is already the active version in easy-install.pthz"Adding %s to easy-install.pth filersetuptools.pthwtrH)rr!rvr+r rr7rpathsr6rrsaver:r;rrlrrrr make_relative)rrrUrr[r7r7r8r5s:           zeasy_install.update_pthcCstd|||S)NzUnpacking %s to %s)r debug)rrrDr7r7r8rbszeasy_install.unpack_progresscsdggfdd}t|||js`D]&}t|tjdBd@}t||q8dS)NcsZ|dr |ds |n|ds4|dr>|||j rV|pXdS)Nr\ EGG-INFO/rz.so)r/rdrrbr)rrDrZto_chmodrr7r8pfs    z+easy_install.unpack_and_compile..pfimi)rrrr:statST_MODErV)rrlrvrr[rWr7rr8rss  zeasy_install.unpack_and_compilec Csvtjr dSddlm}zLt|jd||dd|jd|jrT|||jd|jdWt|jnt|j0dS)Nr)rr)rsforcer) rdont_write_bytecodedistutils.utilrr rrrrs)rrrr7r7r8rs zeasy_install.byte_compilea bad install directory or PYTHONPATH You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: %s and your PYTHONPATH environment variable currently contains: %r Here are some of your options for correcting the problem: * You can choose a different installation directory, i.e., one that is on PYTHONPATH or supports .pth files * You can add the installation directory to the PYTHONPATH environment variable. (It must then also be on PYTHONPATH whenever you run Python and want to use the package(s) you are installing.) * You can set up the installation directory to support ".pth" files by using one of the approaches described here: https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations Please make the appropriate changes for your system and try again. cCsb|js dSttjd}|jD]8\}}||r$tj|s$| d|t |dq$dS)zCreate directories under ~.N~zos.makedirs('%s', 0o700)i) rirr:r;rrrrdrZ debug_printr)rhomerr;r7r7r8r#szeasy_install.create_home_pathz/$base/lib/python$py_version_short/site-packagesz $base/binrrz$base/Lib/site-packagesz $base/ScriptscGs|dj}|jrd|}|j|d<|jtj|j}| D]$\}}t ||ddur>t |||q>ddl m }|D]B}t ||}|durt|||}tjdkrtj|}t |||qtdS)Nrrr)rr)Zget_finalized_commandrrzrr rr:rDEFAULT_SCHEMErrrrrr;r)rrrr3rrrr7r7r8r9s        zeasy_install._expand)T)F)F)T)N)rSr7)r)M__name__ __module__ __qualname____doc__ descriptionZcommand_consumes_argumentsrrZ user_optionsZboolean_optionsZ negative_optrrrrr staticmethodrrrrrrrrrrrIrJlstriprrr rrrrr r" contextlibcontextmanagerr&r/r)rr*r>rFrrrLrJr1r2r]r^r~r_rrr8rrerrfrr5rbrsrrKrrrr rrr7r7r7r8r/ns/     - ;   ! $ )    3 6.5   )  r/cCs tjddtj}td|S)Nrr)r:rrrpathsepfilter)rr7r7r8 _pythonpathPsrc sgttjg}tjtjkr0|tj|D]}|s>q4tjdvr`tj |ddnVtj dkrtj |ddj tj dtj |ddgn|tj |ddgtjdkrq4d |vrq4tj d }|sq4tj |d d d j tj d}|q4tdtdf}fdd|DtjrBtjtttWdn1sr0YtttS)z& Return a list of 'site' dirs )Zos2emxZriscosZLibz site-packagesrlibz python{}.{}z site-pythondarwinzPython.frameworkHOMELibraryPythonrZpurelibZplatlibc3s|]}|vr|VqdSrr7rsitedirsr7r8rrz get_site_dirs..N)extendrrrzrrrwr:r;rseprrrrrrrrrsuppressAttributeErrorgetsitepackagesrrr)rrzrZhome_spZ lib_pathsr7rr8rUs^             .rccsi}|D]}t|}||vrqd||<tj|s4qt|}||fV|D]}|ds\qL|dvrfqLttj||}tt |}| |D]L}| drqt| }||vrqd||<tj|sq|t|fVqqLqdS)zBYield sys.path directories that might contain "old-style" packagesrr )rrimportN) rr:r;rr?r/rrrrrrdrstrip)Zinputsseenrrrr[linesliner7r7r8 expand_pathss8        rc Cs`t|d}zDt|}|dur.W|dS|d|d|d}|dkr\W|dS||dtd|d\}}}|dvrW|dS||d|d d d }t |}z<||} | d d d } | t } |t| Wn"tjyYW|dS0|dr6|dsDW|dS|W|S|0dS)znExtract configuration data from a bdist_wininst .exe Returns a configparser.RawConfigParser, or None rbN  zegg path translations for a given .exe file))zPURELIB/r)zPLATLIB/pywin32_system32r)zPLATLIB/r)rzEGG-INFO/scripts/)zDATA/lib/site-packagesrrrrrxrz .egg-inforNrr z -nspkg.pth)ZPURELIBZPLATLIB\rz%s/%s/rcSsg|]\}}||fqSr7)r)rrWyr7r7r8rrz$get_exe_prefixes..)rZipFileinfolistrrrr/rrupperrrRrrKrLrdrrsortreverse)Z exe_filenamerrPrrrrEZpthr7r7r8r2s2       r2c@sReZdZdZdZdddZddZdd Zed d Z d d Z ddZ ddZ dS)r0z)A .pth file with Distribution paths in itFr7cCsl||_ttt||_ttj|j|_| t |gddt |j D]}tt|jt|dqLdS)NT)rrrrrr:r;rbasedir_loadr#__init__rrr6r")rrrr;r7r7r8rszPthDistributions.__init__cCsg|_d}t|j}tj|jrt|jd}|D]}| drHd}q4| }|j || r4| drtq4t tj|j|}|jd<tj|r||vr|jd|_q4d||<q4||jr|sd|_|jr|jd s|jqdS)NFZrtrT#rr)rrfromkeysrr:r;rarrrdrrrKrrrr<popdirtyr)rZ saw_importrr[rr;r7r7r8r%s4       zPthDistributions._loadcCs|js dStt|j|j}|rtd|j||}d |d}t j |jr`t |jt|jd}||Wdq1s0Yn(t j |jrtd|jt |jd|_dS)z$Write changed .pth file back to diskNz Saving %srHrzDeleting empty %sF)rrrrrr rr _wrap_linesrr:r;rrrrr<)rZ rel_pathsrdatar[r7r7r8rDs  * zPthDistributions.savecCs|Srr7)rr7r7r8rZszPthDistributions._wrap_linescCsN|j|jvo$|j|jvp$|jtk}|r>|j|jd|_t||dS)z"Add `dist` to the distribution mapTN) r+rrr:getcwdrrr#r6)rrnew_pathr7r7r8r6^s   zPthDistributions.addcCs2|j|jvr"|j|jd|_qt||dS)z'Remove `dist` from the distribution mapTN)r+rr7rr#r=r7r7r8r7ls zPthDistributions.removecCstjt|\}}t|j}|g}tjdkr2dp6tj}t||kr||jkrl|tj | | |Stj|\}}||q8|S)Nr) r:r;rrrraltseprrcurdirrr)rr;ZnpathlastZbaselenrrr7r7r8rss      zPthDistributions.make_relativeN)r7) rrrrrrrrrrr6r7rr7r7r7r8r0s  r0c@s(eZdZeddZedZedZdS)RewritePthDistributionsccs$|jV|D] }|Vq |jVdSr)preludepostlude)clsrrr7r7r8rsz#RewritePthDistributions._wrap_linesz? import sys sys.__plen = len(sys.path) z import sys new = sys.path[sys.__plen:] del sys.path[sys.__plen:] p = getattr(sys, '__egginsert', 0) sys.path[p:p] = new sys.__egginsert = p + len(new) N)rrr classmethodrrNrrr7r7r7r8rs rZSETUPTOOLS_SYS_PATH_TECHNIQUErawZrewritecCs ttjtrtSttjS)z_ Return a regular expression based on first_line_re suitable for matching strings. )rrpatternrrecompilerRr7r7r7r8_first_line_res rcCs\|tjtjfvr.tjdkr.t|tj||St\}}}|d|dd||ffdS)Nrrrz %s %s) r:rr7rrVrS_IWRITErr)funcargexcetZevrzr7r7r8 auto_chmods  r cCs.t|}t|tj|r"t|nt|dS)aa Fix any globally cached `dist_path` related data `dist_path` should be a path of a newly installed egg distribution (zipped or unzipped). sys.path_importer_cache contains finder objects that have been cached when importing data from the original distribution. Any such finders need to be cleared since the replacement distribution might be packaged differently, e.g. a zipped egg distribution might get replaced with an unzipped egg folder or vice versa. Having the old finders cached may then cause Python to attempt loading modules from the replacement distribution using an incorrect loader. zipimport.zipimporter objects are Python loaders charged with importing data packaged inside zip archives. If stale loaders referencing the original distribution, are left behind, they can fail to load modules from the replacement distribution. E.g. if an old zipimport.zipimporter instance is used to load data from a new zipped egg archive, it may cause the operation to attempt to locate the requested data in the wrong location - one indicated by the original distribution's zip archive directory information. Such an operation may then fail outright, e.g. report having read a 'bad local file header', or even worse, it may fail silently & return invalid data. zipimport._zip_directory_cache contains cached zip archive directory information for all existing zipimport.zipimporter instances and all such instances connected to the same archive share the same cached directory information. If asked, and the underlying Python implementation allows it, we can fix all existing zipimport.zipimporter instances instead of having to track them down and remove them one by one, by updating their shared cached zip archive directory information. This, of course, assumes that the replacement distribution is packaged as a zipped egg. If not asked to fix existing zipimport.zipimporter instances, we still do our best to clear any remaining zipimport.zipimporter related cached data that might somehow later get used when attempting to load data from the new distribution and thus cause such load operations to fail. Note that when tracking down such remaining stale data, we can not catch every conceivable usage from here, and we clear only those that we know of and have found to cause problems if left alive. Any remaining caches should be updated by whomever is in charge of maintaining them, i.e. they should be ready to handle us replacing their zip archives with new distributions at runtime. N)r_uncacherpath_importer_cache!_replace_zip_directory_cache_data*_remove_and_clear_zip_directory_cache_data)Z dist_pathrpnormalized_pathr7r7r8rus <  rucCsPg}t|}|D]:}t|}||r|||dtjdfvr||q|S)ap Return zipimporter cache entry keys related to a given normalized path. Alternative path spellings (e.g. those using different character case or those using alternative path separators) related to the same path are included. Any sub-path entries are included as well, i.e. those corresponding to zip archives embedded in other zip archives. rr)rrrdr:rr)rcacheresult prefix_lenpZnpr7r7r8"_collect_zipimporter_cache_entriess   rcCs@t||D]0}||}||=|o(|||}|dur |||<q dS)a Update zipimporter cache data for a given normalized path. Any sub-path entries are processed as well, i.e. those corresponding to zip archives embedded in other zip archives. Given updater is a callable taking a cache entry key and the original entry (after already removing the entry from the cache), and expected to update the entry and possibly return a new one to be inserted in its place. Returning None indicates that the entry should not be replaced with a new one. If no updater is given, the cache entries are simply removed without any additional processing, the same as if the updater simply returned None. N)r)rrupdaterr old_entryZ new_entryr7r7r8_update_zipimporter_caches  rcCst||dSr)r)rrr7r7r8r 8sr cCsdd}t|tj|ddS)NcSs |dSr)clearr;rr7r7r82clear_and_remove_cached_zip_archive_directory_data=szf_remove_and_clear_zip_directory_cache_data..clear_and_remove_cached_zip_archive_directory_datarrrj_zip_directory_cache)rrr7r7r8r<s rZ__pypy__cCsdd}t|tj|ddS)NcSs&|t||tj||Sr)rrjrkupdaterrr7r7r8)replace_cached_zip_archive_directory_dataSs zT_replace_zip_directory_cache_data..replace_cached_zip_archive_directory_datarr)rr!r7r7r8rRs  rc Cs2zt||dWnttfy(YdS0dSdS)z%Is this string a valid Python script?execFTN)r SyntaxError TypeError)rMrr7r7r8 is_pythones r&c Cs`zrrrr)rZ_defaultr7r7r8_sys_executableszCommandSpec._sys_executablecCs:t||r|St|tr ||S|dur0|S||S)zg Construct a CommandSpec from a parameter to build_scripts, which may be None. N)rrfrom_environment from_string)rZparamr7r7r8 from_params  zCommandSpec.from_paramcCs||gSr)r7r5r7r7r8r8szCommandSpec.from_environmentcCstj|fi|j}||S)z} Construct a command spec from a simple string representing a command line parseable by shlex.split. )shlexr split_args)rstringrr7r7r8r9szCommandSpec.from_stringcCs8t|||_t|}t|s4dg|jdd<dS)Nz-xr)r;r_extract_optionsoptionsr-r.rG)rrNcmdliner7r7r8install_optionss zCommandSpec.install_optionscCs:|dd}t|}|r.|dp0dnd}|S)zH Extract any options from the first line of the script. rHrrr)r1rmatchgrouprK)Z orig_scriptfirstrBr?r7r7r8r>s zCommandSpec._extract_optionscCs||t|jSr)_renderrr?rr7r7r8 as_headerszCommandSpec.as_headercCs6d}|D](}||r||r|ddSq|S)Nz"'rr)rdr/)itemZ_QUOTESqr7r7r8 _strip_quotess zCommandSpec._strip_quotescCs tdd|D}d|dS)Ncss|]}t|VqdSr)r4rIrK)rrGr7r7r8rsz&CommandSpec._render..r(rHr,)rr@r7r7r8rEs zCommandSpec._renderN)rrrrr?rr<rrHr7r:r8r9rArr>rFrIrEr7r7r7r8r4s*       r4c@seZdZeddZdS)WindowsCommandSpecFrN)rrrrr<r7r7r7r8rJsrJc@seZdZdZedZeZ e dddZ e dddZ e dd d Z ed d Ze d dZe ddZe ddZe dddZdS)rGz` Encapsulates behavior around writing entry point scripts for console and gui apps. aJ # EASY-INSTALL-ENTRY-SCRIPT: %(spec)r,%(group)r,%(name)r import re import sys # for compatibility with easy_install; see #2198 __requires__ = %(spec)r try: from importlib.metadata import distribution except ImportError: try: from importlib_metadata import distribution except ImportError: from pkg_resources import load_entry_point def importlib_load_entry_point(spec, group, name): dist_name, _, _ = spec.partition('==') matches = ( entry_point for entry_point in distribution(dist_name).entry_points if entry_point.group == group and entry_point.name == name ) return next(matches).load() globals().setdefault('load_entry_point', importlib_load_entry_point) if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(load_entry_point(%(spec)r, %(group)r, %(name)r)()) NFcCs6tdt|rtnt}|d||}|||S)Nz Use get_argsr)warningsrEasyInstallDeprecationWarningWindowsScriptWriterrGrHget_script_headerrI)rrrwininstwriterheaderr7r7r8get_script_args"s zScriptWriter.get_script_argscCs$tjdtdd|rd}|||S)NzUse get_headerr) stacklevelr )rKrrLrM)rrNrrOr7r7r8rN*s zScriptWriter.get_script_headerc cs|dur|}t|}dD]Z}|d}||D]>\}}|||jt}|||||} | D] } | Vqlq:q dS)z Yield write_script() argument tuples for a distribution's console_scripts and gui_scripts entry points. NZconsoleguiZ_scripts) rMrr:Z get_entry_mapr_ensure_safe_nametemplater_get_script_args) rrrQrtype_rCrZeprNrrrr7r7r8rI3s   zScriptWriter.get_argscCstd|}|rtddS)z? Prevent paths in *_scripts entry point names. z[\\/]z+Path separators not allowed in script namesN)rsearchr)rZ has_path_sepr7r7r8rVEs zScriptWriter._ensure_safe_namecCs tdt|rtS|SNzUse best)rKrrLrMrH)rZ force_windowsr7r7r8 get_writerNs zScriptWriter.get_writercCs.tjdkstjdkr&tjdkr&tS|SdS)zD Select the best ScriptWriter for this environment. win32javarN)rrwr:r_namerMrHr5r7r7r8rHTszScriptWriter.bestccs|||fVdSrr7)rrYrrQrNr7r7r8rX^szScriptWriter._get_script_argsrcCs"|j|}|||S)z;Create a #! line, getting options (if any) from script_text)command_spec_classrHr:rArF)rrNrcmdr7r7r8rMcs zScriptWriter.get_header)NF)NF)N)rN)rrrrrIrJrrWr4r`rrRrNrIrrVr\rHrXrMr7r7r7r8rGs&#       rGc@sLeZdZeZeddZeddZeddZeddZ e d d Z d S) rMcCstdt|Sr[)rKrrLrHr5r7r7r8r\ns zWindowsScriptWriter.get_writercCs"tt|d}tjdd}||S)zC Select the best ScriptWriter suitable for Windows )rZnaturalZSETUPTOOLS_LAUNCHERr)rWindowsExecutableLauncherWriterr:rr)rZ writer_lookupZlauncherr7r7r8rHts zWindowsScriptWriter.bestc #stddd|}|tjddvrFdjfit}t|t gd}| || ||}fdd |D}|||d |fVd S) z For Windows, add a .py extension.pyar0rTPATHEXT;zK{ext} not listed in PATHEXT; scripts will not be recognized as executables.)rcr\ -script.py.pyc.pyor0rZcsg|] }|qSr7r7rTrr7r8rrz8WindowsScriptWriter._get_script_args..rSN) rr:rrrrrrKr UserWarningr7_adjust_header) rrYrrQrNextrrrr7rir8rXs   z$WindowsScriptWriter._get_script_argscCsNd}d}|dkr||}}tt|tj}|j||d}||rJ|S|S)z Make sure 'pythonw' is used for gui and and 'python' is used for console (regardless of what sys.executable is). r r rU)r=repl)rrescape IGNORECASEsub _use_header)rrYZ orig_headerrrmZ pattern_ob new_headerr7r7r8rks z"WindowsScriptWriter._adjust_headercCs$|ddd}tjdkp"t|S)z Should _adjust_header use the replaced header? On non-windows systems, always use. On Windows systems, only use the replaced header if it resolves to an executable on the system. rr"r])rKrrwr)rrZ clean_headerr7r7r8rqs zWindowsScriptWriter._use_headerN) rrrrJr`rr\rHrXrkrrqr7r7r7r8rMks    rMc@seZdZeddZdS)rbc #s|dkrd}d}dg}nd}d}gd}|||}fdd|D} |||d | fVd t|d fVtsd } | td fVd S)zG For Windows, add a .py extension and an .exe launcher rUz -script.pywr0Zclirf)r\rgrhcsg|] }|qSr7r7rTrir7r8rrzDWindowsExecutableLauncherWriter._get_script_args..rSrZr\z .exe.manifestN)rkget_win_launcherr9load_launcher_manifest) rrYrrQrNZ launcher_typerlrZhdrrZm_namer7rir8rXs   z0WindowsExecutableLauncherWriter._get_script_argsN)rrrrrXr7r7r7r8rbsrbcCs2d|}tr|dd}n |dd}td|S)z Load the Windows launcher (executable) suitable for launching a script. `type` should be either 'cli' or 'gui' Returns the executable as a byte string. z%s.exe.z-64.z-32.r)r9rLr)typeZ launcher_fnr7r7r8rts  rtcCsttd}|dtS)Nzlauncher manifest.xmlrQ) pkg_resourcesrrrRvars)rZmanifestr7r7r8rus ruFcCst|||Sr)r@r)r; ignore_errorsonerrorr7r7r8rsrcCstd}t||S)N)r:umask)tmpr7r7r8rUs  rUc@seZdZdZdS)rLzF Warning for EasyInstall deprecations, bypassing suppression. N)rrrrr7r7r7r8rLsrL)N)r")|rrrrrrZdistutils.errorsrrrr Zdistutils.command.installr r rr r Zdistutils.command.build_scriptsrrrrr:rjr@r#rrrrrIrKrr5rr-r;rrZ sysconfigrrrrrZsetuptools.sandboxrZsetuptools.commandrZsetuptools.archive_utilrZsetuptools.package_indexrrrrrZsetuptools.wheelrrxrrrr r!r"r#r$r%r&r'r(r)r*r+filterwarningsZ PEP440Warning__all__r9r.rDrGrNr/rrrr1r2r0rrrrr rurrr rbuiltin_module_namesrr&r+r/rKrVr2 ImportErrorrr4r7Zsys_executablerJrGrMrbrRrNrtrurrUrLr7r7r7r8s          DkF.)%l  R    TtA