1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
Ë
hñúhc×ãó—ddlmZddlZddlZddlZddlZddlmZddlm    Z    ddl
m Z ddl Z ddlmZmZddlmZddlmZdd    lmZdd
lmZej0e«Zeej8«ZiZd4d „Zd5d „Z d6d„Z!d6d„Z"d6d„Z#ejHd7d„«Z%d8d9d„Z&d:d„Z'd;d„Z(d<d„Z)d7d„Z*d=d„Z+d>d„Z,d„Z-d?d„Z.        d@                    dAd„Z/d7d„Z0d>d„Z1dBd„Z2d>d„Z3d „d!f                    dCd"„Z4d#„Z5dDd$„Z6gd%¢Z7de7fdEd&„Z8                dF                                    dGd'„Z9dHdId(„Z:dJdKd)„Z;dLd*„Z<d d+„ddd!f                                            dMd,„Z=dNd-„Z>dOd.„Z?        d@                    dPd/„Z@dQd0„ZAej„rdd1lCmDZEyejŒrdd2lGmHZIej•d3eI«[Iyy)Ré)Ú annotationsN)ÚPath©Údeque)ÚCallable)ÚHOMEPATHÚcompat)Úlog)Ú PostGraphAPI)Úisolated)Úimportlib_metadataTcó¼—ddlm}|€i}tjtj
«}|j |«tjj|dtgz«}d|vr0tjj|jd«|g«}||d<|r%tj|d|iŽ}|j«Stj|d|iŽS)zÑ
    Executes an externally spawned Python interpreter. If capture_stdout is set to True, returns anything that was
    emitted in the standard output as a single string. Otherwise, returns the exit code.
    r)ÚCONFÚpathexÚ
PYTHONPATHÚenv)ÚPyInstaller.configrÚcopyÚdeepcopyÚosÚenvironÚupdateÚpathsepÚjoinrÚgetr    Ú exec_pythonÚstripÚexec_python_rc)ÚcmdrÚcapture_stdoutrÚpp_envÚppÚtxts       úSH:\Change_password\venv_build\Lib\site-packages\PyInstaller/utils/hooks/__init__.pyÚ__exec_python_cmdr%-s¼€õ (Ø
€{Øˆä ]‰]œ2Ÿ:™:Ó &€FØ
‡MM#Ôô
‰‰˜˜h™¬8¨*Ñ4Ó    5€BðvÑÜ Z‰Z_‰_˜fŸj™j¨Ó6¸Ð;Ó <ˆØ€Fˆ<ÑáÜ× Ñ  #Ð2¨6Ñ2ˆØy‰y‹{Ðä×$Ñ$ cÐ6¨vÑ6Ð6ócóN—tj|«}d|g}t||¬«S)Nz-c©r )ÚtextwrapÚdedentr%)Ú    statementr rs   r$Ú__exec_statementr,Is'€Ü—‘     Ó*€IØ Ð
€CÜ ˜S°Ô @Ð@r&có—t|d¬«S)a
    Execute a single Python statement in an externally-spawned interpreter, and return the resulting standard output
    as a string.
 
    Examples::
 
        tk_version = exec_statement("from _tkinter import TK_VERSION; print(TK_VERSION)")
 
        mpl_data_dir = exec_statement("import matplotlib; print(matplotlib.get_data_path())")
        datas = [ (mpl_data_dir, "") ]
 
    Notes:
        As of v5.0, usage of this function is discouraged in favour of the
        new :mod:`PyInstaller.isolated` module.
 
    Tr(©r,©r+s r$Úexec_statementr0Os€ô" ˜I°dÔ ;Ð;r&có—t|d¬«S)zf
    Executes a Python statement in an externally spawned interpreter, and returns the exit code.
    Fr(r.r/s r$Úexec_statement_rcr2cs€ô ˜I°eÔ <Ð<r&cóP—t|«j«}|syt|«S)aë
    Execute a single Python statement in an externally-spawned interpreter, and :func:`eval` its output (if any).
 
    Example::
 
      databases = eval_statement('''
         import sqlalchemy.databases
         print(sqlalchemy.databases.__all__)
         ''')
      for db in databases:
         hiddenimports.append("sqlalchemy.databases." + db)
 
    Notes:
        As of v5.0, usage of this function is discouraged in favour of the
        new :mod:`PyInstaller.isolated` module.
 
    Ú)r0rÚeval)r+r#s  r$Úeval_statementr6js'€ô$ ˜Ó
+€CÙ àÜ ‹9Ðr&cóà—ddl}ddl}t|jj    ««}|j |«t t|jj    ««|z
|hz
«S)aÇ
    Return list of modules required by binary (C/C++) Python extension.
 
    Python extension files ends with .so (Unix) or .pyd (Windows). It is almost impossible to analyze binary extension
    and its dependencies.
 
    Module cannot be imported directly.
 
    Let's at least try import it in a subprocess and observe the difference in module list from sys.modules.
 
    This function could be used for 'hiddenimports' in PyInstaller hooks files.
    rN)ÚsysÚ    importlibÚsetÚmodulesÚkeysÚ import_moduleÚlist)Ú module_namer8r9Úoriginals    r$Úget_pyextension_importsrAƒs\€óÛä3—;‘;×#Ñ#Ó%Ó&€Hð×јKÔ(ô ”C—K‘K×$Ñ$Ó&Ó'¨(Ñ2°k°]ÑBÓ CÐCr&có„—ddl}ddg}d}|r|j|«d|z}nd}    |j|«j«}tj d|›d|›d    «|r|jd «Sy#t $rtj d
«YŒ4|j$rtj d |z«YŒ\wxYw) z§
    Return the homebrew path to the requested formula, or the global prefix when called with no argument.
 
    Returns the path as a string or None if not found.
    rNÚbrewz--prefixzhomebrew formula "%s"zhomebrew prefixzFound z at "ú"zDetected homebrew not installedz#homebrew formula "%s" not installedÚutf8)    Ú
subprocessÚappendÚ check_outputrÚloggerÚdebugÚOSErrorÚCalledProcessErrorÚdecode)ÚformularFÚbrewcmdÚpathÚdbgstrs     r$Úget_homebrew_pathrRs»€ó ؐzÐ"€GØ €DÙØ‰wÔØ(¨7Ñ2‰à"ˆðFØ×&Ñ& wÓ/×5Ñ5Ó7ˆÜ Š ª6²4Ð8Ô9ñ
 ؏{‰{˜6Ó"Ð"àøô ò8܏ ‰ Ð6Ö7Ø × (Ñ (òF܏ ‰ Ð:¸WÑDÖEðFús§;A6Á6B?Â&B?Â>B?cóD—|j|«r|t|«dS|S)zŸ
    This function removes the given prefix from a string, if the string does indeed begin with the prefix; otherwise,
    it returns the original string.
    N)Ú
startswithÚlen)ÚstringÚprefixs  r$Ú remove_prefixrX¸s(€ð
×јԠؔc˜&“klÐ#Ð#àˆ r&cóJ—|r |j|«r|dt|« S|S)z
    This function removes the given suffix from a string, if the string does indeed end with the suffix; otherwise,
    it returns the original string.
    N)ÚendswithrU)rVÚsuffixs  r$Ú remove_suffixr\Ãs*€ñ &—/‘/ &Ô)ؐmœ˜F› |Ð$Ð$àˆ r&có¾—tjD])}|j|«sŒ|d|j|«cStj
j |«dS)z†
    This function returns filename without its extension.
 
    For Python C modules it removes even whole '.cpython-34m.so' etc.
    r)r    ÚEXTENSION_SUFFIXESrZÚrfindrrPÚsplitext)ÚfilenameÚsuffs  r$Úremove_file_extensionrcÐsY€ô ×)Ñ)ò4ˆØ × Ñ ˜TÕ "ؘA˜hŸn™n¨TÓ2Ð3Ò 3ð4ô 7‰7× Ñ ˜HÓ % aÑ (Ð(r&cór—tjd„«}    ||«S#tj$rYywxYw)aš
    Check if the specified module can be imported.
 
    Intended as a silent module availability check, as it does not print ModuleNotFoundError traceback to stderr when
    the module is unavailable.
 
    Parameters
    ----------
    module_name : str
        Fully-qualified name of the module.
 
    Returns
    ----------
    bool
        Boolean indicating whether the module can be imported or not.
    có:—    t|«y#t$rYywxYw)NTF)Ú
__import__Ú    Exception©r?s r$Ú_can_import_modulez-can_import_module.<locals>._can_import_moduleñs$€ð    Ü {Ô #ØøÜò    Ùð    ús ‚ Ž    ™F)r ÚdecorateÚSubprocessDiedError)r?ris  r$Úcan_import_modulerlÝsD€ô(×ÑñóððÙ! +Ó.Ð.øÜ × 'Ñ 'òÙðús ˜  6µ6cóˆ—tjd„«}    |||«S#t$r}td|›d|›«|‚d}~wwxYw)a·
    Get the string value of the passed attribute from the passed module if this attribute is defined by this module
    _or_ raise `AttributeError` otherwise.
 
    Since modules cannot be directly imported during analysis, this function spawns a subprocess importing this module
    and returning the string value of this attribute in this module.
 
    Parameters
    ----------
    module_name : str
        Fully-qualified name of this module.
    attr_name : str
        Name of the attribute in this module to be retrieved.
 
    Returns
    ----------
    str
        String value of this attribute.
 
    Raises
    ----------
    AttributeError
        If this attribute is undefined.
    cóD—ddl}|j|«}t||«S©Nr)r9r=Úgetattr)r?Ú    attr_namer9Úmodules    r$Ú_get_module_attributez3get_module_attribute.<locals>._get_module_attributes"€ãØ×(Ñ(¨Ó5ˆÜv˜yÓ)Ð)r&zFailed to retrieve attribute z  from module N)r rjrgÚAttributeError)r?rqrsÚes    r$Úget_module_attributervs_€ô2×Ññ*óð*ð kÙ$ [°)Ó<Ð<øÜ òkÜÐ<¸Y¸KÀ}ÐU`ÐTaÐbÓcÐijÐjûðkús˜!¡    Aª<¼AcóP—d}d|vr@    ddl}|jj|«j}|j    |«}|r|S    tjd„«}    ||«}|S#t
t ttf$rYŒ<wxYw#t$r}t d|›d«|‚d}~wwxYw)aù
    Get the absolute path to the specified module or package.
 
    Modules and packages *must not* be directly imported in the main process during the analysis. Therefore, to
    avoid leaking the imports, this function uses an isolated subprocess when it needs to import the module and
    obtain its ``__file__`` attribute.
 
    Parameters
    ----------
    package : str
        Fully-qualified name of module or package.
 
    Returns
    ----------
    str
        Absolute path of this module.
    Nú.rcó—    ddl}|jj|«j}|j    |«}|r|S    ddl    }|j|«}|jS#t
t ttf$rYŒ<wxYwro) Úimportlib.utilÚutilÚ    find_specÚloaderÚ get_filenameÚ ImportErrorrtÚ    TypeErrorÚ
ValueErrorr9r=Ú__file__)Úpackager9r}raÚps     r$Ú_get_module_file_attributez=get_module_file_attribute.<locals>._get_module_file_attributeJs}€ð
    Û !Ø—^‘^×-Ñ-¨gÓ6×=Ñ=ˆFØ×*Ñ*¨7Ó3ˆHáØðó     Ø × #Ñ # GÓ ,ˆØz‰zÐøô œ^¬Y¼
ÐCò    Ù ð    ús‚=A"Á"A>Á=A>z:Failed to obtain the __file__ attribute of package/module ú!) rzr{r|r}r~rrtr€rr rjrg)rƒrar9r}r…rus      r$Úget_module_file_attributer‡&s΀ð, €HØ
'Ñð        Û !Ø—^‘^×-Ñ-¨gÓ6×=Ñ=ˆFØ×*Ñ*¨7Ó3ˆHñؐðô ×Ññóðð(jÙ-¨gÓ6ˆð €Oøô=œ^¬Y¼
ÐCò    Ù ð    ûô6 òjÜÐVÐW^ÐV_Ð_`ÐaÓbÐhiÐiûðjús)ˆ=A(ÁBÁ(BÂB    B%ÂB  B%có—t|d«S)a
    Get the absolute path of the PyWin32 DLL specific to the PyWin32 module with the passed name (`pythoncom`
    or `pywintypes`).
 
    On import, each PyWin32 module:
 
    * Imports a DLL specific to that module.
    * Overwrites the values of all module attributes with values specific to that DLL. This includes that module's
      `__file__` attribute, which then provides the absolute path of that DLL.
 
    This function imports the module in isolated subprocess and retrieves its `__file__` attribute.
    r‚)rvrhs r$Ú!get_pywin32_module_file_attributer‰gs€ô     ¨ZÓ 8Ð8r&có—tjj|«}    tj|j
«}|jsy|jj|d¬«S#tj $rYywxYw)aß
    Check if a :pep:`0508` requirement is satisfied. Usually used to check if a package distribution is installed,
    or if it is installed and satisfies the specified version requirement.
 
    Parameters
    ----------
    requirement : str
        Requirement string in :pep:`0508` format.
 
    Returns
    ----------
    bool
        Boolean indicating whether the requirement is satisfied or not.
 
    Examples
    --------
 
    ::
 
        # Assume Pillow 10.0.0 is installed.
        >>> from PyInstaller.utils.hooks import check_requirement
        >>> check_requirement('Pillow')
        True
        >>> check_requirement('Pillow < 9.0')
        False
        >>> check_requirement('Pillow >= 9.0, < 11.0')
        True
    FT)Ú prereleases)    Ú    packagingÚ requirementsÚ Requirementr ÚversionÚnameÚPackageNotFoundErrorÚ    specifierÚcontains)Ú requirementÚparsed_requirementrs   r$Úcheck_requirementr–zs}€ô:#×/Ñ/×;Ñ;¸KÓHÐðÜ$×,Ñ,Ð-?×-DÑ-DÓEˆð
× 'Ò 'Øð × 'Ñ '× 0Ñ 0°ÀdÐ 0Ó KÐKøô × 2Ñ 2òÙðús¡A*Á*BÁ?BcóL—| td«‚| td«‚t|«S)a
    A compatibility wrapper for :func:`check_requirement`, intended for backwards compatibility with existing hooks.
 
    In contrast to original implementation from PyInstaller < 6, this implementation only checks the specified
    :pep:`0508` requirement string; i.e., it tries to retrieve the distribution metadata, and compare its version
    against optional version specifier(s). It does not attempt to fall back to checking the module's version attribute,
    nor does it support ``version`` and ``version_attr`` arguments.
 
    Parameters
    ----------
    requirements : str
        Requirements string passed to the :func:`check_requirement`.
    version : None
        Deprecated and unsupported. Must be ``None``.
    version_attr : None
        Deprecated and unsupported. Must be ``None``.
 
    Returns
    ----------
    bool
        Boolean indicating whether the requirement is satisfied or not.
 
    Raises
    ----------
    ValueError
        If either ``version`` or ``version_attr`` are specified and are not None.
    zKCalling is_module_satisfies with version argument is not supported anymore.zPCalling is_module_satisfies with version argument_attr is not supported anymore.)rr–)rrÚ version_attrs   r$Úis_module_satisfiesr™ªs4€ð@ÐÜÐfÓgÐgØÐÜÐkÓlÐlÜ ˜\Ó *Ð*r&cóN—dd„}d|vr||«Stj||«S)zû
    Check if a Python module is really a module or is a package containing other modules, without importing anything
    in the main process.
 
    :param module_name: Module name to check.
    :return: True if module is a package else otherwise.
    cóė    ddl}|jj|«}t|j«xs|j
j d«S#t$rYywxYw)aà
        Determines whether the given name represents a package or not. If the name represents a top-level module or
        a package, it is not imported. If the name represents a sub-module or a sub-package, its parent is imported.
        In such cases, this function should be called from an isolated suprocess.
 
        NOTE: the fallback check for `__init__.py` is there because `_distutils_hack.DistutilsMetaFinder` from
        `setuptools` does not set spec.submodule_search_locations for `distutils` / `setuptools._distutils` even though
        it is a package. The alternative would be to always perform full import, and check for the `__path__` attribute,
        but that would also always require full isolation.
        rNz __init__.pyF)rzr{r|ÚboolÚsubmodule_search_locationsÚoriginrZrg)r?r9Úspecs   r$Ú _is_packagezis_package.<locals>._is_packageÙsV€ð    Û !Ø—>‘>×+Ñ+¨KÓ8ˆDܘ×7Ñ7Ó8Ò_¸D¿K¹K×<PÑ<PÐQ^Ó<_Ð _øÜò    Ùð    ús‚AAÁ    AÁArx©r?Ústr©r Úcall)r?r s  r$Ú
is_packager¥Ñs-€óð( +ÑÙ˜;Ó'Ð'ä}‰}˜[¨+Ó6Ð6r&cóV—dd„}d|vr
||«}|Stj||«}|S)a
    Given a package name, return all paths associated with the package. Typically, packages have a single location
    path, but PEP 420 namespace packages may be split across multiple locations. Returns an empty list if the specified
    package is not found or is not a package.
    cóԗ    ddl}|jj|«}|r |jsgS|jDcgc] }t    |«‘Œc}Scc}w#t
$rgcYSwxYw)aç
        Retrieve package path(s), as advertised by submodule_search_paths attribute of the spec obtained via
        importlib.util.find_spec(package). If the name represents a top-level package, the package is not imported.
        If the name represents a sub-module or a sub-package, its parent is imported. In such cases, this function
        should be called from an isolated suprocess. Returns an empty list if specified package is not found or is not
        a package.
        rN)rzr{r|rr¢rg)rƒr9rŸrPs    r$Ú_get_package_pathsz1get_all_package_paths.<locals>._get_package_pathsùs`€ð    Û !Ø—>‘>×+Ñ+¨GÓ4ˆDÙ˜t×>Ò>ؐ    Ø*.×*IÑ*IÖJ $”C˜•IÒJÐ JùÒJøÜò    ØŠIð    ús'‚.A±A¿AÁAÁAÁ A'Á&A'rx©rƒr¢r£)rƒr¨Ú    pkg_pathss   r$Úget_all_package_pathsr«ós<€ó ð& 'ÑÙ& wÓ/ˆ    ð Ðô—M‘MÐ"4°gÓ>ˆ    à Ðr&cóV—t||jdtj««S)a6
    Given a package location path and package name, return the package base path, i.e., the directory in which the
    top-level package is located. For example, given the path ``/abs/path/to/python/libs/pkg/subpkg`` and
    package name ``pkg.subpkg``, the function returns ``/abs/path/to/python/libs``.
    rx)r\ÚreplacerÚsep)Ú package_pathrƒs  r$Úpackage_base_pathr°s €ô ˜ w§¡°s¼B¿F¹FÓ'CÓ DÐDr&có®—t|«}|std|›d«‚t|«dkDrtj    d||«|d}t ||«}||fS)a£
    Given a package, return the path to packages stored on this machine and also returns the path to this particular
    package. For example, if pkg.subpkg lives in /abs/path/to/python/libs, then this function returns
    ``(/abs/path/to/python/libs, /abs/path/to/python/libs/pkg/subpkg)``.
 
    NOTE: due to backwards compatibility, this function returns only one package path along with its base directory.
    In case of PEP 420 namespace package with multiple location, only first location is returned. To obtain all
    package paths, use the ``get_all_package_paths`` function and obtain corresponding base directories using the
    ``package_base_path`` helper.
    z    Package 'z%' does not exist or is not a package!ézQget_package_paths - package %s has multiple paths (%r); returning only first one!r)r«rrUrIÚwarningr°)rƒrªÚpkg_dirÚpkg_bases    r$Úget_package_pathsr¶si€ô& gÓ.€I٠ܘ9 W IÐ-RÐSÓTÐTä
ˆ9ƒ~˜Ò܏‰Ø _ÐahÐjsô    
ð˜‰l€GÜ  ¨'Ó2€Hà WÐ Ðr&có—y©NT©©rs r$ú<lambda>r»9ór&ú    warn oncecó¢—t|t«s td«‚|dvrtd|›d«‚tj d|«t |«s&tj d|«t|«r|gSgSg}t«}|j|«tj«5}|rk|j«}|jt||«\}}}||D    cgc] }    ||    «sŒ |    ‘Œc}    z }|D]}
||
«sŒ |j|
«Œ|rŒkddd«t|«}tj d|«|Scc}    w#1swYŒ1xYw)    a›
    List all submodules of a given package.
 
    Arguments:
        package:
            An ``import``-able package.
        filter:
            Filter the submodules found: A callable that takes a submodule name and returns True if it should be
            included.
        on_error:
            The action to take when a submodule fails to import. May be any of:
 
            - raise: Errors are reraised and terminate the build.
            - warn: Errors are downgraded to warnings.
            - warn once: The first error issues a warning but all
              subsequent errors are ignored to minimise *stderr pollution*. This
              is the default.
            - ignore: Skip all errors. Don't warn about anything.
    Returns:
        All submodules to be assigned to ``hiddenimports`` in a hook.
 
    This function is intended to be used by hook scripts, not by main PyInstaller code.
 
    Examples::
 
        # Collect all submodules of Sphinx don't contain the word ``test``.
        hiddenimports = collect_submodules(
            "Sphinx", ``filter=lambda name: 'test' not in name)
 
    .. versionchanged:: 4.5
        Add the **on_error** parameter.
 
    úpackage must be a str)Úignorer½ÚwarnÚraisezInvalid on-error action 'z:': Must be one of ('ignore', 'warn once', 'warn', 'raise')zCollecting submodules for %sz)collect_submodules - %s is not a package.Nz)collect_submodules - found submodules: %s)Ú
isinstancer¢r€rrIrJr¥rlrrGr ÚPythonÚpopr¤Ú_collect_submodulesÚsorted) rƒÚfilterÚon_errorÚpackage_submodulesÚtodoÚisolated_pythonrr;Ú subpackagesrrÚsubpackage_names            r$Úcollect_submodulesrÏ7sY€ôN gœsÔ #ÜÐ/Ó0Ð0ØÐ?Ñ?ÜØ'¨ zÐ1kÐ ló
ð    
ô ‡LLÐ/°Ô9ô gÔ Ü ‰ Ð@À'ÔJô ˜WÔ %ؐ9Р؈    ðÐä ‹7€D؇KKÔä    ‰Ó    ð 1˜oÙà—8‘8“:ˆDØ-<×-AÑ-AÔBUÐW[Ð]eÓ-fÑ *ˆG[ (ð ¸Ö"R¨fÁ6È&Å>¢6Ò"RÑ RÐ ð$/ò 1Ù˜/Õ*Ø—K‘K Õ0ð 1ò÷ 1ô Ð 2Ó3Ðä
‡LLÐ<Ð>PÔQØ Ðùò#S÷ 1ð 1ús*Â'3Eà EÃ(EÃ,EÃ?EÅEÅEc    óÖ—ddl}ddl}ddlm}ddlm}|j d|«g}g}    t|«||jvr|||fSt!|j|dd«xsg}    |    s|||fS|j#|«|j d||    «|j%|    |dz«D]+\}
}} | s|j#|«Œ|j#|«Œ-|||fS#t$r„}|dvr`ddl    m}dj|t|«|««j«}|jd|›d|›d    |›«|d
k(rd }|||fcYd}~S|d k(rtd |›d«|‚Yd}~Œ,d}~wwxYw)Nr)Úformat_exception_only)rIz-collect_submodules - scanning (sub)package %s)rÁr½r4z"Failed to collect submodules for 'z' because importing 'z
' raised: r½rÀrÂzUnable to load subpackage 'z'.Ú__path__z@collect_submodules - scanning (sub)package %s in location(s): %srx)r8ÚpkgutilÚ    tracebackrÑÚPyInstaller.utils.hooksrIrJrfrgÚPyInstaller.logrÚtyperr³rr;rprGÚ iter_modules) rrÉr8rÓrÑrIr;rÍÚexÚpathsÚimporterÚispkgs             r$rÆrƋsœ€ÛÛÝ/å.à
‡LLÐ@À$ÔGà€GØ€Kð Nܐ4Ôð 3—;‘;ÑØ˜  XÐ-Ð-ô C—K‘K Ñ% z°4Ó 8Ò >¸B€E٠ؘ  XÐ-Ð-ð ‡NN4Ôð ‡LLÐSÐUYÐ[`ÔaØ!(×!5Ñ!5°e¸TÀC¹ZÓ!Hò%ш$˜ÙØ N‰N˜4Õ  à × Ñ ˜tÕ $ð    %ð K Ð )Ð)øôA ò
Nà Ð,Ñ ,Ý .Ø—‘Ñ.¬t°B«x¸Ó<Ó=×CÑCÓEˆBØ N‰NÐ?À¸vÐEZÐ[_ÐZ`Ð`jÐkmÐjnÐoÔ pؘ;Ò&Ø#Ø˜K¨Ð1Õ 1Ø ˜Ò  ÜР;¸D¸6ÀÐDÓEÈ2Ð Mõ!ûð
Nús$¬ Cà   E(Ã$AE#ÅE(ÅE#Å#E(có8—|j|dz«xs||k(S)a 
    This helper function is designed for use in the ``filter`` argument of :func:`collect_submodules`, by returning
    ``True`` if the given ``name`` is a module or a submodule of ``mod_or_submod``.
 
    Examples:
 
        The following excludes ``foo.test`` and ``foo.test.one`` but not ``foo.testifier``. ::
 
            collect_submodules('foo', lambda name: not is_module_or_submodule(name, 'foo.test'))``
    rx)rT)rÚ mod_or_submods  r$Úis_module_or_submodulerß½s"€ð ?‰?˜=¨3Ñ.Ó /Ò H°4¸=Ñ3HÐHr&)ú*.dllz*.dylibzlib*.soc    ó—tjd|z«t|t«s t    d«‚t |«stj d|«gSt|«}g}|D]–}t||«}|D]ƒ}t|«j|«}|D]b}    |r|}
n|    jj|«}
tjd|    ›d|
›«|jt|    «t|
«f«ŒdŒ…Œ˜|S)až
    This function produces a list of (source, dest) of dynamic library files that reside in package. Its output can be
    directly assigned to ``binaries`` in a hook script. The package parameter must be a string which names the package.
 
    :param destdir: Relative path to ./dist/APPNAME where the libraries should be put.
    :param search_patterns: List of dynamic library filename patterns to collect.
    z#Collecting dynamic libraries for %sr¿zZcollect_dynamic_libs - skipping library collection for module '%s' as it is not a package.ú z, )rIrJrÃr¢r€r¥r³r«r°rÚrglobÚparentÚ relative_torG) rƒÚdestdirÚsearch_patternsÚpkg_dirsÚdylibsr´rµÚpatternÚfilesÚsourceÚdests            r$Úcollect_dynamic_libsrîÓsü€ô ‡LLÐ6¸Ñ@ÔAô gœsÔ #ÜÐ/Ó0Ð0ô gÔ Ü‰Ø hÐjqô    
ðˆ    ä$ WÓ-€HØ €FØò8ˆÜ$ W¨gÓ6ˆà&ò     8ˆGܘ“M×'Ñ'¨Ó0ˆEØò     8áà"‘Dð"Ÿ=™=×4Ñ4°XÓ>DÜ— ’ ª&±$Ð7Ô8Ø— ‘ œs 6›{¬C°«IÐ6Õ7ñ     8ñ     8ð8ð  €Mr&c óx‡ —tjd|z«t|t«s t    d«‚t |«stj d|«gS|r t|«ng}t|«}|s%|tjDcgc]}d|z‘Œ    c}z }n)|tjDcgc] }|dvsŒd|z‘Œc}z }|jd«|r t|«ndg}t|«}ˆ fd„}g}    t|«}
|
D]} t«Š t| |«} |r tj j#| |«} || ||d«|| ||d    «|    ‰ Dcgc]1}t|«t|j$j'| ««f‘Œ3c}z }    Œ’tjd
|    «|    Scc}wcc}wcc}w) aÐ
 
    This function produces a list of ``(source, dest)`` entries for data files that reside in ``package``.
    Its output can be directly assigned to ``datas`` in a hook script; for example, see ``hook-sphinx.py``.
    The data files are all files that are not shared libraries / binary python extensions (based on extension
    check) and are not python source (.py) files or byte-compiled modules (.pyc). Collection of the .py and .pyc
    files can be toggled via the ``include_py_files`` flag.
    Parameters:
 
    -   The ``package`` parameter is a string which names the package.
    -   By default, python source files and byte-compiled modules (files with ``.py`` and ``.pyc`` suffix) are not
        collected; setting the ``include_py_files`` argument to ``True`` collects these files as well. This is typically
        used when a package requires source .py files to be available; for example, JIT compilation used in
        deep-learning frameworks, code that requires access to .py files (for example, to check their date), or code
        that tries to extend `sys.path` with subpackage paths in a way that is incompatible with PyInstaller's frozen
        importer.. However, in contemporary PyInstaller versions, the preferred way of collecting source .py files is by
        using the **module collection mode** setting (which enables collection of source .py files in addition to or
        in lieu of collecting byte-compiled modules into PYZ archive).
    -   The ``subdir`` argument gives a subdirectory relative to ``package`` to search, which is helpful when submodules
        are imported at run-time from a directory lacking ``__init__.py``.
    -   The ``excludes`` argument contains a sequence of strings or Paths. These provide a list of
        `globs <https://docs.python.org/3/library/pathlib.html#pathlib.Path.glob>`_
        to exclude from the collected data files; if a directory matches the provided glob, all files it contains will
        be excluded as well. All elements must be relative paths, which are relative to the provided package's path
        (/ ``subdir`` if provided).
 
        Therefore, ``*.txt`` will exclude only ``.txt`` files in ``package``\ 's path, while ``**/*.txt`` will exclude
        all ``.txt`` files in ``package``\ 's path and all its subdirectories. Likewise, ``**/__pycache__`` will exclude
        all files contained in any subdirectory named ``__pycache__``.
    -   The ``includes`` function like ``excludes``, but only include matching paths. ``excludes`` override
        ``includes``: a file or directory in both lists will be excluded.
 
    This function does not work on zipped Python eggs.
 
    This function is intended to be used by hook scripts, not by main PyInstaller code.
    zCollecting data files for %sr¿zUcollect_data_files - skipping data collection for module '%s' as it is not a package.ú**/*>ú.pyú.pycz**/__pycache__/*.pycc    ó8•—t|«D]‹\}}t|«j|«D]i}|j«r3||ksŒ|j    t |dz j |«««ŒF|r‰j|«n‰j|«ŒkŒy)Nrð)    Ú    enumeraterÚglobÚis_dirrGr¢råÚaddÚdiscard)r´ÚcludesÚ    clude_lenÚ
is_includeÚiÚcÚgÚsourcess       €r$Ú clude_walkerz(collect_data_files.<locals>.clude_walkerHsŠø€ô˜fÓ%ò        I‰DˆAˆqܘ'“]×'Ñ'¨Ó*ò IØ—8‘8”:à˜9“}àŸ ™ ¤c¨1¨v©:×*BÑ*BÀ7Ó*KÓ&LÕMñ'1G—K‘K ”N°g·o±oÀaÓ6Hùñ Iñ        Ir&TFz$collect_data_files - Found files: %s)rIrJrÃr¢r€r¥r³r>rUr    Ú ALL_SUFFIXESrGr«r:r°rrPrrärå)rƒÚinclude_py_filesÚsubdirÚexcludesÚincludesÚ excludes_lenÚsÚ includes_lenrÚdatasrèr´rµrÿs             @r$Úcollect_data_filesr
ýs©ø€ôT ‡LLÐ/°'Ñ9Ô:ô gœsÔ #ÜÐ/Ó0Ð0ô gÔ Ü‰ÐnÐpwÔx؈    ñ"*ŒtHŒ~¨r€Häx“=€Lñ ج×)<Ñ)<Ö= AV˜a“ZÒ=Ñ=‰ð    ¬×)<Ñ)<ÖY AÀÈÒ@XV˜a“ZÒYÑYˆð ‡OOÐ*Ô+ñ"*ŒtHŒ~°¨x€Hܐx“=€Lô
Ið, €Eä$ WÓ-€HØò RˆÜ“%ˆä$ W¨gÓ6ˆÙ Ü—g‘g—l‘l 7¨FÓ3ˆGñ    W˜h¨ °dÔ;ِW˜h¨ °eÔ<ð    ÈÖQÀA”3q“6œ3˜qŸx™x×3Ñ3°HÓ=Ó>Ò?ÒQÑQ‰ð Rô ‡LLÐ7¸Ô?Ø €Lùòo>ùòZùòbRs F-Â,    F2Â6F2Å6F7cóÔ—t|t«s td«‚g}tj|«D]²\}}}|D]§}tj
j |«d}|s    |tvsŒ0tj
j||«}    tt|«j|««}
| tj
j||
«}
|j|    |
f«Œ©Œ´|S)a
    This function produces a list of (source, dest) non-Python (i.e., data) files that reside somewhere on the system.
    Its output can be directly assigned to ``datas`` in a hook script.
 
    This function is intended to be used by hook scripts, not by main PyInstaller code.
    zpath must be a strr²) rÃr¢r€rÚwalkrPr`ÚPY_IGNORE_EXTENSIONSrrrårG) rPrærr    ÚdirpathÚdirnamesrëÚfÚ    extensionrìrís            r$Úcollect_system_data_filesrssЀô dœCÔ  ÜÐ,Ó-Ð-ð €EÜ$&§G¡G¨D£Mò    -Ñ ˆ˜5Øò    -ˆAÜŸ™×(Ñ(¨Ó+¨AÑ.ˆIÙ IÔ5IÒ$I䟙Ÿ™ g¨qÓ1Üœ4 ›=×4Ñ4°TÓ:Ó;ØÐ&ÜŸ7™7Ÿ<™<¨°Ó6DØ— ‘ ˜f d˜^Õ,ñ    -ð    -ð €Lr&c ó—ddlm}||g«}t«}g}|r¼|j«}||vrŒt    j
|«}t |d«stdt|«›d|›d«‚|j}t|t«s•    |jj|jjz }|j«r<|jj!d«r!tdt#|«›d    |›d
|›d |›d     «‚td|›d t|«›d«‚|j%«rk|jdk(rO|jjj!d«r*t'j(j*|j,ddŽ}    n2|j}    n%|j«rd}    ntd|›d|›d«‚|jjdk(rD|jjjdk(r!t&j(j+dd|    «}    |j/t#|«t#|    «f«|s|S|j1|«|j2xsgD
cgc]!}
t4j6j9|
«‘Œ#} }
| D
cgc]5}
|
j:|
j:j=«sŒ*|
j‘Œ7} }
|| z }|rŒ¼|S#t$r|j}YŒ;wxYwcc}
wcc}
w)aL
    Collect distribution metadata so that ``importlib.metadata.distribution()`` or ``pkg_resources.get_distribution()``
    can find it.
 
    This function returns a list to be assigned to the ``datas`` global variable. This list instructs PyInstaller to
    copy the metadata for the given package to the frozen application's data directory.
 
    Parameters
    ----------
    package_name : str
        Specifies the name of the package for which metadata should be copied.
    recursive : bool
        If true, collect metadata for the package's dependencies too. This enables use of
        ``importlib.metadata.requires('package')`` or ``pkg_resources.require('package')`` inside the frozen
        application.
 
    Returns
    -------
    list
        This should be assigned to ``datas``.
 
    Examples
    --------
        >>> from PyInstaller.utils.hooks import copy_metadata
        >>> copy_metadata('sphinx')
        [('c:\python27\lib\site-packages\Sphinx-1.3.2.dist-info',
          'Sphinx-1.3.2.dist-info')]
 
 
    Some packages rely on metadata files accessed through the ``importlib.metadata`` (or the now-deprecated
    ``pkg_resources``) module. PyInstaller does not collect these metadata files by default.
    If a package fails without the metadata (either its own, or of another package that it depends on), you can use this
    function in a hook to collect the corresponding metadata files into the frozen application. The tuples in the
    returned list contain two strings. The first is the full path to the package's metadata directory on the system. The
    second is the destination name, which typically corresponds to the basename of the metadata directory. Adding these
    tuples the the ``datas`` hook global variable, the metadata is collected into top-level application directory (where
    it is usually searched for).
 
    .. versionchanged:: 4.3.1
 
        Prevent ``dist-info`` metadata folders being renamed to ``egg-info`` which broke ``pkg_resources.require`` with
        *extras* (see :issue:`#3033`).
 
    .. versionchanged:: 4.4.0
 
        Add the **recursive** option.
    rrÚ_pathzUnsupported distribution type z for z  - does not have _path attributez.eggz"Cannot collect metadata from path zu, which appears to be inside a zipped egg. PyInstaller >= 6.0 does not support zipped eggs anymore. Please reinstall z» using modern package installation method instead of deprecated 'python setup.py install'. For example, if you are using pip package manager:
1. uninstall the zipped egg:
  pip uninstall zŽ
2. make sure pip and its dependencies are up-to-date:
  python -m pip install --upgrade pip setuptools
3. install the package:
  pip install zb
To install a package from source, pass the path to the source directory to 'pip install' command.z, which is of unsupported type rxzEGG-INFOéþÿÿÿNzDistribution metadata path z is neither file nor directory!Ú_vendorÚ
setuptools)Ú collectionsrr:rÅr Ú distributionÚhasattrÚ RuntimeErrorr×rrÃrrärrgÚis_filerZr¢rörrPrÚpartsrGr÷ÚrequiresrŒrrŽÚmarkerÚevaluate) Ú package_nameÚ    recursiverrËÚdoneÚoutÚdistÚsrc_pathÚ
src_parentÚ    dest_pathÚreqrs             r$Ú copy_metadatar*Žsá€õ`"á ,Ó  €DÜ ‹5€DØ
€Câ
Ø—x‘x“zˆ Ø ˜4Ñ Ø ä!×.Ñ.¨|Ó<ˆô
t˜WÔ%ÜØ0´°d³° ¸EÀ,ÀÐOoÐpóð ð—:‘:ˆô˜(¤DÔ)ð
 -Ø%Ÿ_™_×3Ñ3°h·o±o×6JÑ6JÑJ
ð×!Ñ!Ô#¨
¯©×(@Ñ(@ÀÔ(HÜ"Ø8¼¸X»Ð8IðJaØamÐ`pðq'ð(4 nð5%ð&2 Nð3xð
xó ð ô#Ø8¸¸ ÐDcÔdhÐiqÓdrÐcsÐstÐuóðð ?‰?Ô ð}‰} 
Ò*¨x¯©×/CÑ/C×/LÑ/LÈVÔ/TÜŸG™GŸL™L¨(¯.©.¸¸Ð*=Ð>‘    à$ŸM™M‘    Ø × Ñ Ô ð‰IäØ-¨h¨\¸¸|¸nÐLkÐlóð ð ?‰?× Ñ  9Ò ,°·±×1GÑ1G×1LÑ1LÐP\Ò1\ÜŸ™Ÿ ™  \°9¸iÓHˆIà 
‰
”C˜“M¤3 y£>Ð2Ô3áØˆJØ ‰Ôð
LPÏ=É=ÒK^Ð\^Ö_ÀCœ    ×.Ñ.×:Ñ:¸3Õ?Ð_ˆ Ð_Ø,8Öh S¸C¿J¹JÐ<NÐRU×R\ÑR\×ReÑReÕRg˜Ÿ›Ðhˆ Ðhà  шók ðn €Jøôwò -Ø%Ÿ_™_“
ð -üòl`ùÚhs$ -KÉ*&K9Ê+K>ËK>ËK6Ë5K6có¶—    tj|«}|jd«}||j«Sy#tj$rYnwxYw|}tj
«}|j |«}|xsgD]V}    tj|«}|jd«}||j«cSŒ?#tj$rYŒTwxYwy)aè
    Try to find which package manager installed the specified distribution (e.g., pip, conda, rpm) by reading INSTALLER
    file from distribution's metadata.
 
    If the specified distribution does not exist, fall back to treating the passed name as importable package/module
    name, and attempt to look up its associated distribution name; this matches the behavior of implementation found
    in older PyInstaller versions (<= v6.12.0).
 
    :param dist_name: Name of distribution to look up
    :return: Name of package manager or None
 
    .. versionchanged:: 6.13
        The passed name is now first treated as a distribution name (direct look-up), and only if that fails, it is
        treated as importable package/module name.
    Ú    INSTALLERN)r rÚ    read_textrr‘Úpackages_distributionsr)Ú    dist_namer%Úinstaller_textr?Ú pkg_to_distÚ
dist_namess      r$Ú get_installerr3sì€ð$     Ü!×.Ñ.¨yÓ9ˆØŸ™¨ Ó4ˆØ Ð %Ø!×'Ñ'Ó)Ð )ðøÜ × 2Ñ 2ò Ù ð úð€KÜ$×;Ñ;Ó=€KØ—‘ Ó-€Jð Ò% 2ò    ˆ    ð    Ü%×2Ñ2°9Ó=ˆDØ!Ÿ^™^¨KÓ8ˆNØÐ)Ø%×+Ñ+Ó-Ò-ð*øä!×6Ñ6ò    ñ ð    úð     ð s!‚7;»AÁAÂ7CÃCÃCcó—yr¸r¹rºs r$r»r»Ur¼r&có—t||||¬«}t|«}t|||¬«}tj«}    t |    j |g««}
|
D]}     |t| «z }Œ|||fS#t$rYŒ$wxYw)aÀ
    Collect everything for a given package name.
 
    Arguments:
        package_name:
            An ``import``-able package name.
        include_py_files:
            Forwarded to :func:`collect_data_files`.
        filter_submodules:
            Forwarded to :func:`collect_submodules`.
        exclude_datas:
            Forwarded to :func:`collect_data_files`.
        include_datas:
            Forwarded to :func:`collect_data_files`.
        on_error:
            Forwarded onto :func:`collect_submodules`.
 
    Returns:
        tuple: A ``(datas, binaries, hiddenimports)`` triplet containing:
 
        - All data files, raw Python files (if **include_py_files**), and distribution metadata directories (if
          applicable).
        - All dynamic libraries as returned by :func:`collect_dynamic_libs`.
        - All submodules of **package_name**.
 
    Typical use::
 
        datas, binaries, hiddenimports = collect_all('my_package_name')
    )rr)rÉrÈ)    r
rîrÏr r.r:rr*rg) r!rÚfilter_submodulesÚ exclude_datasÚ include_datasrÉr    ÚbinariesÚ hiddenimportsr1r2r/s             r$Ú collect_allr;Rs›€ôJ ˜|Ð-=È Ð`mÔ n€EÜ# LÓ1€HÜ& |¸hÐO`Ôa€Mô%×;Ñ;Ó=€Kܐ[—_‘_ \°2Ó6Ó7€JØòˆ    ð    Ø ”] 9Ó-Ñ -‰Eðð (˜MÐ )Ð)øôò    Ù ð    úsÁA3Á3    A?Á>A?có—g}g}tj|¬«D]?}|t|jj«z }|j |j «ŒA||fS)ai
    Collect modules and metadata for all exporters of a given entry point.
 
    Args:
        name:
            The name of the entry point. Check the documentation for the library that uses the entry point to find
            its name.
    Returns:
        A ``(datas, hiddenimports)`` pair that should be assigned to the ``datas`` and ``hiddenimports``, respectively.
 
    For libraries, such as ``pytest`` or ``keyring``, that rely on plugins to extend their behaviour.
 
    Examples:
        Pytest uses an entry point called ``'pytest11'`` for its extensions.
        To collect all those extensions use::
 
            datas, hiddenimports = collect_entry_point("pytest11")
 
        These values may be used in a hook or added to the ``datas`` and ``hiddenimports`` arguments in the ``.spec``
        file. See :ref:`using spec files`.
 
    .. versionadded:: 4.3
    )Úgroup)r Ú entry_pointsr*r%rrGrr)rr    ÚimportsÚ entry_points    r$Úcollect_entry_pointrA‰sa€ð0 €EØ€GÜ)×6Ñ6¸TÔBò+ˆ Ø ”˜{×/Ñ/×4Ñ4Ó5Ñ5ˆØ‰{×)Ñ)Õ*ð+ð 'ˆ>Ðr&có\—|jj}d}||vr|||vr|||}|S)aÔ
    Get user settings for hooks.
 
    Args:
        module_name:
            The module/package for which the key setting belong to.
        key:
            A key for the config.
    Returns:
        The value for the config. ``None`` if not set.
 
    The ``get_hook_config`` function will lookup settings in the ``Analysis.hooksconfig`` dict.
 
    The hook settings can be added to ``.spec`` file in the form of::
 
        a = Analysis(["my-app.py"],
            ...
            hooksconfig = {
                "gi": {
                    "icons": ["Adwaita"],
                    "themes": ["Adwaita"],
                    "languages": ["en_GB", "zh_CN"],
                },
            },
            ...
        )
    N)ÚanalysisÚ hooksconfig)Úhook_apir?ÚkeyÚconfigÚvalues     r$Úget_hook_configrI©sB€ð8× Ñ × *Ñ *€FØ €EؐfÑ ¨¨{Ñ(;Ñ!;ؐ{Ñ# CÑ(ˆØ €Lr&cóŠ—| |D]}tj||«sŒny||D]}tj||«sŒyy)a
    Generic inclusion/exclusion decision function based on filename and list of include and exclude patterns.
 
    Args:
        filename:
            Filename considered for inclusion.
        include_list:
            List of inclusion file patterns.
        exclude_list:
            List of exclusion file patterns.
 
    Returns:
        A boolean indicating whether the file should be included or not.
 
    If ``include_list`` is provided, True is returned only if the filename matches one of include patterns (and does not
    match any patterns in ``exclude_list``, if provided). If ``include_list`` is not provided, True is returned if
    filename does not match any patterns in ``exclude list``, if provided. If neither list is provided, True is
    returned for any filename.
    FT)Úfnmatch)raÚ include_listÚ exclude_listrês    r$Úinclude_or_exclude_filerNÌsZ€ð0ÐØ#ò    ˆG܏‰˜x¨Õ1Ùð    ðàÐØ#ò    ˆG܏‰˜x¨Õ1Ùð    ð r&c
ó —|xsg}|xsg}|€|dz}tjs||fSt|«\}}t|«}||z }|j    «s||fS||j d«Dcgc]1}t |«t |jj|««f‘Œ3c}z }||j d«Dcgc]1}t |«t |jj|««f‘Œ3c}z }||fScc}wcc}w)a 
    Collect data files and binaries from the .libs directory of a delvewheel-enabled python wheel. Such wheels ship
    their shared libraries in a .libs directory that is located next to the package directory, and therefore falls
    outside the purview of the collect_dynamic_libs() utility function.
 
    Args:
        package_name:
            Name of the package (e.g., scipy).
        libdir_name:
            Optional name of the .libs directory (e.g., scipy.libs). If not provided, ".libs" is added to
            ``package_name``.
        datas:
            Optional list of datas to which collected data file entries are added. The combined result is retuned
            as part of the output tuple.
        binaries:
            Optional list of binaries to which collected binaries entries are added. The combined result is retuned
            as part of the output tuple.
 
    Returns:
        tuple: A ``(datas, binaries)`` pair that should be assigned to the ``datas`` and ``binaries``, respectively.
 
    Examples:
        Collect the ``scipy.libs`` delvewheel directory belonging to the Windows ``scipy`` wheel::
 
            datas, binaries = collect_delvewheel_libs_directory("scipy")
 
        When the collected entries should be added to existing ``datas`` and ``binaries`` listst, the following form
        can be used to avoid using intermediate temporary variables and merging those into existing lists::
 
            datas, binaries = collect_delvewheel_libs_directory("scipy", datas=datas, binaries=binaries)
 
    .. versionadded:: 5.6
    z.libsràz.load[-_]order*)    r    Úis_winr¶rrörõr¢rärå)    r!Ú libdir_namer    r9rµr´Úlibs_dirÚdll_fileÚload_order_files             r$Ú!collect_delvewheel_libs_directoryrUós€ðF ŠKR€EØŠ~˜2€HàÐØ" WÑ,ˆ ô =Š=ؐhˆÐô*¨,Ó7Ñ€HˆgܐH‹~€Hؘ+Ñ%€Hà ?‰?Ô ØhˆÐð  Ð]e×]jÑ]jÐkrÓ]sÖtÐQY”#h“-¤ X§_¡_×%@Ñ%@ÀÓ%JÓ!KÒLÒtÑt€Hð
 
Ø%-§]¡]Ð3DÓ%EöGØ!ô?Ó#¤S¨×)?Ñ)?×)KÑ)KÈHÓ)UÓ%VÒWòGñG€Eð (ˆ?Ðùòuùò
Gs Á.6C<Â=6D)Úconda)ÚCONDA_META_DIRz¨Assuming this is not an Anaconda environment or an additional venv/pipenv/... environment manager is being used on top, because the conda-meta folder %s does not exist.r¸)T)r+r¢r¡)r4)rNr¢)rVr¢rWr¢)rVr¢r[r¢)rar¢)r?r¢rqr¢r©)r”r¢)NN)rr¢rÚNoner˜rX)r¯r¢rƒr¢)rƒr¢rÈzCallable[[str], bool]rÉr¢)rr¢rÞr¢)rƒr¢ræz
str | Nonerçr>)FNNN)
rƒr¢rrœrústr | os.PathLike | Nonerú list | NonerrZ)NF)rPr¢rærYrrœ)F)r!r¢r"rœ)r/r¢) r!r¢rrœr6rr7rZr8rZrÉr¢)rr¢)rEr r?r¢rFr¢)rar¢rLrZrMrZ)NNN)KÚ
__future__rrrr)rKÚpathlibrrrÚtypingrÚpackaging.requirementsrŒÚ PyInstallerrr    r
ÚloggingÚPyInstaller.depend.imphookapir r ÚPyInstaller.compatr Ú    getLoggerÚ__name__rIr:rr Úhook_variablesr%r,r0r2r6rjrArRrXr\rcrlrvr‡r‰r–r™r¥r«r°r¶rÏrÆrßÚPY_DYLIB_PATTERNSrîr
rr*r3r;rArIrNrUÚ is_pure_condarÕrVÚ conda_supportÚis_condaÚPyInstaller.utils.hooks.condarWÚ_tmpr³r¹r&r$ú<module>rlsoðõ#ã Û    ÛÛÝÝÝãç(Ý&Ý6Ý Ý1à    ˆ×    Ñ    ˜8Ó    $€ñ˜6×.Ñ.Ó/Ðð€ó7ó8Aó <ó(=óð2
×ÑòDóðDô2ó6ó    ó
)óóF#kóL>òB9ó&+LðdØð$+Øð$+à ð$+ðó$+óN7óDóBEóñ8%6ØðPØ ðPà !ðPðóPòh/*ód IòÐð>BÐ[lô'ðX#Ø'+ؠؠð sØ ðsàðsð %ðsðð    sð
ó sôlô6Mó`1ðl"Ù"3Ø!%Ø!%Øð 4*Øð4*àð4*ð ð4*ðð    4*ð
ð 4*ð ó 4*ónó@ ðJ!%Ø $ð$Øð$àð$ðó$óNAðH
×ÒÞ>Ø ‡_‚_ÝDØ
‡NNð    HØIMôñ     ð r&