§ y<ˆj]ã óΗddlZddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddl Z ddl mZddlmZddlZddlmZe¦«ZgZd„Zeje¦«gd¢ZGd„d¦«Zd „Zd „Zd „Zd „Zd_d „Zd„Z d_d„Z!d„Z"d„Z#d„Z$d`d„Z%dad„Z&d„Z'e'¦«re(ddddddddd¬ ¦ « Z)dbd"„Z*ndcd#„Z*d$„Z+d%„Z,d&„Z-d'„Z.d(„Z/d)„Z0d*e1d+e1fd,„Z2d-„Z3d.„Z4d/„Z5d0„Z6ej7d1ej8¦«j9Z:ej7d2ej8¦«j9Z;ej7d3ej8¦«j9Z<ej7d4ej8¦«j9Z=d5„Z>d6„Z?d7„Z@d8„ZAd9„ZBd:„ZCd;„ZDd<„ZEd=„ZFd>„ZGd?„ZHd@„ZIdA„ZJdB„ZKdC„ZLdD„ZMdE„ZNdF„ZOdG„ZPdH„ZQdddI„ZRdJ„ZSdK„ZTdedL„ZUGdM„dN¦«ZVifdO„ZWdP„ZXdQ„ZYd_dR„ZZd_dS„Z[dT„Z\dfdU„Z]dV„Z^dW„Z_dX„Z`dY„ZadZ„Zbd[d\hZcd]„Zdd^„ZedS)géN)Úlocal)Úreduce)ÚDistutilsErrorcóv—t�/tD])} tj|¦«Œ#t$rYŒ$wxYwdSdS©N)Ú_tmpdirsÚshutilÚrmtreeÚOSError)Úds úm/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib64/python3.11/site-packages/numpy/distutils/misc_util.pyÚclean_up_temporary_directoryrsa€ÝÐÝð ð ˆAð Ý” ˜aÑ Ô Ð Ð øÝð ð ð Ø�ð øøøð Ðð ð s ’'§ 4³4)*Ú ConfigurationÚget_numpy_include_dirsÚdefault_config_dictÚ dict_appendÚ appendpathÚgenerate_config_pyÚget_cmdÚallpathÚ get_mathlibsÚterminal_has_colorsÚred_textÚ green_textÚ yellow_textÚ blue_textÚ cyan_textÚ cyg2win32Úmingw32Ú all_stringsÚ has_f_sourcesÚhas_cxx_sourcesÚfilter_sourcesÚget_dependenciesÚis_local_src_dirÚget_ext_source_filesÚget_script_filesÚget_lib_source_filesÚget_data_filesÚdot_joinÚ get_frameÚ minrelpathÚnjoinÚ is_sequenceÚ is_stringÚas_listÚgpathsÚ get_languageÚget_build_architectureÚget_infoÚ get_pkg_infoÚget_num_build_jobsÚsanitize_cxx_flagsÚexec_mod_from_locationcó—eZdZdZd„ZdS)ÚInstallableLibaÏ Container to hold information on an installable library. Parameters ---------- name : str Name of the installed library. build_info : dict Dictionary holding build information. target_dir : str Absolute path specifying where to install the library. See Also -------- Configuration.add_installed_library Notes ----- The three parameters are stored as attributes with the same names. có0—||_||_||_dSr)ÚnameÚ build_infoÚ target_dir)Úselfr<r=r>s r Ú__init__zInstallableLib.__init__Fs€ØˆŒ Ø$ˆŒØ$ˆŒˆˆóN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r@©rAr r:r:0s-€€€€€ððð*%ð%ð%ð%ð%rAr:cón—ddlm} ttjd¦«¦«}n##t $rt j¦«}YnwxYwt|d¦«}ttj   d|¦«¦«}|¦«}|€|St|  d¦«dd¦«t|  d¦«dd¦«t|  d ¦«dd¦«f}td „|D¦«¦«r|Std „|D¦«¦«S) aÁ Get number of parallel build jobs set by the --parallel command line argument of setup.py If the command did not receive a setting the environment variable NPY_NUM_BUILD_JOBS is checked. If that is unset, return the number of processors on the system, with a maximum of 8 (to prevent overloading the system if there a lot of CPUs). Returns ------- out : int number of parallel jobs that can be run r©Úget_distributionéÚNPY_NUM_BUILD_JOBSNÚbuildÚparallelÚ build_extÚ build_clibc3óK—|]}|duV—Œ dSrrF©Ú.0Úxs r ú z%get_num_build_jobs..ks&èè€Ð &Ð &˜ˆ1�ˆ9Ð &Ð &Ð &Ð &Ð &Ð &rAc3óK—|]}|®|V—Œ dSrrFrQs r rTz%get_num_build_jobs..ns"èè€Ð7Ð7˜¨¨�1¨¨¨¨Ð7Ð7rA)Únumpy.distutils.corerIÚlenÚosÚsched_getaffinityÚAttributeErrorÚmultiprocessingÚ cpu_countÚminÚintÚenvironÚgetÚgetattrÚget_command_objÚallÚmax)rIr\ÚenvjobsÚdistÚcmdattrs r r6r6LsK€ð6Ð5Ð5Ð5Ð5Ð5ð0Ý�Ô,¨QÑ/Ô/Ñ0Ô0ˆ ˆ øÝ ð0ð0ð0Ý#Ô-Ñ/Ô/ˆ ˆ ˆ ð0øøøå�I˜qÑ!Ô!€IÝ•"”*—.’.Ð!5°yÑAÔAÑBÔB€GØ Ð Ñ Ô €Dà €|؈õ�t×+Ò+¨GÑ4Ô4°jÀ$ÑGÔGÝ�t×+Ò+¨KÑ8Ô8¸*ÀdÑKÔKÝ�t×+Ò+¨LÑ9Ô9¸:ÀtÑLÔLðN€Gõ Ð &Ð &˜gÐ &Ñ &Ô &Ñ&Ô&ð8؈åÐ7Ð7˜gÐ7Ñ7Ô7Ñ7Ô7Ð7sˆ!*ªA Á A cóà—ddl}| dtd¬¦«t|¦«}t t |¦«¦«D] }||}d|vr|ddvrd|z||<Œ!|S) z8Quote list of arguments. .. deprecated:: 1.22. rNz"quote_args" is deprecated.é©Ú stacklevelú z"'z"%s")ÚwarningsÚwarnÚDeprecationWarningÚlistÚrangerW)ÚargsrmÚiÚas r Ú quote_argsrups�€ð €O€O€OØ ‡M‚MÐ/Ý$°ðñ4ô4ð4õ �‰:Œ:€DÝ •3�t‘9”9Ñ Ô ð#ð#ˆØ �ŒGˆØ �!ˆ8ˆ8˜˜!œ EÐ)Ð)Ø ‘lˆD�‰GøØ €KrAcóR—| d¦«}tjj|ŽS)zDConvert a /-separated pathname to one using the OS's path separator.ú/)ÚsplitrXÚpathÚjoin)r<rxs r rr�s €à �JŠJ�s‰OŒO€EÝ Œ7Œ<˜Ð ÐrAcóP—tj tj |¦«¦«}tj tj |¦«¦«}t |¦«t |¦«kr|S||krdS||dt |¦«…krh|t |¦«tjfvs,Jt ||t |¦«f¦«¦«‚|t |¦«dzd…}|S)z$Return path relative to parent_path.ÚNé)rXryÚrealpathÚabspathrWÚsepÚrepr)ryÚ parent_pathÚpdÚapaths r Úrel_pathr…†sè€õ Œ× Ò �"œ'Ÿ/š/¨+Ñ6Ô6Ñ 7Ô 7€BÝ ŒG× Ò �RœWŸ_š_¨TÑ2Ô2Ñ 3Ô 3€EÝ ˆ5�z„z•C˜‘G”GÒÐØˆ Ø �‚{€{؈rØ ˆU�8•C˜‘G”G�8Œ_ÒÐØ•S˜‘W”WŒ~¥"¤& Ð)Ð)Ð)­4°°u½SÀ¹W¼W´~Ð0FÑ+GÔ+GÑ)Ô)Ð)Ø•S˜‘W”W˜Q‘Y�Z�ZÔ ˆØ €KrAcóZ— td|j|j¦«}tj tj |¦«¦«}n½#t$r°td|j|j¦«}t|¦«tj |}t|d¦«rBtj tj |j ¦«¦«}ntj d¦«}YnwxYw|�t||¦«}|pdS)z¥Return path of the module given a frame object from the call stack. Returned path is relative to parent_path when given, otherwise it is absolute path. Ú__file__rBú.)ÚevalÚ f_globalsÚf_localsrXryÚdirnamerÚ NameErrorÚ __import__ÚsysÚmodulesÚhasattrr‡r…)Úframer‚Ú caller_filer Ú caller_nameÚmods r Úget_path_from_framer–”sù€ð%ݘ: u¤¸¼ÑGÔGˆ Ý ŒG�OŠO�BœGŸOšO¨KÑ8Ô8Ñ 9Ô 9ˆˆøÝ ð %ð %ð %õ˜: u¤¸¼ÑGÔGˆ Ý�;ÑÔÐÝŒk˜+Ô&ˆÝ �3˜ Ñ #Ô #ð %Ý”—’¥¤§¢°´ Ñ =Ô =Ñ>Ô>ˆAˆAõ”—’ Ñ$Ô$ˆAøøð %øøøðÐÝ �Q˜ Ñ $Ô $ˆà ˆ8�€Os‚AAÁB7DÄDcóz—g}|D]T}t|¦«r| t|ަ«Œ.t|¦«sJ‚| |¦«ŒU|}|sd}nt jj|Ž}tjjdkr%| dtjj¦«}t|¦«S)a2Join two or more pathname components + - convert a /-separated pathname to one using the OS's path separator. - resolve `..` and `.` from path. Either passing n arguments as in njoin('a','b'), or a sequence of n names as in njoin(['a','b']) is handled, or a mixture of such arguments. r|rw) r.Úappendr-r/rXryrzr€Úreplacer,)ryÚpathsÚpÚjoineds r r-r-²s¹€ð €EØ ððˆÝ �q‰>Œ>ð à �LŠL� ˜Ñ #Ô #Ð #Ð #å˜Q‘<”<Ð Ð �<Ø �LŠL˜‰OŒOˆOˆOØ €DØ ð%àˆˆõ””˜tÐ$ˆÝ „w„{�cÒÐØ—’ ¥R¤W¤[Ñ1Ô1ˆÝ �fÑ Ô ÐrAcóN—|�!tj |d¦«}nht¦«}|D]E}tj |d¦«}tj |¦«r|}nŒFt d|›�¦«‚t |¦«5}g}d}|D]j}| |¦«rS|t|¦«d…  ¦«}|r(|  |  d¦«¦«Œk ddd¦«n #1swxYwY|S)z/Return the MATHLIB line from numpyconfig.h Nz_numpyconfig.hz/_numpyconfig.h not found in numpy include dirs z#define MATHLIBú,) rXryrzrÚexistsrÚopenÚ startswithrWÚstripÚextendrx) ryÚ config_fileÚdirsÚfnÚfidÚmathlibsÚsÚlineÚvalues r rrÍsz€ð ÐÝ”g—l’l 4Ð)9Ñ:Ô:ˆ ˆ õ&Ñ'Ô'ˆØð %ð %ˆDÝ”—’˜dÐ$4Ñ5Ô5ˆBÝŒw�~Š~˜bÑ!Ô!ð Ø � Ø�ð õ!�.Ø!˜Tð"$ñ%ô%ð %õ ˆkÑ Ô ð6˜cØˆØ ˆØð 6ð 6ˆDØ�Š˜qÑ!Ô!ð 6Ø�S ™VœV˜W˜Wœ ×+Ò+Ñ-Ô-�Øð6Ø—O’O E§K¢K°Ñ$4Ô$4Ñ5Ô5Ð5øð  6ð6ð6ð6ñ6ô6ð6ð6ð6ð6ð6ð6øøøð6ð6ð6ð6ð €OsÂA2DÄDÄ!Dcó®—t|¦«s|Sd|vr|S| tj¦«}|r- | dd¦«}n#t $rYn wxYw||=|°-d}|rJ | d|¦«}n#t $rYn&wxYw||dz dkr|dz }n ||=||dz =d}|°J|sdStj |¦«S)z$Resolve `..` and '.' from path. rˆr}z..r|)r/rxrXr€ÚindexÚ ValueErrorrz)ryÚlrsÚjs r r,r,ès/€õ �T‰?Œ?ðØˆ Ø �$€€Øˆ Ø � Š •2”6ÑÔ€AØ ðð Ø—’˜˜Q‘”ˆAˆAøÝð ð ð Ø ˆEð øøøà ˆaˆDð ðð €AØ ð ð Ø—’˜˜aÑ Ô ˆAˆAøÝð ð ð Ø ˆEð øøøà ˆQˆq‰SŒ6�4Š<ˆ<Ø �‰FˆAˆAà�!��a˜˜!™�f؈Að ð ð ð؈rÝ Œ6�;Š;�q‰>Œ>Ðs#ºAÁ AÁAÁ+B BÂBcóD—ttj|¦«¦«S)z}sorts output of python glob for https://bugs.python.org/issue30461 to allow extensions to have reproducible build results)ÚsortedÚglob)Úfileglobs r Ú sorted_globrµs€õ •$”)˜HÑ%Ô%Ñ &Ô &Ð&rAcóB—t|¦«s$Jtt|¦«¦«¦«‚g}t|¦«rJt|¦«¦«‚|D�]µ}t|¦«�rXd|vsd|vr‰t |¦«}t t ||¦«¦«}|r| |¦«Œ_|r| |¦«Œw|r| |¦«td|›d|›�¦«Œ¤t ||¦«}tj   |¦«r| |¦«Œétj   |¦«r| |¦«n|r| |¦«tj   |¦«std|›d|›�¦«�Œkt|¦«r&| t|||¦«¦«�Œ | |¦«�Œ·d„|D¦«S)NÚ*ú?zcould not resolve pattern in z: znon-existing path in có,—g|]}t|¦«‘ŒSrF)r,)rRr›s r ú z_fix_paths..-s€Ð -Ð -Ð -˜a�J�q‰MŒMÐ -Ð -Ð -rA) r.r�Útyper/rµr-r£r˜ÚprintrXryrŸÚ _fix_paths)ršÚ local_pathÚinclude_non_existingÚ new_pathsÚnr›Úp2Ún2s r r½r½ sG€Ý �uÑ Ô Ð0Ð0�t¥D¨¡K¤KÑ0Ô0Ñ0Ô0Р؀IݘÑÔÐ,Ð,¥ e¡¤Ñ,Ô,Ð Ø ð ñ ˆÝ �Q‰<Œ<ñ Ø�aˆxˆx˜3 !˜8˜8Ý ‘N”N�Ý ¥ z°1Ñ!5Ô!5Ñ6Ô6�Øð-Ø×$Ò$ RÑ(Ô(Ð(Ð(Øð-Ø×$Ò$ QÑ'Ô'Ð'Ð'à+ð,Ø!×(Ò(¨Ñ+Ô+Ð+Ý�EØ'˜Z˜Z¨¨ð,ñ-ô-ð-ð-õ˜: qÑ)Ô)�Ý”7—>’> "Ñ%Ô%ð 1Ø×$Ò$ RÑ(Ô(Ð(Ð(å”w—~’~ aÑ(Ô(ð,Ø!×(Ò(¨Ñ+Ô+Ð+Ð+Ø-ð,Ø!×(Ò(¨Ñ+Ô+Ð+Ýœ7Ÿ>š>¨!Ñ,Ô,ð1ݘØ!+  ¨Q¨Qð0ñ1ô1ð1ùõ˜‰^Œ^ð Ø × Ò �Z¨¨:Ð7KÑLÔLÑ MÔ MÐ MÑ Mà × Ò ˜QÑ Ô Ð Ñ Ø -Ð - 9Ð -Ñ -Ô -Ð-rAr|TcóH—t|¦«r|f}t|||¦«S)z:Apply glob to paths and prepend local_path if needed. )r/r½)ršr¾r¿s r r1r1/s.€õ�ÑÔðØ�ˆÝ �e˜ZÐ)=Ñ >Ô >Ð>rAcó*—ttd¦«sAtj¦«t_t  tj¦«tj||tj|¬¦«\}}tj |d¦«}||fS)NÚtempdir)ÚsuffixÚprefixÚdirÚtextÚw) r‘Ú_tdataÚtempfileÚmkdtemprÆrr˜ÚmkstemprXÚfdopen)rÇrÈrÊr§r<Úfos r Úmake_temp_filerÒ6s|€Ý •6˜9Ñ %Ô %ð(Ý!Ô)Ñ+Ô+�ŒÝ�Š�œÑ'Ô'Ð'ÝÔ ¨Ø(.Ý%+¤^Ø&*ð,ñ,ô,�I€Cˆõ Œ�3˜Ñ Ô €BØ ˆtˆ8€OrAcóD—tjdkrdtjvrdSt tjd¦«råtj ¦«rÇ ddl}| ¦«|  d¦«dkr„|  d¦«dkrk|  d¦«�|  d¦«€?|  d ¦«�|  d ¦«€|  d ¦«�d Sn#t$rYnwxYwdS) NÚcygwinÚ USE_COLORrÚisattyÚcolorsÚpairsÚsetfÚsetbÚsetafÚsetabÚscpr}) r�ÚplatformrXr_r‘ÚstdoutrÖÚcursesÚ setuptermÚtigetnumÚtigetstrÚ Exception)ràs r rrCs€Ý „|�XÒР+µR´ZÐ"?Ð"?ðˆqÝ�sŒz˜8Ñ$Ô$ð ­¬×):Ò):Ñ)<Ô)<ð ð Ø ˆMˆMˆMØ × Ò Ñ Ô Ð Ø—’ Ñ)Ô)¨QÒ.Ð.Ø—O’O GÑ,Ô,°Ò1Ð1Ø—o’o fÑ-Ô-Ð9Ø Ÿ/š/¨&Ñ1Ô1Ð=ØŸš¨Ñ1Ô1Ð=Ø#Ÿ_š_¨WÑ5Ô5ÐAØŸš¨Ñ.Ô.Ð:Ø�qøøÝð ð ð Ø ˆDð øøøà ˆ1sÁB3DÄ DÄDr}riéééééé ) ÚblackÚredÚgreenÚyellowÚblueÚmagentaÚcyanÚwhiteÚdefaultFcóÄ—g}|r| d¦«|rRdt | ¦«d¦«z}| t |¦«¦«|rRdt | ¦«d¦«z}| t |¦«¦«|rdd |¦«›d|›d �S|S) NÚ1éré(réz[ú;Úmz)r˜Ú _colour_codesr`ÚlowerÚstrrz)r©ÚfgÚbgÚboldÚseqÚfgcodeÚbgcodes r Ú colour_textrasÑ€ØˆØ ð Ø �JŠJ�s‰OŒOˆOØ ð $Ø�-×+Ò+¨B¯HªH©J¬J¸Ñ:Ô:Ñ:ˆFØ �JŠJ•s˜6‘{”{Ñ #Ô #Ð #Ø ð $Ø�-×+Ò+¨B¯HªH©J¬J¸Ñ:Ô:Ñ:ˆFØ �JŠJ•s˜6‘{”{Ñ #Ô #Ð #Ø ð ð Ø*-¯(ª(°3©-¬-¨-¨-¸¸¸Ð;Ð ;àˆHrAcó—|SrrF)r©rýrþs r rrps€ØˆrAcó"—t|d¦«S)Nró©r©r©s r Ú default_textrss€Ý �q˜)Ñ $Ô $Ð$rAcó"—t|d¦«S)Nrìrrs r rrus€Ý �q˜%Ñ Ô Ð rAcó"—t|d¦«S)Nrírrs r rrws€Ý �q˜'Ñ "Ô "Ð"rAcó"—t|d¦«S)Nrîrrs r rrys€Ý �q˜(Ñ #Ô #Ð#rAcó"—t|d¦«S)Nrñrrs r rr{ó€Ý �q˜&Ñ !Ô !Ð!rAcó"—t|d¦«S)Nrïrrs r rr}r rAryÚreturncóX—tjdkr|Stjdd|gd¬¦«S)a(Convert a path from Cygwin-native to Windows-native. Uses the cygpath utility (part of the Base install) to do the actual conversion. Falls back to returning the original path if this fails. Handles the default ``/cygdrive`` mount prefix as well as the ``/proc/cygdrive`` portable prefix, custom cygdrive prefixes such as ``/`` or ``/mnt``, and absolute paths such as ``/usr/src/`` or ``/home/username`` Parameters ---------- path : str The path to convert Returns ------- converted_path : str The converted path Notes ----- Documentation for cygpath utility: https://cygwin.com/cygwin-ug-net/cygpath.html Documentation for the C function it wraps: https://cygwin.com/cygwin-api/func-cygwin-conv-path.html rÔz/usr/bin/cygpathz --windowsT)rÊ)r�rÞÚ subprocessÚ check_output)rys r rr‚s<€õ< „|�xÒÐØˆ Ý Ô "Ø ˜[¨$Ð/°dð ñ ô ðrAcó¾—tjdkrLtj dd¦«dkrdStj dd¦«dkrdSdS) z0Return true when using mingw32 environment. Úwin32ÚOSTYPEr|ÚmsysTÚMSYSTEMÚMINGW32F)r�rÞrXr_r`rFrAr rr§sV€õ „|�WÒÐÝ Œ:�>Š>˜( BÑ 'Ô '¨Ò /Ð /Ø�4Ý Œ:�>Š>˜) RÑ (Ô (¨)Ò 3Ð 3Ø�4Ø ˆ5rAcó¤—tj d¦«}|dkr(ttj|dz|dz…¦«}nd}|S)zGReturn version of MSVC runtime library, as defined by __MSC_VER__ macrozMSC v.éÿÿÿÿrèé N)r�ÚversionÚfindr^)Úmsc_posÚmsc_vers r Úmsvc_runtime_versionr ±sM€åŒk×Ò˜xÑ(Ô(€GØ�"‚}€}Ý•c”k '¨!¡)¨G°B©JÐ"6Ô7Ñ8Ô8ˆˆàˆØ €NrAcóF—t¦«}|r|dkrd|zSd|zSdS)zFReturn name of MSVC runtime library if Python was built with MSVC >= 7éŒzmsvcr%iz vcruntime%iN)Úmsvc_runtime_major)Úvers r Úmsvc_runtime_libraryr%ºs8€å Ñ Ô €CØ ðØ �Š9ˆ9ؘs‘?Ð "à  3Ñ&Ð &àˆtrAcóX—dddddddœ t¦«d¦«}|S) zFReturn major version of MSVC runtime coded like get_build_msvc_versionéFéGéPéZédr")iiixiÜi@ilN)r`r )Úmajors r r#r#ÅsB€àØØØØØð  ð ÷  ‚cÕ Ñ Ô  $Ñ'Ô'ð  ð €LrAz.*\.(cpp|cxx|cc)\Zz.*\.(f90|f95|f77|for|ftn|f)\Zz.*\.(f90|f95)\Zz\s*module\s*(?P[\w_]+)cóü—t|¦«sgSg}t|¦«5}|D]=}t|¦«}|r*| d¦«}| |¦«Œ> ddd¦«n #1swxYwY|S)zRReturn a list of Fortran f90 module names that given source file defines. r<N)Ú f90_ext_matchr Úf90_module_name_matchÚgroupr˜)Úsourcer�Úfrªrùr<s r Ú_get_f90_modulesr3×s΀õ ˜Ñ Ô ðØˆ Ø€GÝ ˆf‰Œð%˜Øð %ð %ˆDÝ% dÑ+Ô+ˆAØð %Ø—w’w˜v‘”�Ø—’˜tÑ$Ô$Ð$øð  %ð%ð%ð%ñ%ô%ð%ð%ð%ð%ð%ð%øøøð%ð%ð%ð%ð €Ns£AA1Á1A5Á8A5có,—t|t¦«Sr)Ú isinstancerürs r r/r/çs€Ý �a�Ñ Ô ÐrAcó4—|D]}t|¦«sdSŒdS)z4Return True if all items in lst are string objects. FT©r/)ÚlstÚitems r r r ês0€àððˆÝ˜‰Œð Ø�5�5ð à ˆ4rAcól—t|¦«rdS t|¦«n#t$rYdSwxYwdS)NFT)r/rWrä©rs r r.r.ñsN€Ý��~„~ð؈uðÝ ˆC‰ŒˆˆøÝ ððð؈uˆuðøøøà ˆ4s “#£ 1°1có0—t|¦«od|vpd|vS)Nr·r¸r7rs r Úis_glob_patternr=ús €Ý �Q‰<Œ<Ð 2˜S A˜XÐ1¨°¨Ð2rAcóD—t|¦«rt|¦«S|gSr)r.rpr;s r r0r0ýs%€Ý�3ÑÔðÝ�C‰yŒyÐàˆuˆ rAcó†—d}|D];}t|t¦«r$t|¦«rd}nt|¦«rd}Œ<|S)z2Determine language value (c,f77,f90) from sources NÚf90Úf77)r5rür.Úfortran_ext_match)ÚsourcesÚlanguager1s r r2r2s_€ð€HØð!ð!ˆÝ �f�cÑ "Ô "ð !ݘVÑ$Ô$ð !Ø �Ø�Ý" 6Ñ*Ô*ð !Ø �øØ €OrAcó4—|D]}t|¦«rdSŒdS)z.Return True if sources contains Fortran files TF)rB©rCr1s r r!r!s2€àððˆÝ ˜VÑ $Ô $ð Ø�4�4ð à ˆ5rAcó4—|D]}t|¦«rdSŒdS)z*Return True if sources contains C++ files TF)Ú cxx_ext_matchrFs r r"r"s2€àððˆÝ ˜Ñ Ô ð Ø�4�4ð à ˆ5rAcó4—g}g}g}g}|D]ˆ}t|¦«r=t|¦«}|r| |¦«Œ8| |¦«ŒNt|¦«r| |¦«Œs| |¦«Œ‰||||fS)ztReturn four lists of filenames containing C, C++, Fortran, and Fortran 90 module sources, respectively. )rBr3r˜rH)rCÚ c_sourcesÚ cxx_sourcesÚ f_sourcesÚfmodule_sourcesr1r�s r r#r#sÇ€ð €IØ€KØ€IØ€OØð %ð %ˆÝ ˜VÑ $Ô $ð %Ý& vÑ.Ô.ˆGØð )Ø×&Ò& vÑ.Ô.Ð.Ð.à× Ò  Ñ(Ô(Ð(Ð(Ý ˜6Ñ "Ô "ð %Ø × Ò ˜vÑ &Ô &Ð &Ð &à × Ò ˜VÑ $Ô $Ð $Ð $Ø �k 9¨oÐ =Ð=rAcó˜—g}|D]D}ttj |d¦«¦«}| |¦«ŒE|S)Nz*.h)rµrXryrzr£)Údirectory_listÚheadersr Úheads r Ú _get_headersrR5sM€à€GØ ððˆÝ�2œ7Ÿ<š<¨¨5Ñ1Ô1Ñ2Ô2ˆØ�Š�tÑÔÐÐØ €NrAcó´—g}|D]R}tj |¦«}|ddkr%|d|vr| |d¦«ŒS|S)Nrr|)rXryrxr˜)Úlist_of_sourcesÚdirecsr2r s r Ú_get_directoriesrV=s^€à €FØ ð ð ˆÝ ŒG�MŠM˜!Ñ Ô ˆØ ˆQŒ4�2Š:ˆ:˜a œd f˜n˜nØ �MŠM˜!˜Aœ$Ñ Ô Ð øØ €MrAcó —d}|d |¦«z }|d |¦«z }|d |¦«dzz }|S)zb Return commandline representation used to determine if a file needs to be recompiled z commandline: rlú ©rz)Úcc_argsÚextra_postargsÚpp_optsÚcmdlines r Ú_commandline_dep_stringr^FsU€ð €GØ ˆs�xŠx˜Ñ Ô Ñ €GØ ˆs�xŠx˜Ñ'Ô'Ñ'€GØ ˆs�xŠx˜Ñ Ô  4Ñ'Ñ'€GØ €NrAcó:—tt|¦«¦«Sr)rRrV)rCs r r$r$Rs€å Õ(¨Ñ1Ô1Ñ 2Ô 2Ð2rAcóò—t|¦«sdStj |¦«}tj tj¦«|g¦«}|t |¦«d… tj¦«}|r|ds |dd…}|r|ddkrdStj  |¦«}tj  |¦«S)z1Return true if directory is local directory. FNrr}rL) r/rXryrÚ commonprefixÚgetcwdrWrxr€rzÚisdir)Ú directoryÚabs_dirÚcÚnew_dirs r r%r%VsÒ€õ �YÑ Ô ð؈uÝŒg�oŠo˜iÑ(Ô(€GÝ Œ×Ò�bœi™kœk¨7Ð3Ñ4Ô4€AØ•c˜!‘f”f�g�gÔ×$Ò$¥R¤VÑ,Ô,€GØð�w˜q”zðؘ!˜"˜"”+ˆØð�7˜1”:˜wÒ&Ð&؈uÝŒf�kŠk˜'Ñ"Ô"€GÝ Œ7�=Š=˜Ñ !Ô !Ð!rAc#ó‡K—ddddœŠtjd¦«}tj|d¬¦«D]W\}}}ˆfd„|D¦«}||dd…<|D]9}| |¦«s"tj ||¦«V—Œ:ŒXdS)Nr}©ÚCVSú.svnrLú(?:[~#]|\.py[co]|\.o)$T©Útopdowncó•—g|]}|‰v¯|‘Œ SrFrF©rRr Úpruned_directoriess €r rºz(general_source_files..ió$ø€ÐGÐGÐG˜¨!Ð3EÐ*EÐ*E�1Ð*EÐ*EÐ*ErA)ÚreÚcompilerXÚwalkÚsearchryrz)Útop_pathÚprune_file_patÚdirpathÚdirnamesÚ filenamesÚprunedr2rqs @r Úgeneral_source_filesr}esÃøèè€Ø !¨!°QÐ7Ð7ÐÝ”ZÐ 9Ñ:Ô:€NÝ(*¬°À$Ð(GÑ(GÔ(Gð/ð/Ñ$ˆ�˜9ØGÐGÐGÐG˜hÐGÑGÔGˆØˆ���‰ Øð /ð /ˆAØ!×(Ò(¨Ñ+Ô+ð /Ý”g—l’l 7¨AÑ.Ô.Ð.Ð.Ð.øð /ð/ð/rAc#ó¨‡ ‡ ‡ K—gd¢Š tjd¦«Š tj|d¬¦«D]Ø\}}}ˆ fd„|D¦«}||dd…<|D]º}tj ||¦«Š t ‰ |¦«}g}tj‰ ¦«D]k}tj ‰ |¦«} tj | ¦«r*‰   | ¦«s|  | ¦«Œl||fV—Œ»ŒÙ|Š t ‰ |¦«}ˆ ˆ fd„tj‰ ¦«D¦«}d„|D¦«}||fV—dS) zJReturn a directory name relative to top_path and files contained. rirlTrmcó•—g|]}|‰v¯|‘Œ SrFrFrps €r rºz4general_source_directories_files..vrrrANcóz•—g|]7}‰ |¦«°tj ‰|¦«‘Œ8SrF)rvrXryrz)rRr2Údpathrxs €€r rºz4general_source_directories_files..ƒsKø€ð2ð2ð2¨AØ&×-Ò-¨aÑ0Ô0ð2•”—’˜e QÑ'Ô'ð2ð2ð2rAcóP—g|]#}tj |¦«¯!|‘Œ$SrF)rXryÚisfile)rRr2s r rºz4general_source_directories_files..…s+€Ð 7Ð 7Ð 7�1¥R¤W§^¢^°AÑ%6Ô%6Ð 7ˆQÐ 7Ð 7Ð 7rA) rsrtrXruryrzr…Úlistdirrƒrvr˜) rwryrzr{r|r ÚrpathÚfilesr2r¦r�rxrqs @@@r Ú general_source_directories_filesr‡os£øøøèè€ð2Ð1Ð1ÐÝ”ZÐ 9Ñ:Ô:€NÝ(*¬°À$Ð(GÑ(GÔ(Gð ð Ñ$ˆ�˜9ØGÐGÐGÐG˜hÐGÑGÔGˆØˆ���‰ Øð ð ˆAÝ”G—L’L ¨!Ñ,Ô,ˆEݘU HÑ-Ô-ˆE؈EÝ”Z Ñ&Ô&ð %ð %�Ý”W—\’\ %¨Ñ+Ô+�Ý”7—>’> "Ñ%Ô%ð%¨n×.CÒ.CÀBÑ.GÔ.Gð%Ø—L’L Ñ$Ô$Ð$øØ˜�,Ð Ð Ð Ð ð ð €EÝ �U˜HÑ %Ô %€Eð2ð2ð2ð2ð2µ´¸EÑ1BÔ1Bð2ñ2ô2€Ià 7Ð 7˜ Ð 7Ñ 7Ô 7€EØ �ˆ,ÐÐÐÐÐrAcó”—g}d„|jD¦«}| |¦«| t|¦«¦«|jD]u}t |¦«r0| t t |¦«¦«¦«ŒAtj  |¦«r|  |¦«Œv|S)Ncó0—g|]}t|¦«¯|‘ŒSrFr7©rRÚ_ms r rºz(get_ext_source_files..Œs#€Ð9Ð9Ð9�b­9°R©=¬=Ð9ˆrÐ9Ð9Ð9rA) rCr£r$Údependsr%rpr}rXryrƒr˜)Úextr{rCr s r r&r&‰sÇ€à€IØ9Ð9˜CœKÐ9Ñ9Ô9€GØ ×Ò�WÑÔÐØ ×ÒÕ% gÑ.Ô.Ñ/Ô/Ð/Ø Œ[ð ð ˆÝ ˜AÑ Ô ð Ø × Ò �TÕ"6°qÑ"9Ô"9Ñ:Ô:Ñ ;Ô ;Ð ;Ð ;Ý ŒW�^Š^˜AÑ Ô ð Ø × Ò ˜QÑ Ô Ð øØ ÐrAcó—d„|D¦«}|S)Ncó0—g|]}t|¦«¯|‘ŒSrFr7rŠs r rºz$get_script_files..—ó#€Ð5Ð5Ð5�b¥y°¡}¤}Ð5ˆrÐ5Ð5Ð5rArF)Úscriptss r r'r'–s€Ø5Ð5˜GÐ5Ñ5Ô5€GØ €NrAcóð—g}|d dg¦«}d„|D¦«}| |¦«| t|¦«¦«|d dg¦«}|D]u}t|¦«r0| t t |¦«¦«¦«ŒAt j |¦«r|  |¦«Œv|S)Nr}rCcó0—g|]}t|¦«¯|‘ŒSrFr7rŠs r rºz(get_lib_source_files..�r�rArŒ) r`r£r$r%rpr}rXryrƒr˜)Úlibr{rCrŒr s r r(r(šsñ€Ø€IØ�!Œf�jŠj˜ BÑ'Ô'€GØ5Ð5˜GÐ5Ñ5Ô5€GØ ×Ò�WÑÔÐØ ×ÒÕ% gÑ.Ô.Ñ/Ô/Ð/Ø�!Œf�jŠj˜ BÑ'Ô'€GØ ð ð ˆÝ ˜AÑ Ô ð Ø × Ò �TÕ"6°qÑ"9Ô"9Ñ:Ô:Ñ ;Ô ;Ð ;Ð ;Ý ŒW�^Š^˜AÑ Ô ð Ø × Ò ˜QÑ Ô Ð øØ ÐrAcóÞ—tj ¦«}| dd¦«}|s¶tj d¦«stj d¦«rd}nutj d¦«rd}nStj d¦«rd }n1d |vr-| d | d ¦«zdd ¦«}|S) aøReturn the correct file extension for shared libraries. Parameters ---------- is_python_ext : bool, optional Whether the shared library is a Python extension. Default is False. Returns ------- so_ext : str The shared library extension. Notes ----- For Python shared libs, `so_ext` will typically be '.so' on Linux and OS X, and '.pyd' on Windows. For Python >= 3.2 `so_ext` has a tag prepended on POSIX systems according to PEP 3149. Ú EXT_SUFFIXr|ÚlinuxÚ gnukfreebsdz.soÚdarwinz.dylibÚwinz.dllÚSOABIrˆr})Ú distutilsÚ sysconfigÚget_config_varsr`r�rÞr¡r™)Ú is_python_extÚconfvarsÚso_exts r Úget_shared_lib_extensionr¢¨sç€õ(Ô"×2Ò2Ñ4Ô4€HØ �\Š\˜,¨Ñ +Ô +€Fà ðLõ ŒL× #Ò # GÑ ,Ô ,ð LÝ ŒL× #Ò # MÑ 2Ô 2ð LàˆFˆFÝ Œ\× $Ò $ XÑ .Ô .ð L؈FˆFÝ Œ\× $Ò $ UÑ +Ô +ð L؈FˆFð˜(Ð"Ð"àŸš¨¨h¯lªl¸7Ñ.CÔ.CÑ(CÀRÈÑKÔK�à €MrAcóÈ—t|¦«r|gS|d}g}|D]Â}t|d¦«rŒt|¦«r0| t t |¦«¦«¦«ŒRt|¦«rFt j |¦«r|  |¦«Œ–td|¦«Œ§tt|¦«¦«‚|S)Nr}Ú__call__zNot existing data file:) r/r‘r%r£rpr}rXryrƒr˜r¼Ú TypeErrorr�)ÚdatarCr{r©s r r)r)Ósê€Ý��„ð؈vˆ Ø�1Œg€GØ€IØ ð %ð %ˆÝ �1�jÑ !Ô !ð Ø Ý ˜AÑ Ô ð %Ø × Ò �TÕ"6°qÑ"9Ô"9Ñ:Ô:Ñ ;Ô ;Ð ;Ð ;Ý �q‰\Œ\ð %ÝŒw�~Š~˜aÑ Ô ð 4Ø× Ò  Ñ#Ô#Ð#Ð#åÐ/°Ñ3Ô3Ð3Ð3å�D ™GœGÑ$Ô$Ð $Ø ÐrAcó@—d d„|D¦«¦«S)Nrˆcó—g|]}|¯|‘ŒSrFrF)rRrts r rºzdot_join..çs€Ð*Ð*Ð*˜1¨Ð*�QÐ*Ð*Ð*rArY)rrs r r*r*æs#€Ø �8Š8Ð*Ð* Ð*Ñ*Ô*Ñ +Ô +Ð+rAcóÊ— tj|dz¦«S#t$r?tj¦«dj}t |dz¦«D] }|j}Œ |cYSwxYw)z:Return frame object from call stack with given level. r}ri)r�Ú _getframerZÚexc_infoÚtb_framerqÚf_back)Úlevelr’Ú_s r r+r+ést€ðÝŒ}˜U 1™WÑ%Ô%Ð%øÝ ðððÝ” ‘”˜qÔ!Ô*ˆÝ�u˜Q‘w‘”ð !ð !ˆAØ”LˆEˆE؈ ˆ ˆ ð øøøs‚™AA"Á!A"có>—eZdZgd¢ZddgZddgZgZ d2d „Zd „Zd „Z d „Z d „Z d„Z d3d„Z d3d„Z d4d„Z d5d„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd6d„Zd6d „Zd!„Zd"„Zd#„Z d$„Z!d%„Z"d&„Z#d'„Z$d(„Z%d)„Z&d*„Z'd7d+„Z(d8d-„Z)d8d.„Z*d9d0„Z+d1„Z,dS):r) ÚpackagesÚ ext_modulesÚ data_filesÚ include_dirsÚ librariesrPr‘Ú py_modulesÚinstalled_librariesÚ define_macrosÚ package_dirÚinstalled_pkg_configr<rNr}úsetup.pyc óh—t||¦«|_d|_t|¦«}t ||¦«|_|€|j}d|_|€|j}nGt j t|j|¦«¦«rt|j|¦«}t j |pd¦«st|›d�¦«‚||_ ||_ t jj |j d¦«Ž|_|jdd…|_|jdd…|_|jD]H} t)j| | g¦«¦«} t-|| t/| ¦«¦«ŒI|jD];} t)j| | i¦«¦«} t-|| | ¦«Œ<|j|jz} |jdd…|_| ¦«D]š} | | vrŒ|| } t-|| | ¦«t7| t8¦«r|j | ¦«ŒPt7| t<¦«r|j | ¦«Œ€|j | ¦«Œ›t j t|d¦«¦«r.|j  |j¦«||j!|j<t=dddd¬¦«|_"d} tGdd ¦«D]Q} t|¦«}n#t$rYn2wxYw tId |j%|j&¦«} n#tN$rYŒNwxYwt7| |j(¦«r| j"d r|j)d i| j"¤Ž||_*dS) a˜Construct configuration instance of a package. package_name -- name of the package Ex.: 'distutils' parent_name -- name of the parent package Ex.: 'numpy' top_path -- directory of the toplevel package Ex.: the directory where the numpy package source sits package_path -- directory of package. Will be computed by magic from the directory of the caller module if not specified Ex.: the directory where numpy.distutils is caller_level -- frame level to caller namespace, internal parameter. Nr|rˆz is not a directoryú __init__.pyF)Úignore_setup_xxx_pyÚassume_default_configurationÚdelegate_options_to_subpackagesÚquietr}rår?rÀrF)+r*r<rr+r–r¾rXryrcr-r®rwÚ package_pathrzrxÚpath_in_packageÚ _list_keysÚ list_keysÚ _dict_keysÚ dict_keysÚcopyr`Úsetattrr0Ú _extra_keysÚ extra_keysÚkeysr5rpr˜ÚdictrŸr±r¹Úoptionsrqr‰rŠr‹r�Ú __class__Ú set_optionsÚ setup_name)r?Ú package_nameÚ parent_namerwrÂÚ caller_levelrÑÚattrsÚ caller_framerÁÚvÚ known_keysrtÚcaller_instancersr2s r r@zConfiguration.__init__s¶€õ*˜[¨,Ñ7Ô7ˆŒ ؈Œ å  Ñ.Ô.ˆ Ý-¨l¸HÑEÔEˆŒð Ð Ø”ˆHØ ˆDŒOØ Ð Øœ?ˆLˆLÝ ŒW�]Š]�5 ¤°,Ñ?Ô?Ñ @Ô @ð @Ý  ¤°,Ñ?Ô?ˆLÝŒw�}Š}˜\Ð0¨SÑ1Ô1ð Hݸ ¸ ¸ ÐFÑGÔGÐ GØ ˆŒ Ø(ˆÔå!œwœ|¨T¬Y¯_ª_¸SÑ-AÔ-AÐBˆÔàœ¨¨¨Ô+ˆŒØœ¨¨¨Ô+ˆŒà”ð )ð )ˆAÝ” ˜%Ÿ)š) A rÑ*Ô*Ñ+Ô+ˆAÝ �D˜!�W Q™ZœZÑ (Ô (Ð (Ð (à”ð ð ˆAÝ” ˜%Ÿ)š) A rÑ*Ô*Ñ+Ô+ˆAÝ �D˜!˜QÑ Ô Ð Ð à”^ d¤nÑ4ˆ ØÔ*¨1¨1¨1Ô-ˆŒØ—’‘”ð *ð *ˆAØ�JˆˆØØ�a”ˆAÝ �D˜!˜QÑ Ô Ð Ý˜!�TÑ"Ô"ð *Ø”×%Ò% aÑ(Ô(Ð(Ð(ݘA�tÑ$Ô$ð *Ø”×%Ò% aÑ(Ô(Ð(Ð(à”×&Ò& qÑ)Ô)Ð)Ð)å Œ7�>Š>�%  ¨mÑ<Ô<Ñ =Ô =ð 7Ø ŒM× Ò  ¤Ñ +Ô +Ð +Ø*6ˆDÔ ˜TœYÑ 'åØ"'Ø+0Ø.3Øð ñôˆŒ ðˆÝ�q˜!‘”ð ð ˆAð ݘa‘L”L��øÝð ð ð Ø��ð øøøð Ý"& v¨q¬{¸A¼JÑ"GÔ"G�Ø�øÝð ð ð Ø�ð øøøå �o t¤~Ñ 6Ô 6ð <ØÔ&Ð'HÔIð <Ø �Ô Ð;Ð; ?Ô#:Ð;Ð;Ð;à$ˆŒˆˆs$Ì(L8Ì8 MÍMÍ M'Í' M4Í3M4có˜—| ¦«i}|j|jz|jz}|D]}t ||¦«}|r|||<Œ|S)zâ Return a dictionary compatible with the keyword arguments of distutils setup function. Examples -------- >>> setup(**config.todict()) #doctest: +SKIP )Ú_optimize_data_filesrÅrÇrËra)r?r rØrÁrts r ÚtodictzConfiguration.todictbse€ð ×!Ò!Ñ#Ô#Ð#Ø ˆØ”^ d¤nÑ4°t´ÑFˆ Øð ð ˆAݘ˜aÑ Ô ˆAØð Ø��!‘øØˆrAcóB—|jdst|¦«dSdS)NrÁ)rÎr¼©r?Úmessages r ÚinfozConfiguration.infous*€ØŒ|˜GÔ$ð Ý �'‰NŒNˆNˆNˆNð ð rAcóL—tj d|›d�¦«dS)Nz Warning: rX)r�ÚstderrÚwriterÞs r rnzConfiguration.warnys(€Ý Œ ×ÒШG¨G¨GÐ5Ñ6Ô6Ð6Ð6Ð6rAc ó„—| ¦«D]*\}}||jvr ||j|<Œtd|z¦«‚dS)zå Configure Configuration instance. The following options are available: - ignore_setup_xxx_py - assume_default_configuration - delegate_options_to_subpackages - quiet zUnknown option: N)ÚitemsrÎr®)r?rÎÚkeyr«s r rÐzConfiguration.set_options|sY€ð"Ÿ-š-™/œ/ð 9ð 9‰JˆC�Ø�d”lÐ"Ð"Ø$)�” ˜SÑ!Ð!å Ð!3°CÑ!7Ñ8Ô8Ð8ð  9ð 9rAcó"—ddlm}|¦«S)z2Return the distutils distribution object for self.rrH)rVrI)r?rIs r rIzConfiguration.get_distribution�s#€à9Ð9Ð9Ð9Ð9Ð9ØÐÑ!Ô!Ð!rAcó0—| d¦«}t|jg|z¦«}d„t|¦«D¦«}g}|D]Ê}tj t|d¦«¦«sŒ0d| tj¦«vrŒRd | tj¦«t|¦« d…¦«} |  | ||dz¬¦«} |  | ¦«ŒË|S)NrˆcóP—g|]#}tj |¦«¯!|‘Œ$SrF)rXryrcrŠs r rºz:Configuration._wildcard_get_subpackage..—s+€ÐOÐOÐO�r½R¼W¿]º]È2Ñ=NÔ=NÐO�ÐOÐOÐOrAr½rLr}©rÓrÔ) rxr-r¾rµrXryrƒr€rzrWÚget_subpackager£) r?Úsubpackage_namerÓrÔr¯Úsubpackage_pathr¥Ú config_listr rÁrfs r Ú_wildcard_get_subpackagez&Configuration._wildcard_get_subpackage’s€ð × !Ò ! #Ñ &Ô &ˆÝ ¤Ð 1°!Ñ 3Ñ4Ô4ˆØOÐO�[¨Ñ9Ô9ÐOÑOÔOˆØˆ Øð "ð "ˆAÝ”7—>’>¥%¨¨=Ñ"9Ô"9Ñ:Ô:ð ØØ˜!Ÿ'š'¥"¤&™/œ/Ð)Ð)ØØ—’˜Ÿš¥¤™œ­#¨a©&¬&¨¨¨Ô2Ñ3Ô3ˆAØ×#Ò# AØ2=Ø3?À±>ð$ñCôCˆAð × Ò ˜qÑ !Ô !Ð !Ð !ØÐrAcóº—tj dtj |¦«¦« tj tj |¦«¦«d}t|j||¦«}td  |  d¦«¦«|¦«}t|d¦«sB|j ds| d|z¦«t|||j||dz¬¦«} nUt|g|  d¦«dd …zŽ} | f} |jjjdkr | |jfz} |j| Ž} | jt||¦«kr.| d t||¦«›d | j›�¦«tjd=n#tjd=wxYw| S) Nrr¯rˆÚ configurationr¿zCAssuming default configuration (%s does not define configuration())r}©rÔrz Subpackage z configuration returned as )r�ryÚinsertrXrŒÚsplitextÚbasenamer*r<r8rzrxr‘rÎrnrrwrñÚ__code__Ú co_argcount) r?Úsetup_pyrìrírÓrÔrÑrÁÚ setup_moduleÚconfigÚpnrrs r Ú _get_configuration_from_setup_pyz.Configuration._get_configuration_from_setup_py¥sá€õ Œ�Š˜�2œ7Ÿ?š?¨8Ñ4Ô4Ñ5Ô5Ð5ð Ýœ×)Ò)­"¬'×*:Ò*:¸8Ñ*DÔ*DÑEÔEÀaÔHˆJݘœ O°ZÑ@Ô@ˆAÝ1Ø #§¢¨¯ª°©¬Ñ 6Ô 6¸ñBôBˆLå˜<¨Ñ9Ô9ð ;Ø”|Ð$BÔCð0Ø—I’IðEà!-ñ/ñ0ô0ð0õ' ¸ Ø'+¤}°oØ6BÀQÑ6FðHñHôH��õ   °×0EÒ0EÀcÑ0JÔ0JÈ3ÈBÈ3Ô0OÑ OÐQ�Ø�u�ØÔ-Ô6ÔBÀQÒFÐFØ 4¤=Ð"2Ñ2�DØ3˜Ô3°TÐ:�ØŒ{�H [°/ÑBÔBÒBÐBØ— ’ � Ý# K°ÑAÔAÐAÐAÀ6Ä;À;ðPñQôQðQõ”˜� � ø•”˜� ˆOˆOˆOˆO؈ s ¿EÑ?Ô?ˆOØ"Ÿjšj¨/Ð):Ñ;Ô;¸AÔ>ˆOݘ¨$¬/Ñ:Ô:ˆØŒ|Ð1Ô2ð DÝ”7—>’> (Ñ+Ô+ð DÝ  Ø!.°/Ñ!BñDôD�åŒw�~Š~˜hÑ'Ô'ð 1Ø”<Ð >Ô?ð JØ— ’ � åœWŸ_š_¨XÑ6Ô6Ð6Ð6¸¸¸ðIñJôJðJõ# ?°KØ#'¤=°/Ø2>¸q±.ðBñBôBˆFˆFð×:Ò:ØØØØØ+¨aÑ/ð ;ñ1ô1ˆFð ð Ø�8ˆOàˆIrAFcó0—|rd}n|j}| |||d¬¦«}|s| d¦«|D]¦}|}t|t¦«r| ¦«}t|t ¦«s$Jtt|¦«¦«¦«‚|  d|  d¦«›d|j›�¦«|j d i|¤ŽŒ§|  ¦«}|�| d|z¦«dSdS) aAdd a sub-package to the current Configuration instance. This is useful in a setup.py script for adding sub-packages to a package. Parameters ---------- subpackage_name : str name of the subpackage subpackage_path : str if given, the subpackage path such as the subpackage is in subpackage_path / subpackage_name. If None,the subpackage is assumed to be located in the local path / subpackage_name. standalone : bool Nrirêz0No configuration returned, assuming unavailable.z Appending r<z configuration to zTdistutils distribution has been initialized, it may be too late to add a subpackage rF) r<rërnr5rrÜrÍr�r»ràr`rrI) r?rìríÚ standalonerÓrîrúr rfs r Úadd_subpackagezConfiguration.add_subpackages\€ð& ð $؈KˆKàœ)ˆKØ×)Ò)¨/¸?Ø8CØ9:ð*ñ<ô<ˆ ðð JØ �IŠIÐHÑ IÔ IÐ IØ!ð "ð "ˆF؈Aݘ&¥-Ñ0Ô0ð $Ø—M’M‘O”O�ݘa¥Ñ&Ô&Ð 5Ð 5­­T°!©W¬W© ¬ Ñ 5Ô 5Ð&à �IŠIˆIØŸš˜v™œ˜˜¨¬ ¨ ð3ñ 4ô 4ð 4à ˆDÔ Ð !Ð !˜qÐ !Ð !Ð !Ð !à×$Ò$Ñ&Ô&ˆØ Ð Ø �IŠIðAØBQñRñ Sô Sð Sð Sð Sð Ð rAc ó쇇—t|¦«r|\Š}ndŠt|¦«rˆˆfd„|D¦«dSt|¦«std|›�¦«‚‰€jtj |¦«r4‰ tj |¦«|f¦«S‰ ||f¦«S‰ |d¬¦«}t|¦«�rPt‰¦«�r"t‰¦«  tj ¦«}|  ¦«ttt!|¦«dz ¦«¦«}|  ¦«|D] }||s||=Œ|D�]�}tj |¦«st%d|¦«Œ3t'|‰j¦«}|  tj ¦«}|  ¦«g} d}|D]ž} t| ¦«rD|t!|¦«krt+d ‰›d |›�¦«‚|  ||¦«nD| ||ks#Jt/| |||‰||f¦«¦«‚|  | ¦«|dz }ŒŸ||d…r‰ d |›d |›�¦«|   ¦«‰ tj  | ¦«|f¦«�Œ�n|D]}‰ ‰|f¦«ŒdSt‰¦«rJt/‰¦«¦«‚‰ ¦«} | �| j�| j} n‰j} |D]a}tt9|¦«¦«D]B\} }tj ‰j‰| ¦«}|  ||f¦«ŒCŒbdS) a†Recursively add files under data_path to data_files list. Recursively add files under data_path to the list of data_files to be installed (and distributed). The data_path can be either a relative path-name, or an absolute path-name, or a 2-tuple where the first argument shows where in the install directory the data directory should be installed to. Parameters ---------- data_path : seq or str Argument can be either * 2-sequence (, ) * path to data directory where python datadir suffix defaults to package dir. Notes ----- Rules for installation paths:: foo/bar -> (foo/bar, foo/bar) -> parent/foo/bar (gun, foo/bar) -> parent/gun foo/* -> (foo/a, foo/a), (foo/b, foo/b) -> parent/foo/a, parent/foo/b (gun, foo/*) -> (gun, foo/a), (gun, foo/b) -> gun (gun/*, foo/*) -> parent/gun/a, parent/gun/b /foo/bar -> (bar, /foo/bar) -> parent/bar (gun, /foo/bar) -> parent/gun (fun/*/gun/*, sun/foo/bar) -> parent/fun/foo/gun/bar Examples -------- For example suppose the source directory contains fun/foo.dat and fun/bar/car.dat: >>> self.add_data_dir('fun') #doctest: +SKIP >>> self.add_data_dir(('sun', 'fun')) #doctest: +SKIP >>> self.add_data_dir(('gun', '/full/path/to/fun'))#doctest: +SKIP Will install data-files to the locations:: / fun/ foo.dat bar/ car.dat sun/ foo.dat bar/ car.dat gun/ foo.dat car.dat Ncó>•—g|]}‰ ‰|f¦«‘ŒSrF)Ú add_data_dir)rRr›r r?s €€r rºz.Configuration.add_data_dir..ks+ø€Ð :Ð :Ð :¨1ˆT× Ò   1˜vÑ &Ô &Ð :Ð :Ð :rAznot a string: F©r¿r}zNot a directory, skippingrzcannot fill pattern z with zmismatch of pattern_list=z and path_list=)r.r/r¥rXryÚisabsrrõršr=rrxr€ÚreverserprqrWrcr¼r…r¾r®r˜r�rnrzrIr³r‡rÃ)r?Ú data_pathršÚ pattern_listÚrlrsryr…Ú path_listÚ target_listr©rfr³Úd1r2Ú target_pathr s` @r rzConfiguration.add_data_dir.s>øø€õp �yÑ !Ô !ð Ø$‰LˆAˆyˆyàˆAÝ �yÑ !Ô !ð Ø :Ð :Ð :Ð :Ð :° Ð :Ñ :Ô :Ð :Ø ˆFݘÑ#Ô#ð ?Ý�)°)°)Ð=Ñ>Ô>Ð >Ø ˆ9ÝŒw�}Š}˜YÑ'Ô'ð SØ×(Ò(­"¬'×*:Ò*:¸9Ñ*EÔ*EÀyÐ)QÑRÔRÐRØ×$Ò$ i°Ð%;Ñ<Ô<Ð <Ø— ’ ˜9¸5� ÑAÔAˆÝ ˜9Ñ %Ô %ñ% ݘqÑ!Ô!ñ# 1Ý& q™zœz×/Ò/µ´Ñ7Ô7� Ø×$Ò$Ñ&Ô&Ð&å�%¥ LÑ 1Ô 1°!Ñ 3Ñ4Ô4Ñ5Ô5�°r·z²z±|´|°|Øð,ð,�AØ'¨œ?ð,Ø(¨˜Oøà!ðHñH�DÝœ7Ÿ=š=¨Ñ.Ô.ð!ÝÐ9¸4Ñ@Ô@Ð@Ø Ý$ T¨4¬?Ñ;Ô;�EØ %§ ¢ ­B¬FÑ 3Ô 3�IØ×%Ò%Ñ'Ô'Ð'Ø"$�KØ�AØ)ð ð ˜Ý*¨1Ñ-Ô-ð2Ø ¥# i¡.¤.Ò0Ð0Ý&0 jØ)*¨¨¨D¨Dð22ñ'3ô'3ð!3à'×.Ò.¨y¸¬|Ñ<Ô<Ð<Ð<à#$ i°¤l¢? ? ?µD¸!¸YÀq¼\È9ÐVWÐY]Ð_dÐ9eÑ4fÔ4f¡?¤? ?Ø'×.Ò.¨qÑ1Ô1Ð1ؘQ™˜˜Ø    ”}ð?ØŸ š ˜ Ø%1 \ \°9°9ð#>ñ?ô?ð?à×'Ò'Ñ)Ô)Ð)Ø×%Ò%¥r¤v§{¢{°;Ñ'?Ô'?ÀÐ&FÑGÔGÐGÑGð/Hð2"ð1ð1�DØ×%Ò% q¨$ iÑ0Ô0Ð0Ð0Ø ˆFÝ" 1Ñ%Ô%Ð.Ð.¥t¨A¡w¤wÑ.Ô.Ð%à×$Ò$Ñ&Ô&ˆØ Ð  ¤Ð ;ØœˆJˆJàœˆJàð 4ð 4ˆDÝÕ>¸tÑDÔDÑEÔEð 4ð 4‘��AÝ œgŸlšl¨4Ô+?ÀÀBÑGÔG� Ø×!Ò! ;°Ð"2Ñ3Ô3Ð3Ð3ð 4ð 4ð 4rAcóÞ—i}|jD]:\}}||vrt¦«||<|D]}|| |¦«ŒŒ;d„| ¦«D¦«|jdd…<dS)Ncó6—g|]\}}|t|¦«f‘ŒSrF)rp)rRr›r†s r rºz6Configuration._optimize_data_files..®s'€ÐQÐQÐQ±8°1°e˜q¥$ u¡+¤+Ð.ÐQÐQÐQrA)r³ÚsetÚaddrå)r?Ú data_dictr›r†r2s r rÛz"Configuration._optimize_data_files§s‘€Øˆ Øœð $ð $‰HˆAˆuؘ Ð!Ð!Ý"™uœu� ˜!‘ Øð $ð $�ؘ!” × Ò  Ñ#Ô#Ð#Ð#ð $àQÐQ¸y¿ºÑ?PÔ?PÐQÑQÔQˆŒ˜˜˜ÑÐÐrAcó¢—t|¦«dkr|D]}| |¦«ŒdSt|¦«dksJ‚t|d¦«r |d\}}nd}t|¦«r|}nrt|¦«r:t|¦«dkr |d}nG|D]}| ||f¦«ŒdSt t t |¦«¦«¦«‚|€mt|d¦«rd}nAtj   |¦«rd}ntj   |¦«}| ||f¦«dS|  |d¬¦«}t|¦«�r?t|¦«�r| tj¦«}| ¦«|D]ß}| tj¦«}| ¦«| ¦«g} d} |D]G} t| ¦«r!|  || ¦«| dz } Œ2|  | ¦«ŒH|  ¦«| tj | ¦«|f¦«Œàn| ||f¦«dSt|¦«rJt ||f¦«¦«‚| ¦«} | �| j�| j} n|j} |  tj  |j|¦«|f¦«dS)aéAdd data files to configuration data_files. Parameters ---------- files : sequence Argument(s) can be either * 2-sequence (,) * paths to data files where python datadir prefix defaults to package dir. Notes ----- The form of each element of the files sequence is very flexible allowing many combinations of where to get the files from the package and where they should ultimately be installed on the system. The most basic usage is for an element of the files argument sequence to be a simple filename. This will cause that file from the local path to be installed to the installation path of the self.name package (package path). The file argument can also be a relative path in which case the entire relative path will be installed into the package directory. Finally, the file can be an absolute path name in which case the file will be found at the absolute path name but installed to the package path. This basic behavior can be augmented by passing a 2-tuple in as the file argument. The first element of the tuple should specify the relative path (under the package install directory) where the remaining sequence of files should be installed to (it has nothing to do with the file-names in the source distribution). The second element of the tuple is the sequence of files that should be installed. The files in this sequence can be filenames, relative paths, or absolute paths. For absolute paths the file will be installed in the top-level package installation directory (regardless of the first argument). Filenames and relative path names will be installed in the package install directory under the path name given as the first element of the tuple. Rules for installation paths: #. file.txt -> (., file.txt)-> parent/file.txt #. foo/file.txt -> (foo, foo/file.txt) -> parent/foo/file.txt #. /foo/bar/file.txt -> (., /foo/bar/file.txt) -> parent/file.txt #. ``*``.txt -> parent/a.txt, parent/b.txt #. foo/``*``.txt`` -> parent/foo/a.txt, parent/foo/b.txt #. ``*/*.txt`` -> (``*``, ``*``/``*``.txt) -> parent/c/a.txt, parent/d/b.txt #. (sun, file.txt) -> parent/sun/file.txt #. (sun, bar/file.txt) -> parent/sun/file.txt #. (sun, /foo/bar/file.txt) -> parent/sun/file.txt #. (sun, ``*``.txt) -> parent/sun/a.txt, parent/sun/b.txt #. (sun, bar/``*``.txt) -> parent/sun/a.txt, parent/sun/b.txt #. (sun/``*``, ``*``/``*``.txt) -> parent/sun/c/a.txt, parent/d/b.txt An additional feature is that the path to a data-file can actually be a function that takes no arguments and returns the actual path(s) to the data-files. This is useful when the data files are generated while building the package. Examples -------- Add files to the list of data_files to be included with the package. >>> self.add_data_files('foo.dat', ... ('fun', ['gun.dat', 'nun/pun.dat', '/tmp/sun.dat']), ... 'bar/cat.dat', ... '/full/path/to/can.dat') #doctest: +SKIP will install these data files to:: / foo.dat fun/ gun.dat nun/ pun.dat sun.dat bar/ car.dat can.dat where is the package (or sub-package) directory such as '/usr/lib/python2.4/site-packages/mypackage' ('C: \Python2.4 \Lib \site-packages \mypackage') or '/usr/lib/python2.4/site- packages/mypackage/mysubpackage' ('C: \Python2.4 \Lib \site-packages \mypackage \mysubpackage'). r}Nrr¤r|Fr)rWÚadd_data_filesr.r/r¥r�r»r‘rXryrrŒršr=rxr€rÚpopr˜rzrIr³rÃ)r?r†r2r Úfilepatršrryr r rsr©rfr³s r rzConfiguration.add_data_files°sX€õp ˆu‰:Œ:�aŠ<ˆ<Øð 'ð '�Ø×#Ò# AÑ&Ô&Ð&Ð&Ø ˆFÝ�5‰zŒz˜1Š}ˆ}ˆ}ˆ}Ý �u˜Q”xÑ Ô ð Ø˜Q”x‰HˆAˆuˆuàˆAÝ �UÑ Ô ð /؈GˆGÝ ˜Ñ Ô ð /Ý�5‰zŒz˜1Š}ˆ}Ø œ(��àð0ð0�AØ×'Ò'¨¨A¨Ñ/Ô/Ð/Ð/Ø�å�D¥ e¡¤Ñ-Ô-Ñ.Ô.Ð .à ˆ9Ý�w  Ñ+Ô+ð -Ø��Ý”—’˜wÑ'Ô'ð -Ø��å”G—O’O GÑ,Ô,�Ø × Ò   E  Ñ +Ô +Ð +Ø ˆFà— ’ ˜7¸� Ñ?Ô?ˆÝ ˜7Ñ #Ô #ñ ݘqÑ!Ô!ñ 0Ø Ÿwšw¥r¤v™œ� Ø×$Ò$Ñ&Ô&Ð&Ø!ð Jð J�DØ $§ ¢ ­2¬6Ñ 2Ô 2�IØ×%Ò%Ñ'Ô'Ð'Ø—M’M‘O”O�OØ"$�KØ�AØ)ð2ð2˜Ý*¨1Ñ-Ô-ð2Ø'×.Ò.¨y¸¬|Ñ<Ô<Ð<Ø ™F˜A˜Aà'×.Ò.¨qÑ1Ô1Ð1Ð1Ø×'Ò'Ñ)Ô)Ð)Ø×'Ò'­¬¯ª°[Ñ)AÔ)AÀ4Ð(HÑIÔIÐIÐIð Jð×#Ò# Q¨ JÑ/Ô/Ð/Ø ˆFÝ" 1Ñ%Ô%Ð9Ð9¥t¨Q°¨LÑ'9Ô'9Ñ9Ô9Ð%à×$Ò$Ñ&Ô&ˆØ Ð  ¤Ð ;ØœˆJˆJàœˆJà×Ò�2œ7Ÿ<š<¨Ô(<¸aÑ@Ô@À%ÐHÑIÔIÐIÐIÐIrAcóÌ—| ¦«}|�3t|d¦«sg|_|j |¦«dS|j |¦«dS)zðAdd define macros to configuration Add the given sequence of macro name and value duples to the beginning of the define_macros list This list will be visible to all extension modules of the current package. Nr¸)rIr‘r¸r£)r?Úmacrosrfs r Úadd_define_macroszConfiguration.add_define_macrosIso€ð×$Ò$Ñ&Ô&ˆØ Рݘ4 Ñ1Ô1ð (Ø%'�Ô"Ø Ô × %Ò % fÑ -Ô -Ð -Ð -Ð -à Ô × %Ò % fÑ -Ô -Ð -Ð -Ð -rAcóä—| |¦«}| ¦«}|�*|j€g|_|j |¦«dS|j |¦«dS)zçAdd paths to configuration include directories. Add the given sequence of paths to the beginning of the include_dirs list. This list will be visible to all extension modules of the current package. N)ršrIr´r£)r?ršr´rfs r Úadd_include_dirszConfiguration.add_include_dirsYsw€ð—z’z %Ñ(Ô(ˆ Ø×$Ò$Ñ&Ô&ˆØ Ð ØÔ Ð(Ø$&�Ô!Ø Ô × $Ò $ \Ñ 2Ô 2Ð 2Ð 2Ð 2à Ô × $Ò $ \Ñ 2Ô 2Ð 2Ð 2Ð 2rAc󇇇—gŠ|D]§Št‰¦«r#ˆˆfd„‰ ‰¦«D¦«Œ4t‰ttf¦«rt ‰¦«dkrt t‰¦«¦«‚ˆˆfd„‰ ‰d¦«D¦«Œ¨‰ ¦«}|�*|j €g|_ |j   ‰¦«dS‰j   ‰¦«dS)aÃAdd installable headers to configuration. Add the given sequence of files to the beginning of the headers list. By default, headers will be installed under // directory. If an item of files is a tuple, then its first argument specifies the actual installation location relative to the path. Parameters ---------- files : str or seq Argument(s) can be either: * 2-sequence (,) * path(s) to header file(s) where python includedir suffix will default to package name. cóH•—g|]}‰ ‰j|f¦«‘ŒSrF)r˜r<)rRr›rPr?s €€r rºz-Configuration.add_headers..~s+ø€ÐJÐJÐJ°A�—’ ¤¨A Ñ/Ô/ÐJÐJÐJrAricóJ•—g|]}‰ ‰d|f¦«‘Œ S©r)r˜)rRr›rPrys €€r rºz-Configuration.add_headers..‚s-ø€ÐKÐKÐK°!�—’  a¤¨!  Ñ-Ô-ÐKÐKÐKrAr}N) r/ršr5ÚtuplerprWr¥r�rIrPr£)r?r†rfrPrys` @@r Ú add_headerszConfiguration.add_headersisøøø€ð$ˆØð Lð LˆDݘ‰Œð LØJÐJÐJÐJÐJ¸¿ºÀDÑ9IÔ9IÐJÑJÔJÐJÐJå! $­µ¨ Ñ6Ô6ð0½#¸d¹)¼)Àqº.¸.Ý#¥D¨¡J¤JÑ/Ô/Ð/ØKÐKÐKÐKÐK°t·z²zÀ$ÀqÄ'Ñ7JÔ7JÐKÑKÔKÐKÐKØ×$Ò$Ñ&Ô&ˆØ Ð ØŒ|Ð#Ø!�” Ø ŒL× Ò  Ñ (Ô (Ð (Ð (Ð (à ŒL× Ò  Ñ (Ô (Ð (Ð (Ð (rAcó\—| dd¦«}t||j|¬¦«S)a«Apply glob to paths and prepend local_path if needed. Applies glob.glob(...) to each path in the sequence (if needed) and pre-pends the local_path if needed. Because this is called on all source lists, this allows wildcard characters to be specified in lists of sources for extension modules and libraries and scripts and allows path-names be relative to the source directory. r¿T)r¾r¿)r`r1r¾)r?ršÚkwsr¿s r ršzConfiguration.paths‹s>€ð #ŸwšwÐ'=¸tÑDÔDÐÝ�eØ#'¤?Ø+?ðAñAôAð ArAcó€—| ¦«D](}||}|dvr| |¦«}|||<Œ)dS)N)rCrŒr´Ú library_dirsÚ module_dirsÚ extra_objects)rÌrš)r?ÚkwÚkr×Únew_vs r Ú_fix_paths_dictzConfiguration._fix_paths_dictšsW€Ø—’‘”ð ð ˆAØ�1”ˆAØð5ð5ð5àŸ š  1™ œ �Ø��1‘øð  ð rAc óp—tj|¦«}t|j|¦«|d<||d<d|vra|d}|d=t|t¦«r|g}|D];}t|t¦«sJt |¦«¦«‚t |fi|¤ŽŒ<| |¦«| dg¦«}g}g|d<|D�]d} t| t¦«r| | d¦«d| v�r|   dd¦«\} } tj   t|j| ¦«¦«} tj  | ¦«r­| d| d¬ ¦«} t| t$¦«r|  ¦«} d „|  dg¦«D¦«D]I} |   d d¦«d }|| kr%|  dd¦«t |fi| ¤ŽnŒJ�ŒO| | ¦«�Œf||dz|d<|j| d g¦«z|d <d dlm}|di|¤Ž}|j |¦«| ¦«}|�| d|z¦«|S)a»Add extension to configuration. Create and add an Extension instance to the ext_modules list. This method also takes the following optional keyword arguments that are passed on to the Extension constructor. Parameters ---------- name : str name of the extension sources : seq list of the sources. The list of sources may contain functions (called source generators) which must take an extension instance and a build directory as inputs and return a source file or list of source files or None. If None is returned then no sources are generated. If the Extension instance has no sources after processing all source generators, then no extension module is built. include_dirs : define_macros : undef_macros : library_dirs : libraries : runtime_library_dirs : extra_objects : extra_compile_args : extra_link_args : extra_f77_compile_args : extra_f90_compile_args : export_symbols : swig_opts : depends : The depends list contains paths to files or directories that the sources of the extension module depend on. If any path in the depends list is newer than the extension module, then the module will be rebuilt. language : f2py_options : module_dirs : extra_info : dict or list dict or list of dict of keywords to be appended to keywords. Notes ----- The self.paths(...) method is applied to all lists that may contain paths. r<rCÚ extra_inforµr}ú@Nriròcó—g|] }|d‘Œ SrrF)rRr¯s r rºz/Configuration.add_extension..òs€ÐCÐCÐC q˜a œdÐCÐCÐCrAÚ__OF__rr¸©Ú ExtensionzTdistutils distribution has been initialized, it may be too late to add an extension rF)rÈr*r<r5rÍr�rr+r`r rxrXryrr-r¾rcrërrÜrr˜r¸rVr2r²rIrn)r?r<rCr(Úext_argsr-ràrµÚlibnamesÚlibnameÚlnameÚlpathrfr¯Úllnamer2r�rfs r Ú add_extensionzConfiguration.add_extension¢s€õ`”9˜R‘=”=ˆÝ# D¤I¨tÑ4Ô4ˆ�ÑØ%ˆ�Ñà ˜8Ð #Ð #Ø! ,Ô/ˆJؘÐ&ݘ*¥dÑ+Ô+ð *Ø(˜\� Ø"ð -ð -�Ý! $­Ñ-Ô-Ð9Ð9­t°D©z¬zÑ9Ô9Ð-ݘHÐ,Ð, tÐ,Ð,Ð,Ð,à ×Ò˜XÑ&Ô&Ð&ð—L’L ¨bÑ1Ô1ˆ ØˆØ "ˆ�ÑØ ð %ñ %ˆGݘ'¥5Ñ)Ô)ð 1Ø×$Ò$ W¨Q¤ZÑ0Ô0Ð0ð�gˆ~‰~Ø&Ÿ}š}¨S°!Ñ4Ô4‘ ��uÝœŸš­¨d¬o¸uÑ(EÔ(EÑFÔF�Ý”7—=’= Ñ'Ô'ð Ø×+Ò+¨D°%Ø;<ð,ñ>ô>�Aå! !¥]Ñ3Ô3ð'ØŸHšH™JœJ˜ØCÐC¨A¯EªE°+¸rÑ,BÔ,BÐCÑCÔCð"ð"˜Ø!"§¢¨°1Ñ!5Ô!5°aÔ!8˜Ø! Uš?˜?ØŸEšE &¨$Ñ/Ô/Ð/Ý'¨Ð5Ð5°1Ð5Ð5Ð5Ø!˜Eð+ñØ �OŠO˜GÑ $Ô $Ð $Ñ $à (¨8°KÔ+@Ñ @ˆ�Ñà Ô  §¢¨o¸rÑ!BÔ!BÑ Bð �Ñ!ð 3Ð2Ð2Ð2Ð2Ð2؈iÐ#Ð#˜(Ð#Ð#ˆØ Ô×Ò Ñ$Ô$Ð$à×$Ò$Ñ&Ô&ˆØ Ð Ø �IŠIðAØAEñFñ Gô Gð Gàˆ rAc ó–—| ||d|¦«| ¦«}|�| d|z¦«dSdS)aÒ Add library to configuration. Parameters ---------- name : str Name of the extension. sources : sequence List of the sources. The list of sources may contain functions (called source generators) which must take an extension instance and a build directory as inputs and return a source file or list of source files or None. If None is returned then no sources are generated. If the Extension instance has no sources after processing all source generators, then no extension module is built. build_info : dict, optional The following keys are allowed: * depends * macros * include_dirs * extra_compiler_args * extra_f77_compile_args * extra_f90_compile_args * f2py_options * language NzQdistutils distribution has been initialized, it may be too late to add a library )Ú _add_libraryrIrn)r?r<rCr=rfs r Ú add_libraryzConfiguration.add_library sp€ð: ×Ò˜$ ¨¨zÑ:Ô:Ð:à×$Ò$Ñ&Ô&ˆØ Ð Ø �IŠIð>Ø?CñDñ Eô Eð Eð Eð Eð Ð rAcó¬—tj|¦«}||d<d|vrg|d<| |¦«|j ||f¦«dS)z\Common implementation for add_library and add_installed_library. Do not use directlyrCrŒN)rÈr+rµr˜©r?r<rCÚ install_dirr=s r r;zConfiguration._add_library-sk€õ”Y˜zÑ*Ô*ˆ Ø 'ˆ �9Ñð˜JÐ&Ð&Ø$&ˆJ�yÑ !à ×Ò˜ZÑ(Ô(Ð(ð Œ×Ò˜t ZÐ0Ñ1Ô1Ð1Ð1Ð1rAcóÚ—|si}tj |j|¦«}| ||||¦«|j t|||¦«¦«dS)aQ Similar to add_library, but the specified library is installed. Most C libraries used with `distutils` are only used to build python extensions, but libraries built through this method will be installed so that they can be reused by third-party packages. Parameters ---------- name : str Name of the installed library. sources : sequence List of the library's source files. See `add_library` for details. install_dir : str Path to install the library, relative to the current sub-package. build_info : dict, optional The following keys are allowed: * depends * macros * include_dirs * extra_compiler_args * extra_f77_compile_args * extra_f90_compile_args * f2py_options * language Returns ------- None See Also -------- add_library, add_npy_pkg_config, get_info Notes ----- The best way to encode the options required to link against the specified C libraries is to use a "libname.ini" file, and use `get_info` to retrieve the required options (see `add_npy_pkg_config` for more information). N)rXryrzrÂr;r·r˜r:r>s r Úadd_installed_libraryz#Configuration.add_installed_library=sm€ðXð ØˆJå”g—l’l 4Ô#4°kÑBÔBˆ Ø ×Ò˜$ ¨°jÑAÔAÐAØ Ô ×'Ò'­°t¸ZÈÑ(UÔ(UÑVÔVÐVÐVÐVrAcóî—|€i}tj |j|¦«}|j|jvr*|j|j |||f¦«dS|||fg|j|j<dS)a Generate and install a npy-pkg config file from a template. The config file generated from `template` is installed in the given install directory, using `subst_dict` for variable substitution. Parameters ---------- template : str The path of the template, relatively to the current package path. install_dir : str Where to install the npy-pkg config file, relatively to the current package path. subst_dict : dict, optional If given, any string of the form ``@key@`` will be replaced by ``subst_dict[key]`` in the template file when installed. The install prefix is always available through the variable ``@prefix@``, since the install prefix is not easy to get reliably from setup.py. See also -------- add_installed_library, get_info Notes ----- This works for both standard installs and in-place builds, i.e. the ``@prefix@`` refer to the source directory for in-place builds. Examples -------- :: config.add_npy_pkg_config('foo.ini.in', 'lib', {'foo': bar}) Assuming the foo.ini.in file has the following content:: [meta] Name=@foo@ Version=1.0 Description=dummy description [default] Cflags=-I@prefix@/include Libs= The generated file will have the following content:: [meta] Name=bar Version=1.0 Description=dummy description [default] Cflags=-Iprefix_dir/include Libs= and will be installed as foo.ini in the 'lib' subpath. When cross-compiling with numpy distutils, it might be necessary to use modified npy-pkg-config files. Using the default/generated files will link with the host libraries (i.e. libnpymath.a). For cross-compilation you of-course need to link with target libraries, while using the host Python installation. You can copy out the numpy/core/lib/npy-pkg-config directory, add a pkgdir value to the .ini files and set NPY_PKG_CONFIG_PATH environment variable to point to the directory with the modified npy-pkg-config files. Example npymath.ini modified for cross-compilation:: [meta] Name=npymath Description=Portable, core math library implementing C99 standard Version=0.1 [variables] pkgname=numpy.core pkgdir=/build/arm-linux-gnueabi/sysroot/usr/lib/python3.7/site-packages/numpy/core prefix=${pkgdir} libdir=${prefix}/lib includedir=${prefix}/include [default] Libs=-L${libdir} -lnpymath Cflags=-I${includedir} Requires=mlib [msvc] Libs=/LIBPATH:${libdir} npymath.lib Cflags=/INCLUDE:${includedir} Requires=mlib N)rXryrzrÂr<rºr˜)r?Útemplater?Ú subst_dicts r Úadd_npy_pkg_configz Configuration.add_npy_pkg_configps–€ð~ Р؈JÝ”7—<’< Ô 1°8Ñ<Ô<ˆà Œ9˜Ô1Ð 1Ð 1Ø Ô % d¤iÔ 0× 7Ò 7¸À;Øð9ñ ô ð ð ð ð6>¸{Øð5ð4ˆDÔ % d¤iÑ 0Ð 0Ð 0rAcóä—| |¦«}| ¦«}|�*|j€g|_|j |¦«dS|j |¦«dS)zµAdd scripts to configuration. Add the sequence of files to the beginning of the scripts list. Scripts will be installed under the /bin/ directory. N)ršrIr‘r£)r?r†r‘rfs r Ú add_scriptszConfiguration.add_scriptsÛss€ð—*’*˜UÑ#Ô#ˆØ×$Ò$Ñ&Ô&ˆØ Ð ØŒ|Ð#Ø!�” Ø ŒL× Ò  Ñ (Ô (Ð (Ð (Ð (à ŒL× Ò  Ñ (Ô (Ð (Ð (Ð (rAc ó0—|jD];}t||¦«}| | |g¦«¦«Œ<|jD];}t||¦«}| | |i¦«¦«Œ<|j|jz|jz}| ¦«D]ã}||vrŠt||d¦«}|r |||krŒ&| d|›d||›d| dd¦«›�¦«t||||¦«|j  |¦«Œ�||jvr4|  d|›dt||¦«›d||›d �¦«ŒÍ||vrŒÒtd |z¦«‚dS) NzInheriting attribute ú=z from r<r¸zIgnoring attempt to set z (from z to ú)zDon't know about key=%r) rÅrar£r`rÇÚupdaterËrÌrnrÉr˜ràr®)r?rÍrærtrØs r rzConfiguration.dict_appendës߀ؔ>ð (ð (ˆCݘ˜cÑ"Ô"ˆAØ �HŠH�T—X’X˜c 2Ñ&Ô&Ñ 'Ô 'Ð 'Ð 'Ø”>ð (ð (ˆCݘ˜cÑ"Ô"ˆAØ �HŠH�T—X’X˜c 2Ñ&Ô&Ñ 'Ô 'Ð 'Ð 'Ø”^ d¤nÑ4°t´ÑFˆ Ø—9’9‘;”;ð Dð DˆCؘ*Ð$Ð$ݘD # tÑ,Ô,�ØÐ/˜˜D œIš˜ xØ— ’ � Ø ˜S˜S $ s¤) ) )¨T¯XªX°f¸cÑ-BÔ-BÐ-BðDñEôEðE嘘c 4¨¤9Ñ-Ô-Ð-Ø”×&Ò& sÑ+Ô+Ð+Ð+ؘœÐ'Ð'Ø— ’ � Ø ˜S˜S¥'¨$°Ñ"4Ô"4Ð"4Ð"4°d¸3´i°i°iðAñBôBðBðBà˜ Ð"Ð"àå Ð!:¸cÑ!BÑCÔCÐCð Dð DrAcóî—ddlm}|j|jz|jz}d}|d|jzdzz }| ¦«|D])}t||d¦«}|r||›d||¦«›d�z }Œ*|dz }|S) Nr)Úpformatz<----- zConfiguration of z: z = rXz----->)ÚpprintrMrÅrÇrËr<Úsortra)r?rMrØr©r)rts r Ú__str__zConfiguration.__str__s¬€Ø"Ð"Ð"Ð"Ð"Ð"Ø”^ d¤nÑ4°t´ÑFˆ Ø ˆØ Ð  ¤Ñ *¨5Ñ 0Ñ0ˆØ�ŠÑÔÐØð 3ð 3ˆAݘ˜a Ñ&Ô&ˆAØð 3Ø A A A w w¨q¡z¤z z zÐ2Ñ2�øØ ˆ[ш؈rAcó —td¦«}| ¦«d|_d|_tj d¦«}|r0tj d|g¦«}|tjd<|S)zF Returns the numpy.distutils config command instance. rúrÚPATHrˆ) rÚensure_finalizedÚ dump_sourceÚnoisyrXr_r`Úpathseprz)r?ÚcmdÚold_pathrys r Úget_config_cmdzConfiguration.get_config_cmdst€õ�hÑÔˆØ ×ÒÑÔÐØˆŒØˆŒ Ý”:—>’> &Ñ)Ô)ˆØ ð &Ý”:—?’? C¨ ?Ñ3Ô3ˆDØ!%�BŒJ�vÑ Øˆ rAcóV—td¦«}| ¦«|jS)zh Return a path to a temporary directory where temporary files should be placed. rL)rrSÚ build_temp)r?rWs r Úget_build_temp_dirz Configuration.get_build_temp_dirs+€õ �gÑÔˆØ ×ÒÑÔÐØŒ~ÐrAcó`—d}| ¦«}| |d¬¦«}|S)aSCheck for availability of Fortran 77 compiler. Use it inside source generating function to ensure that setup distribution instance has been initialized. Notes ----- True if a Fortran 77 compiler is available (because a simple Fortran 77 code was able to be compiled successfully). ú/ subroutine simple end rA©Úlang©rYÚ try_compile©r?Úsimple_fortran_subroutineÚ config_cmdÚflags r Ú have_f77czConfiguration.have_f77c(ó;€ð% Ð!ð×(Ò(Ñ*Ô*ˆ Ø×%Ò%Ð&?ÀeÐ%ÑLÔLˆØˆ rAcó`—d}| ¦«}| |d¬¦«}|S)aRCheck for availability of Fortran 90 compiler. Use it inside source generating function to ensure that setup distribution instance has been initialized. Notes ----- True if a Fortran 90 compiler is available (because a simple Fortran 90 code was able to be compiled successfully) r^r@r_rarcs r Ú have_f90czConfiguration.have_f90c;rhrAcó@—t|¦«r#|\}}t||j|j¬¦«dSddlm}t ||¦«sJt|¦«¦«‚|j |j¦«|j |j¦«dS)zEAppend libraries, include_dirs to extension or library item. )rµr´rr1N) r.rrµr´rVr2r5r�r£)r?ÚextlibÚlib_namer=r2s r Ú append_tozConfiguration.append_toNs½€õ �vÑ Ô ð :Ø#)Ñ ˆH�jÝ ˜ Ø"&¤.Ø%)Ô%6ð 8ñ 8ô 8ð 8ð 8ð 8ð 7Ð 6Ð 6Ð 6Ð 6Ð 6ݘf iÑ0Ô0Ð >Ð >µ$°v±,´,Ñ >Ô >Ð0Ø Ô × #Ò # D¤NÑ 3Ô 3Ð 3Ø Ô × &Ò & tÔ'8Ñ 9Ô 9Ð 9Ð 9Ð 9rAcó>— tjdg|¬¦«}tjd|¦«}|r"t | d¦«¦«Sn#tjtf$rYnwxYwtj dkr2tj   dd¦«rt|dd ¦«}nt|d d ¦«}tj |¦«r¼t!|¦«5}| ¦«}ddd¦«n #1swxYwY|dd …d kr:tjd |¦«}|r"t | d¦«¦«Sn9tjd|¦«}|r"t | d¦«¦«SdS)z+Return path's SVN revision number. Ú svnversion©Úcwdó(?P\d+)ÚrevisionrÚSVN_ASP_DOT_NET_HACKNÚ_svnÚentriesrkrçz\d+)"zdir[\n\r]+(?P\d+))rrrsÚmatchr^r0ÚCalledProcessErrorr r�rÞrXr_r`r-ryrƒr Úreadrv)r?ryÚoutputrùrwr2Úfstrs r Ú_get_svn_revisionzConfiguration._get_svn_revision\sÔ€ð 0ÝÔ,¨l¨^ÀÐFÑFÔFˆFõ”Ð.°Ñ7Ô7ˆAØð 0ݘ1Ÿ7š7 :Ñ.Ô.Ñ/Ô/Ð/ð 0øõ Ô-­wÐ7ð ð ð Ø ˆDð øøøõ Œ<˜Ò Ð ¥R¤Z§^¢^Ð4JÈDÑ%QÔ%QРݘD &¨)Ñ4Ô4ˆGˆGå˜D &¨)Ñ4Ô4ˆGÝ Œ7�>Š>˜'Ñ "Ô "ð 4Ý�g‘”ð  !Ø—v’v‘x”x�ð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð à�B�Q�BŒx˜7Ò"Ð"Ý”IÐ=¸tÑDÔD�Øð4ݘqŸwšw zÑ2Ô2Ñ3Ô3Ð3ð4õ”IÐ<¸dÑCÔC�Øð4ݘqŸwšw zÑ2Ô2Ñ3Ô3Ð3؈ts#‚AÁA,Á+A,Ã0DÄDÄDcó&— tjgd¢|¬¦«}tjd|¦«}|r"t | d¦«¦«Sn#tjtf$rYnwxYwt|dd¦«}t|dd¦«}tj   |¦«ràd}t|¦«5}|  ¦« ¦«}ddd¦«n #1swxYwYi} t|¦«5}|D]O} |  ¦«dd …\} } | |kr| } t | ¦«} n#t $rYŒFwxYw| | | <ŒP ddd¦«n #1swxYwY|  |¦«SdS) z1Return path's Mercurial revision number. )ÚhgÚidentifyz--numrqrsrtz.hgÚbranchz branch.cacheNri)rrrsrxr^r0ryr r-rXryrƒr rzr¢rxr®r`) r?ryr{rùÚ branch_fnÚbranch_cache_fnÚbranch0r2Ú revision0Ú branch_maprªÚbranch1Ú revision1s r Ú_get_hg_revisionzConfiguration._get_hg_revisionys@€ð 0ÝÔ,Ø+Ð+Ð+°ð7ñ7ô7ˆFõ ”Ð.°Ñ7Ô7ˆAØð 0ݘ1Ÿ7š7 :Ñ.Ô.Ñ/Ô/Ð/ð 0øõ Ô-­wÐ7ð ð ð Ø ˆDð øøøõ˜$  xÑ0Ô0ˆ Ý  e¨^Ñ<Ô<ˆå Œ7�>Š>˜)Ñ $Ô $ð +؈GÝ�i‘”ð - AØŸFšF™HœHŸNšNÑ,Ô,� ð -ð -ð -ñ -ô -ð -ð -ð -ð -ð -ð -øøøð -ð -ð -ð -ðˆJÝ�oÑ&Ô&ð 4¨!Øð4ð4�DØ*.¯*ª*©,¬,°r¸°rÔ*:Ñ&�G˜YØ  )Ò+Ð+Ø")˜ð!Ý$'¨ ¡N¤N˜ ˜ øÝ%ð!ð!ð!Ø ˜ð!øøøà*3�J˜wÑ'Ð'ð4ð 4ð 4ð 4ñ 4ô 4ð 4ð 4ð 4ð 4ð 4ð 4øøøð 4ð 4ð 4ð 4ð—>’> 'Ñ*Ô*Ð *àˆtsY‚AÁA-Á,A-Ã'C5Ã5C9Ã<C9Ä,E1Ä>EÅ E1Å EÅE1ÅEÅ E1Å1E5Å8E5cóB—t|dd¦«}|�|S|€)d|j d¦«ddzddd g}n|g}|€'dd |j d¦«dd zg}n|g}|D�]R}t|j|¦«}t j |¦«�rd }t j t j  |¦«¦«d } t|j| ¦«} td  |  d¦«¦«|¦«} n;#t$r.} | t| ¦«¦«d} Yd} ~ nd} ~ wwxYw| €�Œ|D]} t| | d¦«}|�nŒ |  ¦«d}n#t"$rYnwxYw|�n�ŒT|� ||_|S| |j¦«}|€| |j¦«}|�t|¦«}||_|S)a¹Try to get version string of a package. Return a version string of the current package or None if the version information could not be detected. Notes ----- This method scans files named __version__.py, _version.py, version.py, and __svn_version__.py for string variables version, __version__, and _version, until a version number is found. rNz__version__.pyrˆrz _version.pyz version.pyú__svn_version__.pyú__hg_version__.pyÚ __version__Ú_version)z.pyÚUr}rr¯)rar<rxr-r¾rXryrƒrôrõr*r8rzÚ ImportErrorrnrüÚ get_versionsrZrr}r‰)r?Ú version_fileÚversion_variablerr†Ú version_varsr2r¦ràr<rÁÚversion_moduleÚertrts r Ú get_versionzConfiguration.get_versionŸsr€õ˜$  ¨4Ñ0Ô0ˆØ Р؈Nð Ð Ø%Ø”Y—_’_ SÑ)Ô)¨"Ô-¨mÑ;Ø!Ø)Ø(ð *ˆEˆEð "�NˆEØ Ð #Ø%Ø)Ø œIŸOšO¨CÑ0Ô0°Ô4°ZÑ?ðAˆLˆLð-Ð-ˆLØð ñ ˆAÝ�t”¨Ñ*Ô*ˆBÝŒw�~Š~˜bÑ!Ô!ñ Ø&�Ý”w×'Ò'­¬×(8Ò(8¸Ñ(<Ô(<Ñ=Ô=¸aÔ@�ݘTœY¨Ñ-Ô-�ð*Ý%;Ø(+¯ª°·²¸±´Ñ(>Ô(>Àñ&Dô&D�N�Nøå"ð*ð*ð*Ø—I’I�c !™fœfÑ%Ô%Ð%Ø%)�N�N�N�N�N�Nøøøøð*øøøð"Ð)Ùà%ðð�AÝ% n°a¸Ñ>Ô>�GØÐ*ؘð+ðØ,×9Ò9Ñ;Ô;¸IÔF�G�GøÝ%ðððØ�DðøøøðÐ&Ø�Eùà Ð Ø"ˆDŒL؈Nð×)Ò)¨$¬/Ñ:Ô:ˆØ Ð Ø×,Ò,¨T¬_Ñ=Ô=ˆHà Рݘ(‘m”mˆGØ"ˆDŒLàˆs*Ä6D;Ä; E3Å$E.Å.E3ÆF0Æ0 F=Æ<F=Tc󇇇‡—t‰jd¦«Š‰ ‰j¦«Štj ‰¦«s‰€dSˆˆˆˆfd„}‰ d|¦«f¦«dS)aAppends a data function to the data_files list that will generate __svn_version__.py file to the current package directory. Generate package __svn_version__.py file from SVN revision number, it will be removed after python exits but will be available when sdist, etc commands are executed. Notes ----- If __svn_version__.py existed before, nothing is done. This is intended for working with source directories that are in an SVN repository. r‹Ncó^•—tj ‰¦«skt‰¦«}‰ d‰›d|›d�¦«t ‰d¦«5}| d|z¦«ddd¦«n #1swxYwY‰‰jfˆfd„ }tj|¦«‰S)Nú Creating ú (version=rJrËú version = %r cóè•—‰rntj|¦«|d|z¦«n#t$rYnwxYwtj|dz¦«|d|zdz¦«dS#t$rYdSwxYwdS©Nzremoved rf©rXÚremover ©r2r›Údeletes €r Úrm_filezSConfiguration.make_svn_version_py..generate_svn_version_py..rm_fileó–ø€Øð-ÝœY q™\œ\˜\¨1¨1¨Z¸©\©?¬?¨?¨?øÝ&Ð,Ð,Ð,¨¨Ð,øøøÝœY q¨¡uÑ-Ô-Ð-¨q¨q°¸A±¸cÑ1AÑ/BÔ/BÐ/BÐ/BÐ/BøÝ&Ð,Ð,Ð,¨¨¨Ð,øøøð -ð-ó„"'§ 4³4·(A!Á! A/Á.A/© rXryrƒrüràr rãÚatexitÚregister©rr2r£r¢rtr?Útargets €€€€r Úgenerate_svn_version_pyzBConfiguration.make_svn_version_py..generate_svn_version_pyóýø€Ý”w—~’~ fÑ-Ô-ð>Ý! (™mœm�GØ—I’I�I¸F¸F¸FÀGÀGÀGÐLÑMÔMÐMݘf cÑ*Ô*ð>¨aØŸšÐ 0°GÑ <Ñ=Ô=Ð=ð>ð>ð>ñ>ô>ð>ð>ð>ð>ð>ð>øøøð>ð>ð>ð>ð% t¤yð-ð-ð-ð-ð-ð-õ” Ñ(Ô(Ð(à� óÁBÂBÂBr|)r-r¾r}rXryrƒr)r?r¢r«rtrªs`` @@r Úmake_svn_version_pyz!Configuration.make_svn_version_pyës£øøøø€õ �t”Ð(<Ñ=Ô=ˆØ×)Ò)¨$¬/Ñ:Ô:ˆÝ Œ7�>Š>˜&Ñ !Ô !ð A XÐ%5Ø ˆFð ð ð ð ð ð ð ð ð$ × Ò  Ð%<Ð%<Ñ%>Ô%>Ð ?Ñ @Ô @Ð @Ð @Ð @rAc󇇇‡—t‰jd¦«Š‰ ‰j¦«Štj ‰¦«s‰€dSˆˆˆˆfd„}‰ d|¦«f¦«dS)aAppends a data function to the data_files list that will generate __hg_version__.py file to the current package directory. Generate package __hg_version__.py file from Mercurial revision, it will be removed after python exits but will be available when sdist, etc commands are executed. Notes ----- If __hg_version__.py existed before, nothing is done. This is intended for working with source directories that are in an Mercurial repository. rŒNcó^•—tj ‰¦«skt‰¦«}‰ d‰›d|›d�¦«t ‰d¦«5}| d|z¦«ddd¦«n #1swxYwY‰‰jfˆfd„ }tj|¦«‰S)Nršr›rJrËrœcóè•—‰rntj|¦«|d|z¦«n#t$rYnwxYwtj|dz¦«|d|zdz¦«dS#t$rYdSwxYwdSržrŸr¡s €r r£zQConfiguration.make_hg_version_py..generate_hg_version_py..rm_file/r¤r¥r¦r©s €€€€r Úgenerate_hg_version_pyz@Configuration.make_hg_version_py..generate_hg_version_py(r¬r­r|)r-r¾r‰rXryrƒr)r?r¢r²rtrªs`` @@r Úmake_hg_version_pyz Configuration.make_hg_version_pys£øøøø€õ�t”Ð(;Ñ<Ô<ˆØ×(Ò(¨¬Ñ9Ô9ˆÝ Œ7�>Š>˜&Ñ !Ô !ð @ XÐ%5Ø ˆFð ð ð ð ð ð ð ð ð$ × Ò  Ð%;Ð%;Ñ%=Ô%=Ð >Ñ ?Ô ?Ð ?Ð ?Ð ?rAÚ __config__cóT—|j |j|tf¦«dS)zÉGenerate package __config__.py file containing system_info information used during building the package. This file is installed to the package installation directory. N)r¶r˜r<r)r?r<s r Úmake_config_pyzConfiguration.make_config_py<s*€ð Œ×Ò ¤ ¨4Õ1CÐDÑEÔEÐEÐEÐErAcóH—ddlm}m}i}|D]}||fi||¦«¤ŽŒ|S)z¥Get resources information. Return information (from system_info.get_info) for all of the names in the argument list in a single dictionary. r})r4r)Ú system_infor4r)r?Únamesr4rÚ info_dictrts r r4zConfiguration.get_infoFsY€ð 7Ð6Ð6Ð6Ð6Ð6Ð6Ð6؈ Øð 1ð 1ˆAØ ˆK˜ Ð 0Ð 0 H H¨Q¡K¤KÐ 0Ð 0Ð 0Ð 0ØÐrA)NNNNr}r»)r})NNr})NFr©NN)T)r´)-rBrCrDrÄrÆrÊÚnumpy_include_dirsr@rÜràrnrÐrIrïrürërrrÛrrrr!ršr+r9r<r;rArErGrrPrYr\rgrjrnr}r‰r—r®r³r¶r4rFrAr rr÷s+€€€€€ð:ð:ð:€Jð Ð!7Ð8€Jؘ9Ð%€KàÐð#Ø!ØØ"ØØ&ð _%ð_%ð_%ð_%ðBððð&ððð7ð7ð7ð9ð9ð9ð""ð"ð"ð12ððððð.9:ð ððððD(,Ø#'Ø&'ð;ð;ð;ð;ð|(,Ø$)ð)Sð)Sð)Sð)SðVw4ðw4ðw4ðrRðRðRðUJðUJðUJðr .ð .ð .ð 3ð3ð3ð )ð )ð )ðD Að Að AððððeðeðeðN"Eð"Eð"EðH2ð2ð2ð 1Wð1Wð1Wð1WðfhðhðhðhðV)ð)ð)ð DðDðDð2 ð ð ð ð ð ððððððð&ððð& :ð :ð :ðððð:#ð#ð#ðLJðJðJðJðX'Að'Að'Að'AðR&@ð&@ð&@ð&@ðPFðFðFðFð ð ð ð ð rArcó”—||vr=ddl}|jj}|€ddlm}|d¦«‚| |¦«}|||<||S)Nr)ÚDistutilsInternalErrorz+setup distribution instance not initialized)Údistutils.coreÚcoreÚ_setup_distributionÚdistutils.errorsr¾rb)ÚcmdnameÚ_cacherœrfr¾rWs r rrSs{€Ø�fÐÐØÐÐÐØŒ~Ô1ˆØ ˆ<Ø ?Ð ?Ð ?Ð ?Ð ?Ð ?Ø(Ð(Ø?ñAôAð Aà×"Ò" 7Ñ+Ô+ˆØˆˆw‰Ø �'Œ?ÐrAcód—tjdd…}|sddl}| ¦«g}|S)Nr)rr¼ÚnumpyÚ get_include)r´rÆs r rr_s>€å Ô3°A°A°AÔ6€LØ ð/؈ ˆ ˆ Ø×*Ò*Ñ,Ô,Ð.ˆ à ÐrAcó—tj d¦«}|�|Stj d¦«}tj tj |j ¦«ddd¦«}|S)a³Return the path where to find the npy-pkg-config directory. If the NPY_PKG_CONFIG_PATH environment variable is set, the value of that is returned. Otherwise, a path inside the location of the numpy module is returned. The NPY_PKG_CONFIG_PATH can be useful when cross-compiling, maintaining customized npy-pkg-config .ini files for the cross-compilation environment, and using them when cross-compiling. ÚNPY_PKG_CONFIG_PATHNrÆrÀr”znpy-pkg-config) rXr_r`Ú importlibÚutilÚ find_specryrzrŒÚorigin)r Úspecs r Úget_npy_pkg_dirrÏhsk€õ Œ �ŠÐ,Ñ-Ô-€AØ€}ØˆÝ Œ>× #Ò # GÑ ,Ô ,€DÝ Œ� Š •R”W—_’_ T¤[Ñ1Ô1Ø �EÐ+ñ -ô -€Aà €HrAcóŒ—ddlm}|r"| t¦«¦«nt¦«g}|||¦«S)aø Return library info for the given package. Parameters ---------- pkgname : str Name of the package (should match the name of the .ini file, without the extension, e.g. foo for the file foo.ini). dirs : sequence, optional If given, should be a sequence of additional directories where to look for npy-pkg-config files. Those directories are searched prior to the NumPy directory. Returns ------- pkginfo : class instance The `LibraryInfo` instance containing the build information. Raises ------ PkgNotFound If the package is not found. See Also -------- Configuration.add_npy_pkg_config, Configuration.add_installed_library, get_info r)Ú read_config)Únumpy.distutils.npy_pkg_configrÑr˜rÏ)Úpkgnamer¥rÑs r r5r5|sY€ð<;Ð:Ð:Ð:Ð:Ð:à ð#Ø � Š •OÑ%Ô%Ñ&Ô&Ð&Ð&åÑ!Ô!Ð"ˆØ ˆ;�w Ñ %Ô %Ð%rAcó.—ddlm}t||¦«}|| ¦«¦«}|| ¦«¦« ¦«D] \}}|| |¦«Œ!|d|d<|d=|d=|S)a9 Return an info dict for a given C library. The info dict contains the necessary options to use the C library. Parameters ---------- pkgname : str Name of the package (should match the name of the .ini file, without the extension, e.g. foo for the file foo.ini). dirs : sequence, optional If given, should be a sequence of additional directories where to look for npy-pkg-config files. Those directories are searched prior to the NumPy directory. Returns ------- info : dict The dictionary with build information. Raises ------ PkgNotFound If the package is not found. See Also -------- Configuration.add_npy_pkg_config, Configuration.add_installed_library, get_pkg_info Examples -------- To get the necessary information for the npymath library from NumPy: >>> npymath_info = np.distutils.misc_util.get_info('npymath') >>> npymath_info #doctest: +SKIP {'define_macros': [], 'libraries': ['npymath'], 'library_dirs': ['.../numpy/core/lib'], 'include_dirs': ['.../numpy/core/include']} This info dict can then be used as input to a `Configuration` instance:: config.add_extension('foo', sources=['foo.c'], extra_info=npymath_info) r)Ú parse_flagsrr¸Úignored)rÒrÕr5ÚcflagsÚlibsrår£)rÓr¥rÕÚpkg_inforàr)r×s r r4r4¢s®€ðZ;Ð:Ð:Ð:Ð:Ð:ݘG TÑ*Ô*€Hð ˆ;�x—’Ñ(Ô(Ñ )Ô )€DØ� ˜HŸMšM™OœOÑ,Ô,×2Ò2Ñ4Ô4ðð‰ˆˆ1Ø ˆQŒ�Š�qÑÔÐÐð! œN€DˆÑØ ˆXˆØ ˆYˆà €KrAcó@—ddl} |jdS#t$rYdSwxYw)NrTF)ÚbuiltinsÚ__NUMPY_SETUP__rZ)rÛs r Úis_bootstrappingrÝÞs@€Ø€O€O€OðØÔ Р؈tøÝ ððð؈uˆuðøøøs †� œcó¨—ddl}| d|›d|›d|›d|›d|›d|›d� d¬ ¦«t|||¦«}| ¦«S) zqReturn a configuration dictionary for usage in configuration() function defined in file setup_.py. rNzUse Configuration(ržz ,top_path=z,) instead of deprecated default_config_dict(rJrirj)rmrnrrÜ)r<rÓr¾rmrfs r rrês{€ð€O€O€OØ ‡M‚M€Mà�T�T˜;˜;˜;¨ ¨ ¨ Ø�T�T˜;˜;˜;¨ ¨ ¨ ðð$%ð ñ&ô&ð&õ �d˜K¨Ñ4Ô4€AØ �8Š8‰:Œ:ÐrAc óÊ—| ¦«D]M\}}||vr?||}t|t¦«r|||<Œ,|| |¦«ŒH|||<ŒNdSr)rår5rür£)r r#r)r×Úovs r rrøsv€Ø— ’ ‘ ” ðð‰ˆˆ1Ø �ˆ6ˆ6Ø�1”ˆBݘ"�cÑ"Ô"ð Ø��!‘�à�!”— ’ ˜A‘”��àˆAˆa‰DˆDððrAcó´—tjjdkrJ| dtjj¦«}| dtjj¦«}d}tj |¦«�r¦tj |¦«d}tj tj |¦«¦«d}tj |¦«\}}tj ||g¦«}tj |dt|¦«…|t|¦«d…¦«|ksNtj |dt|¦«…|t|¦«d…¦«|krtj  |¦«}|t|¦«d…}tj |¦«r |dd…}n|}tj  t||z|¦«¦«S)Nrwr|rr}) rXryr€r™rÚ splitdriverrarzrWrŒÚnormpathr-)rÈryÚdriveÚ absprefixÚ pathdriver Úsubpaths r rr s²€Ý „w„{�cÒÐØ—’ ¥R¤W¤[Ñ1Ô1ˆØ�|Š|˜C¥¤¤Ñ-Ô-ˆØ €EÝ „w‡}‚}�TÑÔñ Ý”×"Ò" 6Ñ*Ô*¨1Ô-ˆÝ”G×&Ò&¥r¤w§¢°vÑ'>Ô'>Ñ?Ô?ÀÔBˆ Ýœ'×,Ò,¨TÑ2Ô2‰ˆ �4Ý ŒG× Ò  )¨TÐ!2Ñ 3Ô 3ˆÝ Œ7�<Š<˜  '¥3 q¡6¤6 'Ô*¨Iµc¸!±f´f°g°gÔ,>Ñ ?Ô ?À9Ò LÐ LÝŒg�lŠl˜4 ¥ Q¡¤ œ=¨$­s°1©v¬v¨w¨w¬-Ñ8Ô8¸DÒ@Ð@å”—’ Ñ"Ô"ˆAØ•s˜1‘v”v�w�w”-ˆÝ Œ7�=Š=˜Ñ !Ô !ð "ؘa˜b˜b”kˆGøàˆÝ Œ7× Ò �E %¨&¡.°'Ñ:Ô:Ñ ;Ô ;Ð;rAcó¬—ddlm}ddlm}|tj |¦«¦«t|d¦«5}| dtj  tj d¦«z¦«| d¦«| d¦«| tj d¦«¦«|j ¦«D] \}}| |›d |›d �¦«Œ!| tj d ¦«¦«d d d ¦«n #1swxYwY|S) zÅGenerate config.py file containing system_info information used during building the package. Usage: config['py_modules'].append((packagename, '__config__',generate_config_py)) r)r¸)ÚmkpathrËz'# This file is generated by numpy's %s zH# It contains system_info results at the time of building this package. z__all__ = ["get_info","show"] a import os import sys extra_dll_dir = os.path.join(os.path.dirname(__file__), '.libs') if sys.platform == 'win32' and os.path.isdir(extra_dll_dir): os.add_dll_directory(extra_dll_dir) rIrXa} def get_info(name): g = globals() return g.get(name, g.get(name + "_info", {})) def show(): """ Show libraries in the system on which NumPy was built. Print information about various resources (libraries, library directories, include directories, etc.) in the system on which NumPy was built. See Also -------- get_include : Returns the directory containing NumPy C header files. Notes ----- 1. Classes specifying the information to be printed are defined in the `numpy.distutils.system_info` module. Information may include: * ``language``: language used to write the libraries (mostly C or f77) * ``libraries``: names of libraries found in the system * ``library_dirs``: directories containing the libraries * ``include_dirs``: directories containing library header files * ``src_dirs``: directories containing library source files * ``define_macros``: preprocessor macros used by ``distutils.setup`` * ``baseline``: minimum CPU features required * ``found``: dispatched features supported in the system * ``not found``: dispatched features that are not supported in the system 2. NumPy BLAS/LAPACK Installation Notes Installing a numpy wheel (``pip install numpy`` or force it via ``pip install numpy --only-binary :numpy: numpy``) includes an OpenBLAS implementation of the BLAS and LAPACK linear algebra APIs. In this case, ``library_dirs`` reports the original build time configuration as compiled with gcc/gfortran; at run time the OpenBLAS library is in ``site-packages/numpy.libs/`` (linux), or ``site-packages/numpy/.dylibs/`` (macOS), or ``site-packages/numpy/.libs/`` (windows). Installing numpy from source (``pip install numpy --no-binary numpy``) searches for BLAS and LAPACK dynamic link libraries at build time as influenced by environment variables NPY_BLAS_LIBS, NPY_CBLAS_LIBS, and NPY_LAPACK_LIBS; or NPY_BLAS_ORDER and NPY_LAPACK_ORDER; or the optional file ``~/.numpy-site.cfg``. NumPy remembers those locations and expects to load the same libraries at run-time. In NumPy 1.21+ on macOS, 'accelerate' (Apple's Accelerate BLAS library) is in the default build-time search order after 'openblas'. Examples -------- >>> import numpy as np >>> np.show_config() blas_opt_info: language = c define_macros = [('HAVE_CBLAS', None)] libraries = ['openblas', 'openblas'] library_dirs = ['/usr/local/lib'] """ from numpy.core._multiarray_umath import ( __cpu_features__, __cpu_baseline__, __cpu_dispatch__ ) for name,info_dict in globals().items(): if name[0] == "_" or type(info_dict) is not type({}): continue print(name + ":") if not info_dict: print(" NOT AVAILABLE") for k,v in info_dict.items(): v = str(v) if k == "sources" and len(v) > 200: v = v[:60] + " ...\n... " + v[-60:] print(" %s = %s" % (k,v)) features_found, features_not_found = [], [] for feature in __cpu_dispatch__: if __cpu_features__[feature]: features_found.append(feature) else: features_not_found.append(feature) print("Supported SIMD extensions in this NumPy install:") print(" baseline = %s" % (','.join(__cpu_baseline__))) print(" found = %s" % (','.join(features_found))) print(" not found = %s" % (','.join(features_not_found))) N)Únumpy.distutils.system_infor¸Údistutils.dir_utilrérXryrŒr rãrõr�ÚargvÚtextwrapÚdedentÚ saved_resultsrå)rªr¸rér2r)rss r rr s¸€ð8Ð7Ð7Ð7Ð7Ð7Ø)Ð)Ð)Ð)Ð)Ð)Ø €F�2Œ7�?Š?˜6Ñ "Ô "Ñ#Ô#Ð#Ý ˆf�cÑ Ô ðu˜aØ �ŠÐ;½r¼w×?OÒ?OÕPSÔPXÐYZÔP[Ñ?\Ô?\Ñ]Ñ^Ô^Ð^Ø �ŠÐ[Ñ\Ô\Ð\Ø �ŠÐ3Ñ4Ô4Ð4ð �Š•”ð !ñ ô ñ ô ð ð Ô-×3Ò3Ñ5Ô5ð (ð (‰DˆAˆqØ �GŠG    A A AÐ&Ñ 'Ô 'Ð 'Ð 'Ø �Š•”ðb!ñbôbñb ôb ðb ð'uðuðuñuôuðuðuðuðuðuðuøøøðuðuðuðuðn €MsÁC8E Å E ÅE cóT—|jdkstd|jz¦«‚|jS)zdReturn version major and minor of compiler instance if it is MSVC, raise an exception otherwise.Úmsvcz"Compiler instance is not msvc (%s))Ú compiler_typer®Ú_MSVCCompiler__version)Úcompilers r Ú msvc_versionrõ› s;€ð Ô ! VÒ +Ð +ÝÐ=Ø#Ô1ñ2ñ3ô3ð 3à Ô *Ð*rAcó"—ddlm}|¦«S)Nr©r3)Údistutils.msvccompilerr3r÷s r r3r3£ s%€ð>Ð=Ð=Ð=Ð=Ð=Ø !Ð !Ñ #Ô #Ð#rAz%-Werror=implicit-function-declarationz-std=c99có—d„|D¦«S)z= Some flags are valid for C but not C++. Prune them. có$—g|] }|tv¯ |‘ŒSrF)Ú_cxx_ignore_flags)rRrfs r rºz&sanitize_cxx_flags..± s#€Ð GÐ GÐ G�T¨Õ5FÐ)FÐ)FˆDÐ)FÐ)FÐ)FrArF)Úcxxflagss r r7r7­ s€ð HÐ G˜XÐ GÑ GÔ GÐGrAcó¸—tj ||¦«}tj |¦«}|j |¦«|S)z° Use importlib machinery to import a module `modname` from the file `modfile`. Depending on the `spec.loader`, the module may not be registered in sys.modules. )rÊrËÚspec_from_file_locationÚmodule_from_specÚloaderÚ exec_module)ÚmodnameÚmodfilerÎÚfoos r r8r8´ sK€õ Œ>× 1Ò 1°'¸7Ñ CÔ C€DÝ Œ.× )Ò )¨$Ñ /Ô /€CØ„K×Ò˜CÑ Ô Ð Ø €JrAr)r|T)r|r|T)NNFr»)Fr)NNN)frXrsr�rÈr³r§rÍrr r[ríÚimportlib.utilrÊÚ threadingrÚtlocalÚ functoolsrrœrÂrrÌrrr¨Ú__all__r:r6rurr…r–r-rr,rµr½r1rÒrrÍrúrrrrrrrrürrr r%r#rtÚIrxrHrBr.r/r3r/r r.r=r0r2r!r"r#rRrVr^r$r%r}r‡r&r'r(r¢r)r*r+rrrrÏr5r4rÝrrrrrõr3rûr7r8rFrAr úr sBðØ € € € Ø € € € Ø € € € Ø € € € Ø € € € Ø € € € Ø€€€ØÐÐÐØ € € € ØÐÐÐØ€€€ØÐÐÐØ%Ð%Ð%Ð%Ð%Ð%ØÐÐÐÐÐàÐÐÐØ+Ð+Ð+Ð+Ð+Ð+𠈉Œ€ð €ðððð€„Ð,Ñ-Ô-Ð-ð %ð %ð %€ð%ð%ð%ð%ð%ñ%ô%ð%ð8"8ð"8ð"8ðHððð" ð ð ð ð ð ððððð<ððð6ðððð6ððð:'ð'ð'ð #.ð#.ð#.ðJ?ð?ð?ð?ð ð ð ð ð ð ð ð6ÐÑÔðØ�D˜q a¨q¸Ø¨°¸!ÀQðHñHôH€Mð ð ð ð ð ððððð%ð%ð%ð!ð!ð!ð#ð#ð#ð$ð$ð$ð"ð"ð"ð"ð"ð"ð "�Cð"˜Cð"ð"ð"ð"ðJðððððð ð ð ð ð ð ð�” Ð0°"´$Ñ7Ô7Ô=€ Ø�B”JÐ?ÀÄÑFÔFÔLÐØ�” Ð-¨r¬tÑ4Ô4Ô:€ Ø"˜œ Ð#BÀBÄDÑIÔIÔOÐðððð ððððððððð3ð3ð3ðððð ð ð ððððððð>ð>ð>ð.ðððððð ð ð ð3ð3ð3ð "ð "ð "ð/ð/ð/ðððð4 ð ð ðððð ð ð ð)ð)ð)ð)ðVððð&,ð,ð,ð ð ð ð ðYðYðYðYðYñYôYðYðx*ð ð ð ð ðððð ð ð ð($&ð$&ð$&ð$&ðL:ð:ð:ð:ðxððð ð ð ð ð ð ð ð<ð<ð<ð*AðAðAðF+ð+ð+ð$ð$ð$ð=¸jÐIÐðHðHðHð ð ð ð ð rA