hyb
2026-01-30 7657e1b2fa251a2ea372710ad75cb395a3c0e374
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
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
Ë
@ñúh íã    ó8—UdZddlmZddlZejdkred«‚ddlZddlZddlZ    ddl
Z
ddl Z ddl Z ddl Z ddlZ ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl!m"Z"m#Z#m$Z$m%Z%ddlm&Z&ddl'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2ejfjiejfjkejfjmejfjme7««d    d
«xZ8ejfve8gz«ejrjud d«dd lm;Z<m=Z=dd l>m?Z?m@Z@    ddlmAZAmBZBmCZCdZDddlFZGddlHZGddlIZGddlJZGddlKZGddlLmMZMmNZNmOZOddlPmQZRe(rddlSmTZTmUZUmVZVddlWmXZXddlYmZZZm[Z[ej¸de]d¬«e0d«Z^e0dd¬«Z_e1e`e"e1e`e"dffZadebd<e+dgdfZcdebd <e+dge1d!fZddebd"<e1e`dfZedebd#<e1deefZfdebd$<e1d%Zgdebd&<e)Zhdebd'<e)Zidebd(<e1ejejÖfZldebd)<e+e)gd*fZmdebd+<e+e^e`enge"dfZodebd,<e+e^e`e`ejÖge1e`dffZpdebd-<e0d.eoe)emepe)«ZqGd/„d0e/«Zrejæd1ejè«ZuGd2„d3ev«ZweGjðjòZziZ{d4ebd5<dÖd6„Z|d×d7„Z}dØd8„Z~d9„ZdÙd:„Z€d;„ZdÙd<„Z‚d=„xZƒZ„d>„Z…gd?¢Z†Gd@„dAe‡«ZˆGdB„dCeˆ«Z‰GdD„dEe‰«ZŠGdF„dGeˆ«Z‹GdH„dIeˆ«ZŒiZdJebdK<ejj›dLejj›ZdMZ‘dZ’dNZ“dZ”dOZ•                        dÚdP„Z–e2dÛdQ„«Z—e2dÜdR„«Z—dÝdS„Z—e j0dT„«Z™dU„ZšdV„Z›ejædW«ZœejædX«Ze›ZždÞdY„ZŸe2dßdZ„«Z e2dàd[„«Z dád\„Z dâd]„Z¡e2    dã                    däd^„«Z¢e2dåd_„«Z¢dãdæd`„Z¢dçda„Z£Gdb„dce/«Z¤Gdd„d*e¤e/«Z¥Gde„df«Z¦Gdg„dhe§de¨e`diff«Z©Gdj„dk«ZªeªZ«Gdl„dme«Z¬Gdn„do«Z­dèdp„Z®dédq„Z¯dêdr„Z°dèds„Z±dt„Z²dëdu„Z³dédv„Z´dìdw„Zµdãdídx„Z¶Gdy„dz«Z·e–eje·«d{„Z¸Gd|„d}e·«Z¹Gd~„de¹«Zºeºjw«Gd€„de·«Z¼e¼«Z½Gd‚„dƒe§e`d„f«Z¾Gd…„d†e¾«Z¿Gd‡„dˆe¹«ZÀe–e j‚eÀ«Gd‰„dŠe¼«ZÂGd‹„dŒeº«ZÃGd„dŽeÀ«ZÄe|ddi«ZÅd‘ebd<                        dîd’„ZÆdïdðd“„ZÇ    dï                            dñd”„ZÈeÆe j‚eÈ«    dï                    dòd•„ZÉeÆejeÉ«dïdód–„ZÊd—„ZËGd˜„d™«ZÌdôdš„ZÍdõd›„ZÎdœ„ZÏd„ZÐeÑedž«reÆej¤eÊ«eÆe j¦j¨eÊ«e|ddŸi«ZÕd ebdŸ<e|dd¡i«ZÖd¢ebd¡<                        död£„Z×d¤„ZØd÷d¥„ZÙdød¦„ZÚdãdùd§„ZÛ                                dúd¨„ZÜeÑedž«re×ej¤eÜ«e×e j‚eÜ«e×e j¦j¨eÜ«                                        dûd©„ZÝe×ejeÝ«e2düdª„«ZÞe2dýd«„«ZÞdþd¬„ZÞdÿd­„Zße(re2düd®„«Zàe2dýd¯„«Zàdþd°„Zàne j0d±„«Zàd²„Zád³„Zâd´„ZãdÙdµ„Zäejæd¶«jÊZæejæd·ejÎejÐz«jÊZéGd¸„d¹«Zêdº„ZëGd»„d«ZìGd¼„d½eì«ZíGd¾„d¿eì«ZîeìeíeîdÀœZïdÁ„Zðdd„ZñGdÄdÄeGjäjæ«ZôGdńdeGjäjê«ZõdƄZöddDŽZ÷ddȄZødÙdɄZùddʄZúd˄ZûejødÌewd¬Í«Gd΄dÏeý«ZþejdÐk\rdÑndZÿeÿfdd҄ZdӄZee«fdÙdԄ«ZedÙdՄ«Ze(rÉe­«Zej ZejZejZejZ    ejZ
ejZ ejZ ejZ e¦«ZejZej Zej"Zej&ZeZyy#eE$rdZDYŒ¬wxYw(aá
Package resource API
--------------------
 
A resource is a logical file contained within a package, or a logical
subdirectory thereof.  The package resource API expects resource names
to have their path parts separated with ``/``, *not* whatever the local
path separator is.  Do not use os.path operations to manipulate resource
names being passed into the API.
 
The package resource API is designed to work with normal filesystem packages,
.egg files, and unpacked .egg files.  It can also work in a limited way with
.zip files and with custom PEP 302 loaders that support the ``get_data()``
method.
 
This module is deprecated. Users are directed to :mod:`importlib.resources`,
:mod:`importlib.metadata` and :pypi:`packaging` instead.
é)Ú annotationsN)éé    zPython 3.9 or later is required)ÚIterableÚIteratorÚMappingÚMutableSequence)Ú get_importer) Ú TYPE_CHECKINGÚAnyÚBinaryIOÚCallableÚLiteralÚ
NamedTupleÚNoReturnÚProtocolÚTypeVarÚUnionÚoverloadÚ
setuptoolsÚ_vendorÚ    backports)ÚopenÚutime)ÚisdirÚsplit)ÚmkdirÚrenameÚunlinkTF)Ú drop_commentÚjoin_continuationÚ yield_lines)Úuser_cache_dir)Ú    BytesPathÚStrOrBytesPathÚStrPath)ÚLoaderProtocol)ÚSelfÚ    TypeAliaszäpkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.é©Ú
stacklevelÚ_TÚ_DistributionTÚ Distribution)ÚboundÚ
_NestedStrr)Ú RequirementÚ_StrictInstallerType)r/NÚ_InstallerTypeÚ _PkgReqTypeÚ _EPDistType)ÚIResourceProviderNÚ _MetadataTypeÚ_ResolvedEntryPointÚ_ResourceStreamÚ _ModuleLiker7Ú_ProviderFactoryTypeÚ_DistFinderTypeÚ_NSHandlerTypeÚ    _AdapterTcó—eZdZUded<y)Ú_ZipLoaderModuleúzipimport.zipimporterÚ
__loader__N©Ú__name__Ú
__module__Ú __qualname__Ú__annotations__©óúIH:\Change_password\venv_build\Lib\site-packages\pkg_resources/__init__.pyrArA‚s…Ø%Ô%rJrAz,^v?(?P<safe>(?:[0-9]+!)?[0-9]+(?:\.[0-9]+)*)có—eZdZdZy)Ú PEP440Warningza
    Used when there is an issue with a version or specifier not complying with
    PEP 440.
    N©rErFrGÚ__doc__rIrJrKrMrM‰s„òrJrMzdict[str, str]Ú _state_varscó—|t|<|S©N)rP)ÚvartypeÚvarnameÚ initial_values   rKÚ_declare_staterV•s€Ø"„KÑØ ÐrJcó~—i}t«}tj«D]\}}|d|z||«||<Œ|S)NÚ_sget_)ÚglobalsrPÚitems©ÚstateÚgÚkÚvs    rKÚ __getstate__r`šsK€Ø €EÜ‹    €AÜ×!Ñ!Ó#ò)‰ˆˆ1Ø"1X ‘\‘? 1 Q¡4Ó(ˆˆaŠð)à €LrJcó~—t«}|j«D]\}}|dt|z||||«Œ!|S)NÚ_sset_)rYrZrPr[s    rKÚ __setstate__rc¢sG€Ü‹    €AØ— ‘ “ ò1‰ˆˆ1Ø$ˆˆ(”[ ‘^Ñ
#Ñ$ Q¨¨!©¨aÕ0ð1à €LrJcó"—|j«SrR)Úcopy©Úvals rKÚ
_sget_dictrh©s€Ø 8‰8‹:ÐrJcóF—|j«|j|«yrR)ÚclearÚupdate©ÚkeyÚobr\s   rKÚ
_sset_dictro­s€Ø‡HH„J؇IIˆeÕrJcó"—|j«SrR)r`rfs rKÚ _sget_objectrq²s€Ø × Ñ Ó ÐrJcó&—|j|«yrR)rcrls   rKÚ _sset_objectrs¶s€Ø‡OOEÕrJcó—yrRrI©Úargss rKú<lambda>rwºórJcóþ—t«}tj|«}|Ktjdk(r8    dj t «dd«}|jd«}d|›d|›}|S|S#t$rY|SwxYw)aQReturn this platform's maximum compatible version.
 
    distutils.util.get_platform() normally reports the minimum version
    of macOS that would be required to *use* extensions produced by
    distutils.  But what we want when checking compatibility is to know the
    version of macOS that we are *running*.  To allow usage of packages that
    explicitly require a newer version of macOS, we must also know the
    current version of the OS.
 
    If this condition occurs for any other platform with a version in its
    platform strings, this function should be extended accordingly.
    NÚdarwinú.r*rúmacosx-ú-)    Úget_build_platformÚmacosVersionStringÚmatchÚsysÚplatformÚjoinÚ _macos_versÚgroupÚ
ValueError)ÚplatÚmÚ major_minorÚbuilds    rKÚget_supported_platformr‹½s‹€ô Ó €DÜ× Ñ  Ó&€AØ€}œŸ™¨Ò1ð    ØŸ(™(¤;£=°°!Ð#4Ó5ˆKØ—G‘G˜A“JˆEؘ[˜M¨¨5¨'Ð2ˆDð €Kˆ4€Køôò    à Ø €Kð    ús¶5A/Á/    A<Á;A<)GÚrequireÚ
run_scriptÚ get_providerÚget_distributionÚload_entry_pointÚ get_entry_mapÚget_entry_infoÚiter_entry_pointsÚresource_stringÚresource_streamÚresource_filenameÚresource_listdirÚresource_existsÚresource_isdirÚdeclare_namespaceÚ working_setÚadd_activation_listenerÚfind_distributionsÚset_extraction_pathÚcleanup_resourcesÚget_default_cacheÚ EnvironmentÚ
WorkingSetÚResourceManagerr/r2Ú
EntryPointÚResolutionErrorÚVersionConflictÚDistributionNotFoundÚ UnknownExtraÚExtractionErrorrMÚparse_requirementsÚ parse_versionÚ    safe_nameÚ safe_versionÚ get_platformÚcompatible_platformsr"Úsplit_sectionsÚ
safe_extraÚ to_filenameÚinvalid_markerÚevaluate_markerÚensure_directoryÚnormalize_pathÚEGG_DISTÚ BINARY_DISTÚ SOURCE_DISTÚ CHECKOUT_DISTÚ DEVELOP_DISTÚIMetadataProviderr7Ú FileMetadataÚ PathMetadataÚ EggMetadataÚ EmptyProviderÚempty_providerÚ NullProviderÚ EggProviderÚDefaultProviderÚ ZipProviderÚregister_finderÚregister_namespace_handlerÚregister_loader_typeÚfixup_namespace_packagesr
ÚPkgResourcesDeprecationWarningÚrun_mainÚAvailableDistributionscó—eZdZdZdd„Zy)r¥z.Abstract base for dependency resolution errorscóZ—|jjt|j«zSrR)Ú    __class__rEÚreprrv©Úselfs rKÚ__repr__zResolutionError.__repr__0s€Ø~‰~×&Ñ&¬¨d¯i©i«Ñ8Ð8rJN©ÚreturnÚstr)rErFrGrOrÓrIrJrKr¥r¥-s
„Ù8ô9rJr¥cóN—eZdZdZdZedd„«Zed    d„«Zd„Z                d
d„Z    y) r¦zª
    An already-installed version conflicts with the requested version.
 
    Should be initialized with the installed Distribution and the requested
    Requirement.
    z3{self.dist} is installed but {self.req} is requiredcó —|jdS©NrrurÑs rKÚdistzVersionConflict.dist>ó€ày‰y˜‰|ÐrJcó —|jdS©NérurÑs rKÚreqzVersionConflict.reqBrÛrJcóJ—|jjdit«¤ŽS©NrI©Ú    _templateÚformatÚlocalsrÑs rKÚreportzVersionConflict.reportFó€Ø$ˆt~‰~×$Ñ$Ñ0¤v£xÑ0Ð0rJcó:—|s|S|j|fz}t|ŽS)zt
        If required_by is non-empty, return a version of self that is a
        ContextualVersionConflict.
        )rvÚContextualVersionConflict)rÒÚ required_byrvs   rKÚ with_contextzVersionConflict.with_contextIs'€ñ؈K؏y‰y˜K˜>Ñ)ˆÜ(¨$Ð/Ð/rJN©rÕr/©rÕr2)rêzset[Distribution | str]rÕz Self | ContextualVersionConflict)
rErFrGrOrãÚpropertyrÚrßrærërIrJrKr¦r¦4sO„ñðF€Ià òóððòóðò1ð
0Ø2ð
0à    )ô
0rJr¦có@—eZdZdZej
dzZedd„«Zy)réz…
    A VersionConflict that accepts a third parameter, the set of the
    requirements that required the installed Distribution.
    z by {self.required_by}có —|jdS)Nr*rurÑs rKrêz%ContextualVersionConflict.required_by^rÛrJN)rÕzset[str])rErFrGrOr¦rãrîrêrIrJrKréréVs,„ñð
 ×)Ñ)Ð,DÑD€Ià òóñrJrécóV—eZdZdZdZed    d„«Zed
d„«Zed„«Zd„Z    d d„Z
y) r§z&A requested distribution was not foundzSThe '{self.req}' distribution was not found and is required by {self.requirers_str}có —|jdSrÙrurÑs rKrßzDistributionNotFound.reqkrÛrJcó —|jdSrÝrurÑs rKÚ    requirerszDistributionNotFound.requirersorÛrJcóR—|jsydj|j«S)Nzthe applicationz, )rôrƒrÑs rKÚ requirers_strz"DistributionNotFound.requirers_strss€à~Š~Ø$؏y‰y˜Ÿ™Ó(Ð(rJcóJ—|jjdit«¤ŽSrárârÑs rKræzDistributionNotFound.reportyrçrJcó"—|j«SrR)rærÑs rKÚ__str__zDistributionNotFound.__str__|s€Ø{‰{‹}ÐrJNrí)rÕzset[str] | NonerÔ) rErFrGrOrãrîrßrôrörærùrIrJrKr§r§csU„Ù0ð    2ðð
òóððòóððñ)óð)ò
1ôrJr§có—eZdZdZy)r¨z>Distribution doesn't have an "extra feature" of the given nameNrNrIrJrKr¨r¨€s„ÚHrJr¨z-dict[type[_ModuleLike], _ProviderFactoryType]Ú_provider_factoriesr{rrÞéÿÿÿÿcó—|t|<y)aRegister `provider_factory` to make providers for `loader_type`
 
    `loader_type` is the type or class of a PEP 302 ``module.__loader__``,
    and `provider_factory` is a function that, passed a *module* object,
    returns an ``IResourceProvider`` for that module.
    N)rû)Ú loader_typeÚprovider_factorys  rKrÈrȎs€ð(8Ô˜ Ò$rJcó—yrRrI©Ú moduleOrReqs rKrŽrŽšó€Ø9<rJcó—yrRrIrs rKrŽrŽœs€Ø<?rJcóF—t|t«r.tj|«xst    t |««dS    t j|}t|dd«}tt|«|«S#t$r!t|«t j|}YŒLwxYw)z?Return an IResourceProvider for the named module or requirementrrCN) Ú
isinstancer2r›ÚfindrŒrÖrÚmodulesÚKeyErrorÚ
__import__ÚgetattrÚ _find_adapterrû)rÚmoduleÚloaders   rKrŽrŽžs€ä+œ{Ô+Ü×Ñ  Ó,ÒL´¼¸KÓ8HÓ0IÈ!Ñ0LÐLð*Ü—‘˜[Ñ)ˆôV˜\¨4Ó 0€FØ 5Œ=Ô,¨fÓ 5°fÓ =Ð=øô     ò*ܐ;ÔÜ—‘˜[Ñ)Šð*úsÁA6Á6'B ÂB có—tj«d}|dk(rTd}tjj    |«r3t |d«5}t j|«}ddd«dvr|d}|jd«S#1swYŒ#xYw)NrÚz0/System/Library/CoreServices/SystemVersion.plistÚrbÚProductVersionr{)    r‚Úmac_verÚosÚpathÚexistsrÚplistlibÚloadr)ÚversionÚplistÚfhÚ plist_contents    rKr„r„«s‚€ä×ÑÓ  Ñ#€Gà"‚}ØBˆÜ 7‰7>‰>˜%Ô  Üe˜TÓ"ð 2 bÜ (§ ¡ ¨bÓ 1 ÷ 2à =Ñ0Ø'Ð(8Ñ9Ø =‰=˜Ó Ð÷     2ð 2ús Á
BÂB có,—dddœj||«S)NÚppc)ÚPowerPCÚPower_Macintosh)Úget)Úmachines rKÚ _macos_archr#¹s€Ø°Ñ 7× ;Ñ ;¸GÀWÓ MÐMrJcó —ddlm}|«}tjdk(r]|j    d«sL    t «}t tj«djdd««}d|d›d|d    ›d
|›S|S#t$rY|SwxYw) zAReturn this platform's string for platform-specific distributionsr)r®rzr|éú Ú_r{rÞr}) Ú    sysconfigr®rr‚Ú
startswithr„r#rÚunameÚreplacer†)r®r‡rr"s    rKr~r~½s“€å&á ‹>€DÜ
‡||xÒ¨¯©¸    Ô(Bð    Ü!“mˆGÜ!¤"§(¡(£*¨Q¡-×"7Ñ"7¸¸SÓ"AÓBˆGؘW Q™Z˜L¨¨'°!©*¨°Q°w°iÐ@Ð @ð
€Køô    ò    ð Ø €Kð        ús³A
B    B  B zmacosx-(\d+)\.(\d+)-(.*)zdarwin-(\d+)\.(\d+)\.(\d+)-(.*)cóJ—||||k(rytj|«}|rtj|«}|sltj|«}|rTt|j    d««}|j    d«›d|j    d«›}|dk(r|dk\s
|dk(r|dk\ryy    |j    d«|j    d«k7s#|j    d
«|j    d
«k7ry    t|j    d««t|j    d««kDry    yy    ) zÛCan code for the `provided` platform run on the `required` platform?
 
    Returns true if either platform is ``None``, or the platforms are equal.
 
    XXX Needs compatibility checks for Linux and other unixy OSes.
    TrÞr{r*éz10.3éz10.4Fr)rr€ÚdarwinVersionStringÚintr…)ÚprovidedÚrequiredÚreqMacÚprovMacÚ
provDarwinÚdversionÚ macosversions       rKr¯r¯Ôs€ðИ8Ð+¨x¸8Ò/Càô × %Ñ % hÓ /€FÚ Ü$×*Ñ*¨8Ó4ˆñô-×2Ñ2°8Ó<ˆJÙܘz×/Ñ/°Ó2Ó3Ø"(§,¡,¨q£/Ð!2°!°F·L±LÀ³OÐ3DÐE à ’MØ$¨Ò.Ø 1’}Ø$¨Ò.ààð =‰=˜Ó ˜vŸ|™|¨A›Ò .°'·-±-ÀÓ2BÀfÇlÁlÐSTÃoÒ2UØô ˆw}‰}˜QÓÓ  ¤3 v§|¡|°A£Ó#7Ò 7Øàð rJcó—yrRrI©rÚs rKrrs€Ø>ArJcó—yrRrIr9s rKrrrrJcó¾—t|t«rtj|«}t|t«r t    |«}t|t
«s t d|«‚|S)z@Return a current distribution object for a Requirement or stringz*Expected str, Requirement, or Distribution)rrÖr2ÚparserŽr/Ú    TypeErrorr9s rKrr    sM€ä$œÔÜ× Ñ  Ó&ˆÜ$œ Ô$ܘDÓ!ˆÜ dœLÔ )ÜÐDÀdÓKÐKØ €KrJcó8—t|«j||«S)zDReturn `name` entry point of `group` for `dist` or raise ImportError)rr©rÚr…Únames   rKrrs€ä ˜DÓ !× 2Ñ 2°5¸$Ó ?Ð?rJcó—yrRrI©rÚr…s  rKr‘r‘s€ð(+rJcó—yrRrIrBs  rKr‘r‘s€ØKNrJcó6—t|«j|«S)ú=Return the entry point map for `group`, or the full entry map)rr‘rBs  rKr‘r‘s€ä ˜DÓ !× /Ñ /°Ó 6Ð6rJcó8—t|«j||«S©z<Return the EntryPoint object for `group`+`name`, or ``None``)rr’r?s   rKr’r’$s€ä ˜DÓ !× 0Ñ 0°¸Ó =Ð=rJcó<—eZdZdd„Zd    d„Zd
d„Zdd„Zd d„Zd d„Zy) r¼có—y)z;Does the package's distribution contain the named metadata?NrI©rÒr@s  rKÚ has_metadatazIMetadataProvider.has_metadata*ó€à rJcó—y)z'The named metadata resource as a stringNrIrJs  rKÚ get_metadatazIMetadataProvider.get_metadata.rLrJcó—y)zÔYield named metadata resource as list of non-blank non-comment lines
 
        Leading and trailing whitespace is stripped from each line, and lines
        with ``#`` as the first non-blank character are omitted.NrIrJs  rKÚget_metadata_linesz$IMetadataProvider.get_metadata_lines2s€ð
     rJcó—y)z>Is the named metadata a directory?  (like ``os.path.isdir()``)NrIrJs  rKÚmetadata_isdirz IMetadataProvider.metadata_isdir9rLrJcó—y)z?List of metadata names in the directory (like ``os.listdir()``)NrIrJs  rKÚmetadata_listdirz"IMetadataProvider.metadata_listdir=rLrJcó—y)z=Execute the named script in the supplied namespace dictionaryNrI)rÒÚ script_nameÚ    namespaces   rKrzIMetadataProvider.run_scriptArLrJN©r@rÖrÕÚbool©r@rÖrÕrÖ©r@rÖrÕú Iterator[str]©r@rÖrÕú    list[str]©rVrÖrWúdict[str, Any]rÕÚNone)    rErFrGrKrNrPrRrTrrIrJrKr¼r¼)s „ó ó ó ó ó ô rJr¼cód—eZdZdZ                        d    d„Z                        d
d„Z                        d d„Zd d„Zd d„Zd d„Z    y)r7z3An object that provides access to package resourcescó—y)zbReturn a true filesystem path for `resource_name`
 
        `manager` must be a ``ResourceManager``NrI©rÒÚmanagerÚ resource_names   rKÚget_resource_filenamez'IResourceProvider.get_resource_filenameIó€ð      rJcó—y)zgReturn a readable file-like object for `resource_name`
 
        `manager` must be a ``ResourceManager``NrIrds   rKÚget_resource_streamz%IResourceProvider.get_resource_streamQrhrJcó—y)zgReturn the contents of `resource_name` as :obj:`bytes`
 
        `manager` must be a ``ResourceManager``NrIrds   rKÚget_resource_stringz%IResourceProvider.get_resource_stringYrhrJcó—y)z,Does the package contain the named resource?NrI©rÒrfs  rKÚ has_resourcezIResourceProvider.has_resourcearLrJcó—y)z>Is the named resource a directory?  (like ``os.path.isdir()``)NrIrns  rKr™z IResourceProvider.resource_isdirerLrJcó—y)z?List of resource names in the directory (like ``os.listdir()``)NrIrns  rKr—z"IResourceProvider.resource_listdirirLrJN©rer£rfrÖrÕrÖ)rer£rfrÖrÕr:©rer£rfrÖrÕÚbytes©rfrÖrÕrY©rfrÖrÕr^)
rErFrGrOrgrjrlror™r—rIrJrKr7r7Fsk„Ù=ð Ø&ð Ø7:ð à     ó ð Ø&ð Ø7:ð à    ó ð Ø&ð Ø7:ð à    ó ó ó ô rJcó@—eZdZdZdd d„Zed„«Zed„«Zd!d„Zd"d„Z    d#d„Z
    d                    d$d    „Z d%d
„Z d&d „Z             d'                                    d(d„Ze        d)                                            d*d„«Ze    dd ddœ                                            d*d„«Ze                d+                                            d,d„«Z                d+                                            d-d„Z        d.d„Ze    d/                                    d0d„«Ze    dd dœ                                    d0d„«Ze            d1                                    d2d„«Z            d1                                    d3d„Zd4d„Z    d/                    d5d„Zd6d„Z        d7d„Zd6d„Zy)8r¢zDA collection of active distributions on sys.path (or a similar list)Ncóž—g|_i|_i|_i|_g|_|€t
j }|D]}|j|«Œy)z?Create working set from list of path entries (default=sys.path)N)ÚentriesÚ
entry_keysÚby_keyÚnormalized_to_canonical_keysÚ    callbacksrrÚ    add_entry)rÒryÚentrys   rKÚ__init__zWorkingSet.__init__qsO€à"$ˆŒ Ø79ˆŒØ/1ˆŒ Ø<>ˆÔ)ØACˆŒà ˆ?Ü—h‘hˆGàò    "ˆEØ N‰N˜5Õ !ñ    "rJcó¨—|«}    ddlm}    |j|«|S#t$r|cYSwxYw#t$r|j |«cYSwxYw)z1
        Prepare the master working set.
        r)Ú __requires__)Ú__main__r‚Ú ImportErrorrŒr¦Ú_build_from_requirements)ÚclsÚwsr‚s   rKÚ _build_masterzWorkingSet._build_mastersb€ñ
‹Uˆð    Ý -ð     >Ø J‰J|Ô $ðˆ    øôò    àŠIð    ûôò    >Ø×/Ñ/° Ó=Ò =ð    >ús‰#4£ 1°1´AÁAcó4—|g«}t|«}|j|t««}|D]}|j|«Œtj
D]"}||j vsŒ|j|«Œ$|j tj
dd|S)zQ
        Build a working set from a requirement spec. Rewrites sys.path.
        N)rªÚresolver¡Úaddrrryr~)r†Úreq_specr‡ÚreqsÚdistsrÚrs       rKr…z#WorkingSet._build_from_requirements“sˆ€ñ‹WˆÜ! (Ó+ˆØ—
‘
˜4¤£Ó/ˆØò    ˆDØ F‰F4Lð    ô—X‘Xò    $ˆEؘBŸJ™JÒ&Ø— ‘ ˜UÕ#ð    $ð
—j‘jŒ‰‘ˆ ؈    rJcóº—|jj|g«|jj|«t    |d«D]}|j ||d«Œy)aÝAdd a path item to ``.entries``, finding any distributions on it
 
        ``find_distributions(entry, True)`` is used to find distributions
        corresponding to the path entry, and they are added.  `entry` is
        always appended to ``.entries``, even if it is already present.
        (This is because ``sys.path`` can contain the same value more than
        once, and the ``.entries`` of the ``sys.path`` WorkingSet should always
        equal ``sys.path``.)
        TFN)rzÚ
setdefaultryÚappendrr‹)rÒrrÚs   rKr~zWorkingSet.add_entry©sP€ð     ‰×"Ñ" 5¨"Ô-Ø  ‰ ×јEÔ"Ü& u¨dÓ3ò    )ˆDØ H‰HT˜5 %Õ (ñ    )rJcóR—|jj|j«|k(S)z9True if `dist` is the active distribution for its project)r{r!rm©rÒrÚs  rKÚ __contains__zWorkingSet.__contains__¸s€à{‰{‰˜tŸx™xÓ(¨DÑ0Ð0rJcóF—d}|j|jj|j«t|j«j    dd«f}t d|«D](}|j j|«}|sŒ!||_n|||vr t||«‚|S)aÐFind a distribution matching requirement `req`
 
        If there is an active distribution for the requested project, this
        returns it as long as it meets the version requirement specified by
        `req`.  But, if there is an active distribution for the project and it
        does *not* meet the `req` requirement, ``VersionConflict`` is raised.
        If there is no active distribution for the requested project, ``None``
        is returned.
        Nr{r})rmr|r!r¬r+Úfilterr{r¦)rÒrßrÚÚ
candidatesÚ    candidates     rKrzWorkingSet.find¼s¡€ð%)ˆð G‰GØ × -Ñ -× 1Ñ 1°#·'±'Ó :Ü c—g‘gÓ × &Ñ & s¨CÓ 0ð
ˆ
ô    jÓ1ò    ˆIØ—;‘;—?‘? 9Ó-ˆDÚØ#”Ùð        ð Ð  ¨C¡ä! $¨Ó,Ð ,؈ rJc󇇗ˆˆfd„|D«S)aYield entry point objects from `group` matching `name`
 
        If `name` is None, yields all entry points in `group` from all
        distributions in the working set, otherwise only ones matching
        both `group` and `name` are yielded (in distribution order).
        c3óŒ•K—|];}|j‰«j«D]}‰‰|jk(r|–—ŒŒ=y­wrR)r‘Úvaluesr@)Ú.0rÚrr…r@s   €€rKú    <genexpr>z/WorkingSet.iter_entry_points.<locals>.<genexpr>âsRøèø€ò
àØ×+Ñ+¨EÓ2×9Ñ9Ó;ò
ð؈|˜t u§z¡zÒ1ô ð
Ø ñ
ùsƒAArI©rÒr…r@s ``rKr“zWorkingSet.iter_entry_pointsÙsù€ô
àô
ð    
rJcó¾—tjd«j}|d}|j«||d<|j    |«dj ||«y)z?Locate distribution for `requires` and run `script_name` scriptrÞrErN)rÚ    _getframeÚ    f_globalsrjrŒr)rÒÚrequiresrVÚnsr@s     rKrzWorkingSet.run_scriptésO€ä ]‰]˜1Ó × 'Ñ 'ˆØ*‰~ˆØ
‰Œ
؈ˆ:‰Ø  ‰ XÓ˜qÑ!×,Ñ,¨[¸"Õ=rJc#óÖK—t«}|jD]L}||jvrŒ|j|D])}||vsŒ|j|«|j|–—Œ+ŒNy­w)z¸Yield distributions for non-duplicate projects in the working set
 
        The yield order is the order in which the items' path entries were
        added to the working set.
        N)Úsetryrzr‹r{)rÒÚseenÚitemrms    rKÚ__iter__zWorkingSet.__iter__ñsjèø€ô ‹uˆØ—L‘Lò    +ˆDؘ4Ÿ?™?Ñ*àà—‘ tÑ,ò +Ø˜d’?Ø—H‘H˜S”MØŸ+™+ cÑ*Ó*ñ +ñ     +ùs ‚?A)Á'A)TFcó–—|r|j|j||¬«|€ |j}|jj    |g«}|jj    |jg«}|s|j
|j vry||j |j
<tjj|j
«}|j
|j|<|j
|vr|j|j
«|j
|vr|j|j
«|j|«y)aAdd `dist` to working set, associated with `entry`
 
        If `entry` is unspecified, it defaults to the ``.location`` of `dist`.
        On exit from this routine, `entry` is added to the end of the working
        set's ``.entries`` (if it wasn't already present).
 
        `dist` is only added to the working set if it's for a project that
        doesn't already have a distribution in the set, unless `replace=True`.
        If it's added, any callbacks registered with the ``subscribe()`` method
        will be called.
        ©r+N) Ú    insert_onryÚlocationrzrrmr{Ú    packagingÚutilsÚcanonicalize_namer|r‘Ú
_added_new)rÒrÚrÚinsertr+ÚkeysÚkeys2Únormalized_names        rKr‹zWorkingSet.addsò€ñ$ Ø N‰N˜4Ÿ<™<¨¸ˆNÔ @à ˆ=Ø—M‘MˆE؏‰×)Ñ)¨%°Ó4ˆØ—‘×*Ñ*¨4¯=©=¸"Ó=ˆÙ˜4Ÿ8™8 t§{¡{Ñ2à à $ˆ ‰ D—H‘HÑÜ#Ÿ/™/×;Ñ;¸D¿H¹HÓEˆØ=A¿X¹Xˆ×)Ñ)¨/Ñ:Ø 8‰8˜4Ñ Ø K‰K˜Ÿ™Ô !Ø 8‰8˜5Ñ  Ø L‰L˜Ÿ™Ô "Ø ‰˜ÕrJcó—yrRrI©rÒÚ requirementsÚenvÚ    installerÚreplace_conflictingÚextrass      rKrŠzWorkingSet.resolve(s€ð #rJ)rºr»có—yrRrIr¶s      rKrŠzWorkingSet.resolve1s€ð #rJcó—yrRrIr¶s      rKrŠzWorkingSet.resolve;s€ð!rJc    ó*—t|«ddd…}t«}i}g}t«}    tjt
tt ft«}
|rº|jd«} | |vrŒ|    j| |«sŒ+|j| |||||
|«} | j| j«ddd…} |j| «| D]/}|
|j| j«| j|    |<Œ1|j| «|rŒº|S)aÎList all distributions needed to (recursively) meet `requirements`
 
        `requirements` must be a sequence of ``Requirement`` objects.  `env`,
        if supplied, should be an ``Environment`` instance.  If
        not supplied, it defaults to all distributions available within any
        entry or distribution in the working set.  `installer`, if supplied,
        will be invoked with each requirement that cannot be met by an
        already-installed distribution; it should return a ``Distribution`` or
        ``None``.
 
        Unless `replace_conflicting=True`, raises a VersionConflict exception
        if
        any requirements are found on the path that have the correct name but
        the wrong version.  Otherwise, if an `installer` is supplied it will be
        invoked to obtain the correct version of the requirement and activate
        it.
 
        `extras` is a list of the extras to be used with these requirements.
        This is important because extra requirements may look like `my_req;
        extra = "my_extra"`, which would otherwise be interpreted as a purely
        optional requirement.  Instead, we want to be able to assert that these
        requirements are truly required.
        Nrür)Úlistr¥Ú
_ReqExtrasÚ collectionsÚ defaultdictr2rÖÚpopÚ markers_passÚ _resolve_distr¢r»Úextendr‹Ú project_name)rÒr·r¸r¹rºr»Ú    processedÚbestÚ to_activateÚ
req_extrasrêrßrÚÚnew_requirementsÚnew_requirements               rKrŠzWorkingSet.resolveDs!€ôB˜LÓ)©$¨B¨$Ñ/ˆ ä“Eˆ    à(*ˆØ*,ˆ ä“\ˆ
ô"×-Ñ-¬k¼3¼s¹8Ð.CÑDÄSÓIˆ áà×"Ñ" 1Ó%ˆCؐiÑàà×*Ñ*¨3°Ô7Øà×%Ñ%ؐTÐ.°°YÀ È[óˆDð
 $Ÿ}™}¨S¯Z©ZÓ8¹¸2¸Ñ>Ð Ø × Ñ Р0Ô 1ð$4ò 9Ø˜OÑ,×0Ñ0°×1AÑ1AÔBØ.1¯j©j
˜?Ò+ð 9ð M‰M˜#Ô ò/ð4ÐrJcóð—|j|j«}|€´|jj|j«}|||vrx|rv|}    |€.|€t|j«}ntg«}t g«}    |j ||    ||¬«x}||j<|€|j|d«}
t||
«‚|j|«||vr ||} t||«j| «‚|S)N)rº) r!rmr{r¡ryr¢Ú
best_matchr§r‘r¦rë) rÒrßrÉrºr¸r¹rêrÊrÚr‡rôÚ dependent_reqs             rKrÅzWorkingSet._resolve_distŽsü€ðx‰x˜Ÿ™Ó ˆØ ˆ<à—;‘;—?‘? 3§7¡7Ó+ˆD؈| ¨C¡Ñ4Gؐؐ;ؐ|Ü)¨$¯,©,Ó7™ô
*¨"›o˜Ü'¨›^˜Ø'*§~¡~ؘ˜YÐ<Oð(6ó(ðt˜CŸG™G‘}ð<Ø +§¡°°TÓ :IÜ.¨s°IÓ>Ð>Ø × Ñ ˜tÔ $Ø s‰?à'¨Ñ,ˆMÜ! $¨Ó,×9Ñ9¸-ÓHÐ H؈ rJcó—yrRrI©rÒÚ
plugin_envÚfull_envr¹Úfallbacks     rKÚ find_pluginszWorkingSet.find_plugins­s    €ðFIrJ)rÕcó—yrRrIrÒs     rKrÖzWorkingSet.find_pluginsµs    €ðFIrJcó—yrRrIrÒs     rKrÖzWorkingSet.find_plugins¾s    €ðDGrJcó\—t|«}|j«i}i}|€t|j«}||z }n||z}|j    g«}    tt |    j |««|D]u}
||
D]k} | j«g}     |    j| ||«} tt |    j | ««|jtj| ««ŒuŒwt|«}|j«||fS#t$r}||| <|rYd}~Œ¤Yd}~Œ²d}~wwxYw)asFind all activatable distributions in `plugin_env`
 
        Example usage::
 
            distributions, errors = working_set.find_plugins(
                Environment(plugin_dirlist)
            )
            # add plugins+libs to sys.path
            map(working_set.add, distributions)
            # display errors
            print('Could not load', errors)
 
        The `plugin_env` should be an ``Environment`` instance that contains
        only distributions that are in the project's "plugin directory" or
        directories. The `full_env`, if supplied, should be an ``Environment``
        contains all currently-available distributions.  If `full_env` is not
        supplied, one is created automatically from the ``WorkingSet`` this
        method is called on, which will typically mean that every directory on
        ``sys.path`` will be scanned for distributions.
 
        `installer` is a standard installer callback as used by the
        ``resolve()`` method. The `fallback` flag indicates whether we should
        attempt to resolve older versions of a plugin if the newest version
        cannot be resolved.
 
        This method returns a 2-tuple: (`distributions`, `error_info`), where
        `distributions` is a list of the distributions found in `plugin_env`
        that were loadable, along with any other distributions that are needed
        to resolve their dependencies.  `error_info` is a dictionary mapping
        unloadable plugin distributions to an exception instance describing the
        error that occurred. Usually this will be a ``DistributionNotFound`` or
        ``VersionConflict`` instance.
        N) r¿Úsortr¡ryrÏÚmapr‹Úas_requirementrŠrkÚdictÚfromkeysr¥)rÒrÓrÔr¹rÕÚplugin_projectsÚ
error_infoÚ distributionsr¸Ú
shadow_setrÇrÚrßÚ    resolveesr_Úsorted_distributionss                rKrÖzWorkingSet.find_pluginsÆs7€ôX˜zÓ*ˆà×ÑÔà46ˆ
Ø>@ˆ à РܘdŸl™lÓ+ˆCØ :Ñ ‰Cà˜ZÑ'ˆCà—^‘^ BÓ'ˆ
ä ŒS—‘ Ó &Ô'à+ò    ˆLØ" <Ñ0ò Ø×*Ñ*Ó,Ð-ðØ *× 2Ñ 2°3¸¸YÓ GIôœ˜ZŸ^™^¨YÓ7Ô8Ø!×(Ñ(¬¯©°yÓ)AÔBññ+ ð    ô0 $ MÓ2ÐØ×!Ñ!Ô#à# ZÐ/Ð/øô)'òà'(J˜tÑ$Ùä õûðúsÂD Ä     D+ÄD&Ä&D+cój—|jt|««}|D]}|j|«Œ|S)a¾Ensure that distributions matching `requirements` are activated
 
        `requirements` must be a string or a (possibly-nested) sequence
        thereof, specifying the distributions and versions required.  The
        return value is a sequence of the distributions that needed to be
        activated to fulfill the requirements; all relevant distributions are
        included, even if they were already activated in this working set.
        )rŠrªr‹)rÒr·ÚneededrÚs    rKrŒzWorkingSet.require s9€ð—‘Ô0°Ó>Ó?ˆàò    ˆDØ H‰HTNð    ðˆ rJcó|—||jvry|jj|«|sy|D]
}||«Œ y)zƒInvoke `callback` for all distributions
 
        If `existing=True` (default),
        call on all existing ones, as well.
        N)r}r‘)rÒÚcallbackÚexistingrÚs    rKÚ    subscribezWorkingSet.subscribe0sA€ð t—~‘~Ñ %Ø Ø ‰×јhÔ'ÙØ Øò    ˆDÙ TNñ    rJcó6—|jD]
}||«Œ yrR)r})rÒrÚrès   rKr°zWorkingSet._added_new@s€ØŸ™ò    ˆHÙ TNñ    rJcóԗ|jdd|jj«|jj«|jj«|j
ddfSrR)ryrzrer{r|r}rÑs rKr`zWorkingSet.__getstate__DsW€ð L‰L™ˆOØ O‰O×  Ñ  Ó "Ø K‰K× Ñ Ó Ø × -Ñ -× 2Ñ 2Ó 4Ø N‰N™1Ð ð 
ð    
rJcóº—|\}}}}}|dd|_|j«|_|j«|_|j«|_|dd|_yrR)ryrerzr{r|r})rÒÚ    e_k_b_n_cryr²r{r|r}s       rKrczWorkingSet.__setstate__UsT€ØIRÑFˆvÐ;¸YØ™qzˆŒ ØŸ)™)›+ˆŒØ—k‘k“mˆŒ Ø,H×,MÑ,MÓ,OˆÔ)Ø"¡1˜ˆrJrR)ryúIterable[str] | NonerÕra)rrÖrÕra©rÚr/rÕrY)rßr2rÕúDistribution | None)r…rÖr@ú
str | NonerÕzIterator[EntryPoint])r¢rÖrVrÖrÕra)rÕúIterator[Distribution])NTF)
rÚr/rròr±rYr+rYrÕra)FN) r·úIterable[Requirement]r¸úEnvironment | Noner¹ú$_StrictInstallerType[_DistributionT]rºrYr»útuple[str, ...] | NonerÕzlist[_DistributionT])NNFN) r·rôr¸rõr¹ú_InstallerType | NonerºrYr»r÷rÕúlist[Distribution]) r·rôr¸rõr¹ú<_InstallerType | None | _StrictInstallerType[_DistributionT]rºrYr»r÷rÕz)list[Distribution] | list[_DistributionT]rì©T)
rÓr¡rÔrõr¹rörÕrYrÕz:tuple[list[_DistributionT], dict[Distribution, Exception]])NNT)
rÓr¡rÔrõr¹rørÕrYrÕz8tuple[list[Distribution], dict[Distribution, Exception]])
rÓr¡rÔrõr¹rúrÕrYrÕzOtuple[list[Distribution] | list[_DistributionT], dict[Distribution, Exception]])r·r1rÕrù)rèz Callable[[Distribution], object]rérYrÕra©rÕra)rÕz~tuple[list[str], dict[str | None, list[str]], dict[str, Distribution], dict[str, str], list[Callable[[Distribution], object]]])rErFrGrOr€Ú classmethodrˆr…r~r”rr“rr¨r‹rrŠrÅrÖrŒrêr°r`rcrIrJrKr¢r¢ns±„ÙNô "ðñóðð&ñóðó* )ó1óð<.2ð
Øð
Ø *ð
à    ó
ó >ó+ð(!ØØð $àð$ðð$ðð    $ð
ð $ð
ó $ðLð %*Ø)-ð #à+ð#ð ð#ð8ð    #ð
"ð #ð 'ð #ð
ò#óð#ðð#'ð#ð %*Ø)-ñ#à+ð#ð ð#ð
8ð #ð "ð #ð'ð#ð
ò#óð#ðð#'Ø+/Ø$)Ø)-ð !à+ð!ð ð!ð)ð    !ð
"ð !ð 'ð !ð
ò!óð!ð#'ØRVØ$)Ø)-ð Hà+ðHð ðHðPð    Hð
"ð Hð 'ð Hð
3óHðTà    óð>ð ð IàðIð%ðIð8ð    Ið
ð Ið
Dò IóðIðð(,ðIð ñ IàðIð%ðIð
8ð Ið ð Ið
DòIóðIðð(,Ø+/Øð GàðGð%ðGð)ð    Gð
ð Gð
Bò GóðGð(,ØRVØð X0àðX0ð%ðX0ðPð    X0ð
ð X0ð 
ó X0ótð"LPðØ8ðØDHðà     óó ð
ð
ó
ô"&rJr¢có—eZdZdZddd„Zy)rÀz>
    Map each requirement to the extras that demanded it.
    Ncóx‡—‰j xs+tˆfd„|j‰d«|xsdzD««S)z»
        Evaluate markers for req against each extra that
        demanded it.
 
        Return False if the req has a marker and fails
        evaluation. Otherwise, return True.
        c3óX•K—|]!}‰jjd|i«–—Œ#y­w)ÚextraN©ÚmarkerÚevaluate)rœrrßs  €rKrz*_ReqExtras.markers_pass.<locals>.<genexpr>ks-øèø€ò%
àð J‰J× Ñ  ¨%Р0× 1ñ%
ùsƒ'*rI)r)rÚanyr!)rÒrßr»s ` rKrÄz_ReqExtras.markers_passcs@ø€ð—:‘:ˆ~ò
¤ó%
àŸ™ # rÓ*¨fªo¸Ñ>ô%
ó"
ð    
rJrR)rßr2r»r÷)rErFrGrOrÄrIrJrKrÀrÀ^s „ñõ 
rJrÀ.có`—eZdZdZde«ef                            dd„Zdd„Zdd„Zddd„Z    dd„Z
dd„Z e     d                                    dd    „«Z e         d                                    dd
„«Z         d                                    dd „Z e                         dd „«Ze     d                    dd „«Ze     d                    d d„«Z    d                    d!d„Zd"d„Zd#d„Zd#d„Zy)$r¡z5Searchable snapshot of distributions on a search pathNcóP—i|_||_||_|j|«y)a!Snapshot distributions available on a search path
 
        Any distributions found on `search_path` are added to the environment.
        `search_path` should be a sequence of ``sys.path`` items.  If not
        supplied, ``sys.path`` is used.
 
        `platform` is an optional string specifying the name of the platform
        that platform-specific distributions must be compatible with.  If
        unspecified, it defaults to the current platform.  `python` is an
        optional string naming the desired version of Python (e.g. ``'3.6'``);
        it defaults to the current version.
 
        You may explicitly set `platform` (and/or `python`) to ``None`` if you
        wish to map *all* distributions, not just those compatible with the
        running platform or Python version.
        N)Ú_distmapr‚ÚpythonÚscan)rÒÚ search_pathr‚r    s    rKr€zEnvironment.__init__ts%€ð,8:ˆŒ Ø ˆŒ ؈Œ Ø     ‰    +ÕrJcó¼—|jduxs)|jduxs|j|jk(}|xr t|j|j«S)zåIs distribution `dist` acceptable for this environment?
 
        The distribution must match the platform and python version
        requirements specified when this environment was created, or False
        is returned.
        N)r    Ú
py_versionr¯r‚)rÒrÚÚ    py_compats   rKÚcan_addzEnvironment.can_addsX€ð K‰K˜4Ð ò .؏‰ $Ð&ò .à‰ $§+¡+Ñ-ð    ð
ÒOÔ1°$·-±-ÀÇÁÓOÐOrJcóT—|j|jj|«y)z"Remove `dist` from the environmentN)rrmÚremover“s  rKrzEnvironment.removes€à  ‰ d—h‘hÑ×&Ñ& tÕ,rJcóx—|€tj}|D]#}t|«D]}|j|«ŒŒ%y)adScan `search_path` for distributions usable in this environment
 
        Any distributions found are added to the environment.
        `search_path` should be a sequence of ``sys.path`` items.  If not
        supplied, ``sys.path`` is used.  Only distributions conforming to
        the platform/python version defined at initialization are added.
        N)rrrr‹)rÒr r§rÚs    rKr
zEnvironment.scan¡sA€ð Ð ÜŸ(™(ˆKàò    ˆDÜ*¨4Ó0ò Ø—‘˜•ñ ñ    rJcóZ—|j«}|jj|g«S)aReturn a newest-to-oldest list of distributions for `project_name`
 
        Uses case-insensitive `project_name` comparison, assuming all the
        project's distributions use their project's name converted to all
        lowercase as their key.
 
        )Úlowerrr!)rÒrÇÚdistribution_keys   rKÚ __getitem__zEnvironment.__getitem__°s+€ð(×-Ñ-Ó/ÐØ}‰}× Ñ Ð!1°2Ó6Ð6rJcó—|j|«rt|j«rc|jj|jg«}||vr8|j |«|j tjd«d¬«yyyy)zCAdd `dist` if we ``can_add()`` it and it has not already been addedÚhashcmpT)rmÚreverseN)    rÚ has_versionrrrmr‘rÚÚoperatorÚ
attrgetter)rÒrÚrŽs   rKr‹zEnvironment.add»so€à <‰<˜Ô  $×"2Ñ"2Ô"4Ø—M‘M×,Ñ,¨T¯X©X°rÓ:ˆEؘ5Ñ Ø— ‘ ˜TÔ"Ø—
‘
œx×2Ñ2°9Ó=Àt
ÕLð!ð#5Ð rJcó—yrRrI©rÒrßr›r¹rºs     rKrÏzEnvironment.best_matchÃs€ðrJcó—yrRrIrs     rKrÏzEnvironment.best_matchËs€ð"rJc󲗠   |j|«}||S||jD]
}||vsŒ|cS|j||«S#t$r|s‚d}YŒBwxYw)a¸Find distribution best matching `req` and usable on `working_set`
 
        This calls the ``find(req)`` method of the `working_set` to see if a
        suitable distribution is already active.  (This may raise
        ``VersionConflict`` if an unsuitable version of the project is already
        active in the specified `working_set`.)  If a suitable distribution
        isn't active, this method returns the newest distribution in the
        environment that meets the ``Requirement`` in `req`.  If no suitable
        distribution is found, and `installer` is supplied, then the result of
        calling the environment's ``obtain(req, installer)`` method will be
        returned.
        N)rr¦rmÚobtain)rÒrßr›r¹rºrÚs      rKrÏzEnvironment.best_matchÓsv€ð&    Ø×#Ñ# CÓ(ˆDð
Р؈KؘŸ™‘Mò    ˆDؐsŠ{Ø’ ð    ð{‰{˜3     Ó*Ð*øôò    Ù&ØØŠDð    ús‚AÁAÁAcó—yrRrI©rÒÚ requirementr¹s   rKr!zEnvironment.obtainôs€ð
rJcó—yrRrIr#s   rKr!zEnvironment.obtainús€ð
rJcó—yrRrIr#s   rKr!zEnvironment.obtains€ð
"rJcó—|r||«SdS)aÞObtain a distribution matching `requirement` (e.g. via download)
 
        Obtain a distro that matches requirement (e.g. via download).  In the
        base ``Environment`` class, this routine just returns
        ``installer(requirement)``, unless `installer` is None, in which case
        None is returned instead.  This method is a hook that allows subclasses
        to attempt other ways of obtaining a distribution before falling back
        to the `installer` argument.NrIr#s   rKr!zEnvironment.obtains€ñ *3‰y˜Ó%Ð<¸Ð<rJc#ó^K—|jj«D] }||sŒ    |–—Œy­w)z=Yield the unique project names of the available distributionsN)rr²©rÒrms  rKr¨zEnvironment.__iter__s.èø€à—=‘=×%Ñ%Ó'ò    ˆCؐC‹yØ“    ñ    ùs‚#-¦-cóΗt|t«r|j|«|St|t«r$|D]}||D]}|j|«ŒŒ|St    d|›d«‚)z2In-place addition of a distribution or environmentz
Can't add z to environment)rr/r‹r¡r=)rÒÚotherÚprojectrÚs    rKÚ__iadd__zEnvironment.__iadd__st€ä eœ\Ô *Ø H‰HUŒOðˆ ô ˜œ{Ô +Ø ò #Ø! '™Nò#DØ—H‘H˜T•Nñ#ð #ð
ˆ ô˜j¨¨    °ÐAÓBÐ BrJcóJ—|jgdd¬«}||fD]}||z }Œ    |S)z4Add an environment or distribution to an environmentN)r‚r    ©rÏ)rÒr+Únewr¸s    rKÚ__add__zEnvironment.__add__*s7€àn‰n˜R¨$°tˆnÓ<ˆØ˜;ò    ˆCØ 3‰J‰Cð    àˆ
rJ)r rïr‚ròr    ròrÕrarð)rÚr/rÕrarR)r rïrÕra)rÇrÖrÕrù©F)
rßr2r›r¢r¹rörºrYrÕr.©NF)
rßr2r›r¢r¹rørºrYrÕrñ)
rßr2r›r¢r¹rúrºrYrÕrñ)r$r2r¹rörÕr.)r$r2r¹z$Callable[[Requirement], None] | NonerÕra)r$r2r¹rørÕrñ)r$r2r¹z\Callable[[Requirement], None] | _InstallerType | None | _StrictInstallerType[_DistributionT]rÕrñ)rÕr\)r+zDistribution | EnvironmentrÕr()rErFrGrOr‹ÚPY_MAJORr€rrr
rr‹rrÏr!r¨r-r1rIrJrKr¡r¡qsþ„Ù?ð-1Ù5Ó7Ø%ð    à)ððððð    ð
 
ó ó6 Pó-ô ó    7óMðð %*ð à ðð ðð8ð    ð
"ð ð
ò óððð
,0Ø$)ð "à ð"ð ð"ð)ð    "ð
"ð "ð
ò "óð"ðSWØ$)ð +à ð+ð ð+ðPð    +ð
"ð +ð
ó +ðBðà ðð8ðð
ò    óðð
ð;?ðà ðð8ðð
ò    óðð
ð,0ð"à ð"ð)ð"ð
ò    "óð"ð26ð =à ð=ð/ð=ð
ó=ó$ó
ôrJr¡có0—eZdZUdZded<ded<ded<y)    r©aTAn error occurred extracting a resource
 
    The following attributes are available from instances of this exception:
 
    manager
        The resource manager that raised this exception
 
    cache_path
        The base directory for resource extraction
 
    original_error
        The exception instance that caused extraction to fail
    r£rerÖÚ
cache_pathzBaseException | NoneÚoriginal_errorN)rErFrGrOrHrIrJrKr©r©6s…ñ ðÓØƒOØ(Ô(rJr©cóޗeZdZUdZdZded<dd„Z                        dd„Z                        dd„Z                        dd„Z                            dd    „Z
                        dd
„Z                         dd „Z dd „Z ddd „Zedd„«Zdd„Zdd„Zddd„Zy)r£z'Manage resource extraction and packagesNròÚextraction_pathcó—i|_yrR)Ú cached_filesrÑs rKr€zResourceManager.__init__Os
€à68ˆÕrJcó6—t|«j|«S)zDoes the named resource exist?)rŽro©rÒÚpackage_or_requirementrfs   rKr˜zResourceManager.resource_existsSs€ôÐ2Ó3×@Ñ@ÀÓOÐOrJcó6—t|«j|«S)z,Is the named resource an existing directory?)rŽr™r=s   rKr™zResourceManager.resource_isdirYs€ôÐ2Ó3×BÑBÀ=ÓQÐQrJcó8—t|«j||«S)z4Return a true filesystem path for specified resource)rŽrgr=s   rKr–z!ResourceManager.resource_filename_s"€ôÐ2Ó3×IÑIØ -ó
ð    
rJcó8—t|«j||«S)z9Return a readable file-like object for specified resource)rŽrjr=s   rKr•zResourceManager.resource_streamgó"€ôÐ2Ó3×GÑGØ -ó
ð    
rJcó8—t|«j||«S)z)Return specified resource as :obj:`bytes`)rŽrlr=s   rKr”zResourceManager.resource_stringorBrJcó6—t|«j|«S)z1List the contents of the named resource directory)rŽr—r=s   rKr—z ResourceManager.resource_listdirws€ôÐ2Ó3×DÑDÀ]ÓSÐSrJcó—tj«d}|jxs
t«}t    j
d«j «}t|jdit«¤Ž«}||_
||_ ||_ |‚)z5Give an error message for problems extracting file(s)rÞa
            Can't extract file(s) to egg cache
 
            The following error occurred while trying to extract file(s)
            to the Python egg cache:
 
              {old_exc}
 
            The Python egg cache directory is currently set to:
 
              {cache_path}
 
            Perhaps your account does not have write access to this directory?
            You can change the cache directory by setting the PYTHON_EGG_CACHE
            environment variable to point to an accessible directory.
            rI) rÚexc_infor9r ÚtextwrapÚdedentÚlstripr©rärårer6r7)rÒÚold_excr6ÚtmplÚerrs     rKÚextraction_errorz ResourceManager.extraction_error}s~€ô—,‘,“. Ñ#ˆØ×)Ñ)Ò@Ô->Ó-@ˆ
䏉ð ó
÷" ‰&‹(ð#     ô$˜k˜dŸk™kÑ5¬F«HÑ5Ó6ˆØˆŒ Ø#ˆŒØ$ˆÔ؈    rJcó—|jxs
t«}tjj||dzg|¢­Ž}    t |«|j|«d|j|<|S#t $r|j«YŒ=wxYw)a®Return absolute location in cache for `archive_name` and `names`
 
        The parent directory of the resulting path will be created if it does
        not already exist.  `archive_name` should be the base filename of the
        enclosing egg (which may not be the name of the enclosing zipfile!),
        including its ".egg" extension.  `names`, if provided, should be a
        sequence of path name parts "under" the egg's extraction location.
 
        This method should only be called by resource providers that need to
        obtain an extraction location, and only for names they intend to
        extract, as it tracks the generated names for possible cleanup later.
        z-tmpT)
r9r rrrƒÚ_bypass_ensure_directoryÚ    ExceptionrMÚ_warn_unsafe_extraction_pathr;)rÒÚ archive_nameÚnamesÚ extract_pathÚ target_paths     rKÚget_cache_pathzResourceManager.get_cache_path›s†€ð×+Ñ+ÒBÔ/@Ó/Bˆ Ü—g‘g—l‘l <°ÀÑ1FÐOÈÒOˆ ð    $Ü $ [Ô 1ð     ×)Ñ)¨,Ô7à)-ˆ×ј+Ñ&ØÐøô ò    $Ø × !Ñ !Ö #ð    $ús¾ A+Á+BÂBcód—tjdk(r#|jtjd«sytj|«j
}|tj zs|tjzr5djdit«¤Ž}tj|t«yy)aN
        If the default extraction path is overridden and set to an insecure
        location, such as /tmp, it opens up an opportunity for an attacker to
        replace an extracted file with an unauthorized payload. Warn the user
        if a known insecure location is used.
 
        See Distribute #375 for more details.
        ÚntÚwindirNzáExtraction path is writable by group/others and vulnerable to attack when used with get_resource_filename ({path}). Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).rI) rr@r)ÚenvironÚstatÚst_modeÚS_IWOTHÚS_IWGRPräråÚwarningsÚwarnÚ UserWarning)rÚmodeÚmsgs   rKrQz,ResourceManager._warn_unsafe_extraction_path´s‹€ô 7‰7dŠ? 4§?¡?´2·:±:¸hÑ3GÔ#Hð ܏w‰wt‹}×$Ñ$ˆØ ”$—,‘,Ò  $¬¯©Ò"5ðð:÷ ‰fñ!ô“xñ!ˆCô M‰M˜#œ{Õ +ð#6rJcó¢—tjdk(r<tj|«jdzdz}tj||«yy)a4Perform any platform-specific postprocessing of `tempname`
 
        This is where Mac header rewrites should be done; other platforms don't
        have anything special they should do.
 
        Resource providers should call this method ONLY after successfully
        extracting a compressed resource.  They must NOT call it on resources
        that are already in the filesystem.
 
        `tempname` is the current (temporary) name of the file, and `filename`
        is the name it will be renamed to by the caller after this routine
        returns.
        ÚposiximiÿN)rr@r[r\Úchmod)rÒÚtempnameÚfilenamerbs    rKÚ postprocesszResourceManager.postprocessÏsA€ô 7‰7gÒ ä—W‘W˜XÓ&×.Ñ.°%Ñ7¸6ÑAˆDÜ H‰HX˜tÕ $ð rJcó@—|jr td«‚||_y)aÒSet the base path where resources will be extracted to, if needed.
 
        If you do not call this routine before any extractions take place, the
        path defaults to the return value of ``get_default_cache()``.  (Which
        is based on the ``PYTHON_EGG_CACHE`` environment variable, with various
        platform-specific fallbacks.  See that routine's documentation for more
        details.)
 
        Resources are extracted to subdirectories of this path based upon
        information given by the ``IResourceProvider``.  You may set this to a
        temporary directory, but then you must call ``cleanup_resources()`` to
        delete the extracted files when done.  There is no guarantee that
        ``cleanup_resources()`` will be able to remove all extracted files.
 
        (Note: you may not change the extraction path for a given resource
        manager once resources have been extracted, unless you first call
        ``cleanup_resources()``.)
        z5Can't change extraction path, files already extractedN)r;r†r9©rÒrs  rKržz#ResourceManager.set_extraction_pathãs!€ð& × Ò ÜÐTÓUÐ Uà#ˆÕrJcó—gS)aB
        Delete all extracted resource files and directories, returning a list
        of the file and directory names that could not be successfully removed.
        This function does not have any concurrency protection, so it should
        generally only be called when the extraction path is a temporary
        directory exclusive to a single process.  This method is not
        automatically called; you must call it explicitly or register it as an
        ``atexit`` function if you wish to ensure cleanup of a temporary
        directory used for extractions.
        rI)rÒÚforces  rKrŸz!ResourceManager.cleanup_resourcesûs    €ðˆ    rJrü)r>r5rfrÖrÕrY)r>r5rfrÖrÕrÖ)r>r5rfrÖrÕr:)r>r5rfrÖrÕrt)r>r5rfrÖrÕr^)rÕr©rI)rRrÖrSzIterable[StrPath]rÕrÖ)rgr%rhr%rÕra©rrÖrÕrar2)rmrYrÕr^)rErFrGrOr9rHr€r˜r™r–r•r”r—rMrVÚ staticmethodrQriržrŸrIrJrKr£r£Jsû…Ù1à"&€OZÓ&ó9ðPØ&1ðPØBEðPà     óPð RØ&1ðRØBEðRà     óRð 
Ø&1ð
ØBEð
à     ó
ð
Ø&1ð
ØBEð
à    ó
ð
Ø&1ð
ØBEð
à    ó
ðTØ&1ðTØBEðTà    óTó ô<ð2ò,óð,ó4%ó($õ0 rJr£có\—tjjd«xs td¬«S)zŒ
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    ÚPYTHON_EGG_CACHEz Python-Eggs)Úappname)rrZr!Ú_user_cache_dirrIrJrKr r 
s"€ô :‰:>‰>Ð,Ó -Ò W´ÈÔ1WÐWrJcó0—tjdd|«S)zConvert an arbitrary string to a standard distribution name
 
    Any runs of non-alphanumeric/. characters are replaced with a single '-'.
    ú[^A-Za-z0-9.]+r})ÚreÚsub©r@s rKr¬r¬s€ô
6‰6Ð" C¨Ó .Ð.rJcó엠   ttjj|««S#tjj$r,|j dd«}t jdd|«cYSwxYw)zB
    Convert an arbitrary string to a standard version string
    r&r{rvr})rÖr­rÚVersionÚInvalidVersionr+rwrx)rs rKr­r­sb€ð6ä”9×$Ñ$×,Ñ,¨WÓ5Ó6Ð6øÜ × Ñ × +Ñ +ò6Ø—/‘/ # sÓ+ˆÜv‰vÐ&¨¨WÓ5Ò5ð6ús‚'*ªAA3Á2A3có̗|jdd«}tj|«}|r|d}|t|«d}nd}|}dt    |«›j d«}|›d|›S)aFallback when ``safe_version`` is not safe enough
    >>> parse_version(_forgiving_version('0.23ubuntu1'))
    <Version('0.23.dev0+sanitized.ubuntu1')>
    >>> parse_version(_forgiving_version('0.23-'))
    <Version('0.23.dev0+sanitized')>
    >>> parse_version(_forgiving_version('0.-_'))
    <Version('0.dev0+sanitized')>
    >>> parse_version(_forgiving_version('42.+?1'))
    <Version('42.dev0+sanitized.1')>
    >>> parse_version(_forgiving_version('hello world'))
    <Version('0.dev0+sanitized.hello.world')>
    r&r{ÚsafeNÚ0z
sanitized.z.dev0+)r+Ú_PEP440_FALLBACKÚsearchÚlenÚ _safe_segmentÚstrip)rr€r~ÚrestÚlocals     rKÚ_forgiving_versionr‡'sx€ðo‰o˜c 3Ó'€GÜ × #Ñ # GÓ ,€E٠ؐV‰}ˆØ”s˜4“y{Ð#‰àˆØˆØœ tÓ,Ð-Ð .× 4Ñ 4°SÓ 9€E؈V6˜%˜Ð !Ð!rJcóª—tjdd|«}tjdd|«}tjdd|«jd«S)z/Convert an arbitrary string into a safe segmentrvr}z-[^A-Za-z0-9]+z\.[^A-Za-z0-9]+r{z.-)rwrxr„)Úsegments rKrƒrƒ@sG€äf‰fÐ% s¨GÓ4€G܏f‰fÐ% s¨GÓ4€GÜ 6‰6Ð$ c¨7Ó 3× 9Ñ 9¸$Ó ?Ð?rJcóL—tjdd|«j«S)z±Convert an arbitrary string to a standard 'extra' name
 
    Any runs of non-alphanumeric characters are replaced with a single '_',
    and the result is always lowercased.
    z[^A-Za-z0-9.-]+r')rwrxr)rs rKr±r±Gs!€ô 6‰6Ð# S¨%Ó 0× 6Ñ 6Ó 8Ð8rJcó&—|jdd«S)z|Convert a project or version name to its filename-escaped form
 
    Any '-' characters are currently replaced with '_'.
    r}r'rªrys rKr²r²Ps€ð
<‰<˜˜SÓ !Ð!rJcóh—    t|«y#t$r}d|_d|_|cYd}~Sd}~wwxYw)zo
    Validate text as a PEP 508 environment marker; return an exception
    if invalid or False otherwise.
    NF)r´Ú SyntaxErrorrhÚlineno)ÚtextÚes  rKr³r³Xs9€ð
ܘÔð
øô     ò؈Œ
؈ŒØûðús‚ Ž    1—,¦1¬1cóė    tjj|«}|j«S#tjj$r}t |«|‚d}~wwxYw)zÙ
    Evaluate a PEP 508 environment marker.
    Return a boolean indicating the marker result in this environment.
    Raise SyntaxError if marker is invalid.
 
    This implementation uses the 'pyparsing' module.
    N)r­ÚmarkersÚMarkerrÚ InvalidMarkerr)rrrrs    rKr´r´fsR€ð$Ü×"Ñ"×)Ñ)¨$Ó/ˆØ‰Ó Ð øÜ × Ñ × *Ñ *ò$ܘ!‹n !Ð#ûð$ús‚.1±AÁ AÁAcó—eZdZUdZdZded<dZded<dZded<dd„Z                        dd    „Z                            dd
„Z
                        dd „Z d d „Z d „Z d!d„Zd"d„Zd#d„Zd d„Zd!d„Zd$d„Zd%d„Zd&d„Zd'd„Zd'd„Zd(d„Zd)d„Zed*d„«Zd+d„Zy),rÂzETry to implement resources and metadata for arbitrary PEP 302 loadersNròÚegg_nameÚegg_infozLoaderProtocol | Nonercó†—t|dd«|_tjj    t|dd««|_y)NrCÚ__file__r)r rrrÚdirnameÚ module_path)rÒr s  rKr€zNullProvider.__init__|s0€Ü˜f l°DÓ9ˆŒ ÜŸ7™7Ÿ?™?¬7°6¸:ÀrÓ+JÓKˆÕrJcó:—|j|j|«SrR)Ú_fnr›rds   rKrgz"NullProvider.get_resource_filename€s€ðx‰x˜×(Ñ(¨-Ó8Ð8rJcóL—tj|j||««SrR)ÚioÚBytesIOrlrds   rKrjz NullProvider.get_resource_stream…s €ôz‰z˜$×2Ñ2°7¸MÓJÓKÐKrJcóX—|j|j|j|««SrR)Ú_getrr›rds   rKrlz NullProvider.get_resource_stringŠs$€ðy‰y˜Ÿ™ $×"2Ñ"2°MÓBÓCÐCrJcóX—|j|j|j|««SrR)Ú_hasrr›rns  rKrozNullProvider.has_resources"€Øy‰y˜Ÿ™ $×"2Ñ"2°MÓBÓCÐCrJcó:—|j|j|«SrR)rr—rJs  rKÚ_get_metadata_pathzNullProvider._get_metadata_path’s€Øx‰x˜Ÿ ™  tÓ,Ð,rJcó`—|jsy|j|«}|j|«Sr3)r—r¦r¤©rÒr@rs   rKrKzNullProvider.has_metadata•s*€Ø}Š}Øà×&Ñ& tÓ,ˆØy‰y˜‹ÐrJcóޗ|jsy|j|«}|j|«}    |jd«S#t$r!}|xj
d|›d|›z c_‚d}~wwxYw)Nrúutf-8z in ú file at path: )r—r¦r¢ÚdecodeÚUnicodeDecodeErrorÚreason)rÒr@rÚvalueÚexcs     rKrNzNullProvider.get_metadataœsm€Ø}Š}ØØ×&Ñ& tÓ,ˆØ—    ‘    ˜$“ˆð    Ø—<‘< Ó(Ð (øÜ!ò    ð JŠJ˜D   o°d°VÐ<Ñ <JØ ûð        ús±AÁ    A,Á A'Á'A,có6—t|j|««SrR©r"rNrJs  rKrPzNullProvider.get_metadata_lines©ó€Ü˜4×,Ñ,¨TÓ2Ó3Ð3rJcóX—|j|j|j|««SrR)Ú_isdirrr›rns  rKr™zNullProvider.resource_isdir¬s"€Ø{‰{˜4Ÿ8™8 D×$4Ñ$4°mÓDÓEÐErJcó†—t|jxr+|j|j|j|«««SrR)rYr—rµrrJs  rKrRzNullProvider.metadata_isdir¯s.€ÜD—M‘MÒP d§k¡k°$·(±(¸4¿=¹=È$Ó2OÓ&PÓQÐQrJcóX—|j|j|j|««SrR)Ú_listdirrr›rns  rKr—zNullProvider.resource_listdir²s"€Ø}‰}˜TŸX™X d×&6Ñ&6¸ ÓFÓGÐGrJcót—|jr+|j|j|j|««SgSrR)r—r¸rrJs  rKrTzNullProvider.metadata_listdirµs,€Ø =Š=Ø—=‘= §¡¨$¯-©-¸Ó!>Ó?Ð ?؈    rJcó*—d|z}|j|«s#tdjd
it«¤Ž«‚|j    |«j dd«}|j dd«}|j |j|«}||d<tjj|«r&t|«}t||d«}t|||«ydd    lm}t!|«d|j#d«|f||<t||d«}    t|    ||«y) Nzscripts/z<Script {script!r} not found in metadata at {self.egg_info!r}z
ú
ú r™Úexecr)ÚcacherI)rKr¥rärårNr+rr—rrrÚ_read_utf8_with_fallbackÚcompiler½Ú    linecacher¾r‚r)
rÒrVrWÚscriptÚ script_textÚscript_filenameÚsourceÚcoder¾Ú script_codes
          rKrzNullProvider.run_scriptºs€Ø˜kÑ)ˆØ× Ñ  Ô(Ü!ØUÐN×UÑUñÜ“hñóð ð ×'Ñ'¨Ó/×7Ñ7¸ÀÓEˆ Ø!×)Ñ)¨$°Ó5ˆ ØŸ(™( 4§=¡=°&Ó9ˆØ /ˆ    *ÑÜ 7‰7>‰>˜/Ô *Ü-¨oÓ>ˆFܘ6 ?°FÓ;ˆDÜ y )Õ ,å 'ôKÓ ØØ×!Ñ! $Ó'Øð    &ˆE/Ñ "ô " +¨ÀÓGˆKÜ ˜i¨Õ 3rJcó—td«‚©Nz9Can't perform this operation for unregistered loader type©ÚNotImplementedErrorrks  rKr¤zNullProvider._has×ó€Ü!Ø Gó
ð    
rJcó—td«‚rÉrÊrks  rKrµzNullProvider._isdirÜrÌrJcó—td«‚rÉrÊrks  rKr¸zNullProvider._listdirárÌrJcó¤—|€ td«‚|j|«|r/tjj|g|j d«¢­ŽS|S)Nz^`base` parameter in `_fn` is `None`. Either override this method or check the parameter first.ú/)r=Ú_validate_resource_pathrrrƒr)rÒÚbaserfs   rKrzNullProvider._fnæsR€Ø ˆ<ÜØpóð ð     ×$Ñ$ ]Ô3Ù Ü—7‘7—<‘< Ð@ }×':Ñ':¸3Ó'?Ò@Ð @؈ rJcóº—tjj|jtj
«vxs?t    j |«xs(tj |«xs|jd«}|syd}|jd«stj |«r t    j |«s t|«‚t|dddzt«y)aH
        Validate the resource paths according to the docs.
        https://setuptools.pypa.io/en/latest/pkg_resources.html#basic-resource-access
 
        >>> warned = getfixture('recwarn')
        >>> warnings.simplefilter('always')
        >>> vrp = NullProvider._validate_resource_path
        >>> vrp('foo/bar.txt')
        >>> bool(warned)
        False
        >>> vrp('../foo/bar.txt')
        >>> bool(warned)
        True
        >>> warned.clear()
        >>> vrp('/foo/bar.txt')
        >>> bool(warned)
        True
        >>> vrp('foo/../../bar.txt')
        >>> bool(warned)
        True
        >>> warned.clear()
        >>> vrp('foo/f../bar.txt')
        >>> bool(warned)
        False
 
        Windows path separators are straight-up disallowed.
        >>> vrp(r'\foo/bar.txt')
        Traceback (most recent call last):
        ...
        ValueError: Use of .. or absolute path in a resource path is not allowed.
 
        >>> vrp(r'C:\foo/bar.txt')
        Traceback (most recent call last):
        ...
        ValueError: Use of .. or absolute path in a resource path is not allowed.
 
        Blank values are allowed
 
        >>> vrp('')
        >>> bool(warned)
        False
 
        Non-string values are not.
 
        >>> vrp(None)
        Traceback (most recent call last):
        ...
        AttributeError: ...
        ú\Nz=Use of .. or absolute path in a resource path is not allowed.rüz/ and will raise exceptions in a future release.) rrÚpardirrÚ    posixpathÚsepÚisabsÚntpathr)r†Ú issue_warningÚDeprecationWarning)rÚinvalidrcs   rKrÑz$NullProvider._validate_resource_pathðs´€ôl G‰GN‰N˜dŸj™j¬¯©Ó7Ð 7ò %܏‰˜tÓ$ò %ä|‰|˜DÓ!ò %ð‰˜tÓ$ð        ñ Ø àMˆð O‰O˜DÔ !¤V§\¡\°$Ô%7ÄÇÁÐQUÔAVܘS“/Ð !ô    Ø ˆHÐHÑ HÜ õ    
rJcó’—t|jd«r'|jr|jj|«Std«‚)NÚget_dataz=Can't perform this operation for loaders without 'get_data()')ÚhasattrrrÞrËrks  rKr¢zNullProvider._get;s;€Ü 4—;‘; 
Ô +°· ² à—;‘;×'Ñ'¨Ó-Ð -Ü!Ø Kó
ð    
rJ©r r;rÕrarr)rer£rfrÖrÕr rsrurXrZr[rvr]r_©rÕrY)rÕr^)rÒròrfrÖrü©rÕrt)rErFrGrOr–rHr—rr€rgrjrlror¦rKrNrPr™rRr—rTrr¤rµr¸rrprÑr¢rIrJrKrÂrÂusï…ÙOà€HˆjÓØ€HˆjÓØ$(€FÐ !Ó(óLð9Ø&ð9Ø7:ð9à     ó9ð
LØ&ðLØ7:ðLà    óLð
DØ&ðDØ7:ðDà    óDó
Dò-óó ó4óFóRóHóó
4ó:
ó
 
ó
 
ó
ðòH
óðH
ôT
rJrÂc#óxK—d}||k7r/|–—|}tjj|«\}}||k7rŒ.yy­w)z2
    yield all parents of path including path
    N)rrr)rÚlastr's   rKÚ_parentsråGs=èø€ð €DØ
$Š,ØŠ
؈ܗ'‘'—-‘- Ó%‰ˆˆað $,ùs‚5:¸:có2‡—eZdZdZdˆfd„ Zd„Zdd„ZˆxZS)rÃz&Provider based on a virtual filesystemcóD•—t‰||«|j«yrR)Úsuperr€Ú _setup_prefix©rÒr rÏs  €rKr€zEggProvider.__init__Usø€Ü ‰Ñ˜Ô Ø ×ÑÕrJcó—ttt|j««}t    |d«}|xr|j |«yyrR)r–Ú _is_egg_pathrår›ÚnextÚ_set_egg)rÒÚeggsÚeggs   rKrézEggProvider._setup_prefixYs;€ô”l¤H¨T×-=Ñ-=Ó$>Ó?ˆÜ4˜ÓˆØ Ò"— ‘ ˜cÕ"Ñ"rJcó¤—tjj|«|_tjj    |d«|_||_y)NúEGG-INFO)rrÚbasenamer–rƒr—Úegg_rootrks  rKrîzEggProvider._set_egg`s5€ÜŸ™×(Ñ(¨Ó.ˆŒ ÜŸ™Ÿ ™  T¨:Ó6ˆŒ ؈ rJràro)rErFrGrOr€rérîÚ __classcell__r/s@rKrÃrÃRsø„Ù0õò#÷rJrÃcóT—eZdZdZd    d„Zd    d„Zd„Z                        d
d„Zd d„Ze    d d„«Z
y) rÄz6Provides access to package resources in the filesystemcó@—tjj|«SrR)rrrrks  rKr¤zDefaultProvider._hasis€Üw‰w~‰~˜dÓ#Ð#rJcó@—tjj|«SrR)rrrrks  rKrµzDefaultProvider._isdirls€Üw‰w}‰}˜TÓ"Ð"rJcó,—tj|«SrR)rÚlistdirrks  rKr¸zDefaultProvider._listdiros€Üz‰z˜$ÓÐrJcóN—t|j|j|«d«S©Nr)rrr›rds   rKrjz#DefaultProvider.get_resource_streamrs"€ôD—H‘H˜T×-Ñ-¨}Ó=¸tÓDÐDrJcóf—t|d«5}|j«cddd«S#1swYyxYwrü)rÚread)rÒrÚstreams   rKr¢zDefaultProvider._getws,€Ü $˜Ó ð    ! Ø—;‘;“=÷    !÷    !ò    !ús'§0cóv—d}|D]2}ttj|td««}t    ||«Œ4y)N)ÚSourceFileLoaderÚSourcelessFileLoader)r Ú    importlibÚ    machineryÚtyperÈ)r†Ú loader_namesr@Ú
loader_clss    rKÚ    _registerzDefaultProvider._register{s<€ð
ˆ ð!ò    2ˆDÜ ¤×!4Ñ!4°d¼DÀ»JÓGˆJÜ   ¨SÕ 1ñ    2rJNrá)reÚobjectrfrÖrÕzio.BufferedReaderrârü) rErFrGrOr¤rµr¸rjr¢rýrrIrJrKrÄrÄfsN„Ù@ó$ó#ò ðEØðEØ.1ðEà    óEó
!ðò2óñ2rJrÄcó@—eZdZUdZdZded<d„xZZd    d„Zd„Z    d
d„Z
y) rÀz.Provider that returns nothing for all requestsNròr›có—yr3rIrks  rKrwzEmptyProvider.<lambda>rxrJcó—y)NrJrIrks  rKr¢zEmptyProvider._get‘s€ØrJcó—gSrRrIrks  rKr¸zEmptyProvider._listdir”s€Øˆ    rJcó—yrRrIrÑs rKr€zEmptyProvider.__init__—s€Ø rJrârü) rErFrGrOr›rHrµr¤r¢r¸r€rIrJrKrÀrÀ‰s*…Ù8ð#€KÓ"á,Ð,€FˆTóòô rJrÀcó&—eZdZdZedd„«ZeZy)Ú ZipManifestsz
    zip manifest builder
    c󢇗tj|«5Šˆfd„‰j«D«}t|«cddd«S#1swYyxYw)a
        Build a dictionary similar to the zipimport directory
        caches, except instead of tuples, store ZipInfo objects.
 
        Use a platform-specific path separator (os.sep) for the path keys
        for compatibility with pypy on Windows.
        c3ó€•K—|]5}|jdtj«‰j|«f–—Œ7y­w)rÐN)r+rr×Úgetinfo)rœr@Úzfiles  €rKrz%ZipManifests.build.<locals>.<genexpr>®s;øèø€òð
ð—L‘L ¤b§f¡fÓ-Ø—M‘M $Ó'ôñùsƒ;>N)ÚzipfileÚZipFileÚnamelistrÝ)r†rrZrs   @rKrŠzZipManifests.build¤sIø€ô_‰_˜TÓ "ð     eóð
"ŸN™NÓ,ô ˆEô˜“;÷    ÷    ò    ús —$AÁAN©rrÖrÕúdict[str, zipfile.ZipInfo])rErFrGrOrýrŠrrIrJrKrržs"„ñð
òóðð$ DrJrú!MemoizedZipManifests.manifest_modcó.—eZdZdZGd„de«Zdd„Zy)ÚMemoizedZipManifestsz%
    Memoized zipfile manifests.
    có"—eZdZUded<ded<y)rrÚmanifestÚfloatÚmtimeNrDrIrJrKÚ manifest_modz!MemoizedZipManifests.manifest_mod¿s …Ø,Ó,ØŒ rJr!có—tjj|«}tj|«j}||vs||j
|k7r&|j |«}|j||«||<||jS)zW
        Load a manifest at path or return a suitable manifest already loaded.
        )    rrÚnormpathr[Úst_mtimer rŠr!r)rÒrr rs    rKrzMemoizedZipManifests.loadÃsx€ôw‰w×Ñ Ó%ˆÜ—‘˜“ ×&Ñ&ˆà tÑ ˜t D™z×/Ñ/°5Ò8Ø—z‘z $Ó'ˆHØ×*Ñ*¨8°UÓ;ˆD‰JàD‰z×"Ñ"Ð"rJNr)rErFrGrOrr!rrIrJrKrrºs„ñôzôô #rJrcó̇—eZdZUdZdZded<e«Zded<dˆfd„ Zd„Z    d    „Z
e d
„«Z                         dd „Z ed „«Zdd „Zd„Zd„Zd„Zdd„Zdd„Zd„Zdd„Zdd„ZˆxZS)rÅz"Resource support for zips and eggsNúlist[str] | NoneÚeagersrBrcó|•—t‰||«|jjtj
z|_yrR)rèr€rÚarchiverr×Úzip_prerês  €rKr€zZipProvider.__init__Ùs*ø€Ü ‰Ñ˜Ô Ø—{‘{×*Ñ*¬R¯V©VÑ3ˆ rJcó—|jtj«}||jjk(ry|j |j «r|t|j «dSt|›d|j ›«‚)Nrú is not a subpath of )    Úrstriprr×rr)r)r*r‚ÚAssertionError©rÒÚfspaths  rKÚ _zipinfo_namezZipProvider._zipinfo_nameÝso€ð—‘œrŸv™vÓ&ˆØ T—[‘[×(Ñ(Ò (ØØ × Ñ ˜TŸ\™\Ô *Øœ#˜dŸl™lÓ+Ð-Ð.Ð .Ü ˜xÐ'<¸T¿\¹\¸NÐKÓLÐLrJcó—|j|z}|j|jtjz«r8|t |j«dzdj tj«St|›d|j›«‚)NrÞr,)r*r)rôrr×r‚rr.)rÒÚzip_pathr0s   rKÚ_partszZipProvider._partsçss€ð—‘ Ñ(ˆØ × Ñ ˜TŸ]™]¬R¯V©VÑ3Ô 4Øœ#˜dŸm™mÓ,¨qÑ0Ð2Ð3×9Ñ9¼"¿&¹&ÓAÐ AÜ ˜xÐ'<¸T¿]¹]¸OÐLÓMÐMrJcó`—|jj|jj«SrR)Ú_zip_manifestsrrr)rÑs rKÚzipinfozZipProvider.zipinfoïs#€à×"Ñ"×'Ñ'¨¯ © ×(;Ñ(;Ó<Ð<rJcó*—|js td«‚|j|«}|j«}dj    |j |««|vr(|D]#}|j ||j|««Œ%|j ||«S)Nz5resource_filename() only supported for .egg, not .ziprÐ)r–rËÚ_resource_to_zipÚ_get_eager_resourcesrƒr4Ú_extract_resourceÚ _eager_to_zip)rÒrerfr3r'r@s      rKrgz!ZipProvider.get_resource_filenameós”€ð}Š}Ü%ØGóð ð×(Ñ(¨Ó7ˆØ×*Ñ*Ó,ˆØ 8‰8D—K‘K Ó)Ó *¨fÑ 4Øò JØ×&Ñ& w°×0BÑ0BÀ4Ó0HÕIð Jà×%Ñ% g¨xÓ8Ð8rJcój—|j}|jdz}tj|«}||fS)N)rrrü)Ú    file_sizeÚ    date_timeÚtimeÚmktime)Úzip_statÚsizer?Ú    timestamps    rKÚ_get_date_and_sizezZipProvider._get_date_and_sizes5€à×!Ñ!ˆà×&Ñ&¨Ñ3ˆ    ä—K‘K     Ó*ˆ    Ø˜$ˆÐrJcóh—||j«vrg|j«|D]2}|j|tjj    ||««}Œ4tjj «S|j |j|«\}}ts td«‚    |js td«‚|j|j|j|««}|j||«r|Stdtjj |«¬«\}}    tj||j j#|««tj$|«t'|    ||f«|j)|    |«    t+|    |«|S#t$retjj-|«rD|j||«r|cYStj.dk(rt1|«t+|    |«|cYS‚wxYw#t$r|j3«YSwxYw)Nz>"os.rename" and "os.unlink" are not supported on this platformzT"egg_name" is empty. This likely means no egg could be found from the "module_path".z    .$extract)ÚdirrX)Ú_indexr;rrrƒršrEr7Ú WRITE_SUPPORTÚOSErrorr–rVr4Ú _is_currentÚ_mkstempÚwriterrÞÚcloserrirÚisfiler@rrM)
rÒrer3r@rärDÚ_sizeÚ    real_pathÚoutfÚtmpnams
          rKr;zZipProvider._extract_resource sè€Ø t—{‘{“}Ñ $ØŸ ™ ›  hÑ/ò UØ×-Ñ-¨g´r·w±w·|±|ÀHÈdÓ7SÓT‘ð Uô—7‘7—?‘? 4Ó(Ð (à×2Ñ2°4·<±<ÀÑ3IÓJш    5åÜØPóð ð%    'Ø—=’=ÜØjóðð ×.Ñ.¨t¯}©}¸d¿k¹kÈ(Ó>SÓTˆIà×Ñ     ¨8Ô4ؠРä#ØÜ—G‘G—O‘O IÓ.ô‰LˆD&ô H‰HT˜4Ÿ;™;×/Ñ/°Ó9Ô :Ü H‰HTŒNÜ &˜9 iÐ0Ô 1Ø × Ñ  ¨    Ô 2ð ܐv˜yÔ)ð&Ðøô#ò Ü—7‘7—>‘> )Ô,Ø×'Ñ'¨    °8Ô<ð )Ò(䟙 DšÜ˜yÔ)ܘv yÔ1Ø(Ò(Øð ûôò    'à × $Ñ $Õ &àÐð        'úsDÂ-AHÄBHÆ F#Æ#<HÇHÇ!,HÈ HÈHÈHÈH1È0H1có–—|j|j|«\}}tjj    |«sytj
|«}|j |k7s|j|k7ry|jj|«}t|d«5}|j«}ddd«||k(S#1swY|k(SxYw)zK
        Return True if the file_path is current for this zip_path
        FrN) rEr7rrrOr[Úst_sizer$rrÞrrþ)    rÒÚ    file_pathr3rDrCr[Ú zip_contentsÚfÚ file_contentss             rKrKzZipProvider._is_currentBs­€ð×1Ñ1°$·,±,¸xÑ2HÓI‰ˆ    4܏w‰w~‰~˜iÔ(ØÜw‰wyÓ!ˆØ <‰<˜4Ò  4§=¡=°IÒ#=Øà—{‘{×+Ñ+¨HÓ5ˆ Ü )˜TÓ "ð    % aØŸF™F›HˆM÷    %à˜}Ñ,Ð,÷    %à˜}Ñ,Ð,ús ÂB;Â;Ccó¶—|j€Bg}dD]4}|j|«sŒ|j|j|««Œ6||_|jS)N)znative_libs.txtzeager_resources.txt)r'rKrÆrP)rÒr'r@s   rKr:z ZipProvider._get_eager_resourcesRsZ€Ø ;‰;Р؈FØBò AØ×$Ñ$ TÕ*Ø—M‘M $×"9Ñ"9¸$Ó"?Õ@ð Að!ˆDŒK؏{‰{ÐrJcó`—    |jS#t$r–i}|jD]y}|jtj
«}|sŒ%tj
j |dd«}||vr||j|d«Œc|j«g||<|rŒUŒ{||_|cYSwxYw)Nrü)    Ú    _dirindexÚAttributeErrorr7rrr×rƒr‘rÃ)rÒÚindrÚpartsÚparents     rKrHzZipProvider._index[s©€ð    Ø—>‘>Ð !øÜò     ØˆCØŸ ™ ò 4ØŸ
™
¤2§6¡6Ó*ÚÜŸV™VŸ[™[¨¨s°¨Ó4FØ ‘}ؘF™ ×*Ñ*¨5°©9Ô5Øà',§y¡y£{ m˜˜F™ ó ð 4ð!ˆDŒNØŠJð     ús‚ Ž;B-Á
AB- B-Â,B-cóh—|j|«}||jvxs||j«vSrR)r1r7rH)rÒr0r3s   rKr¤zZipProvider._hasls1€Ø×%Ñ% fÓ-ˆØ˜4Ÿ<™<Ð'ÒD¨8°t·{±{³}Ð+DÐDrJcóD—|j|«|j«vSrR)r1rHr/s  rKrµzZipProvider._isdirps€Ø×!Ñ! &Ó)¨T¯[©[«]Ð:Ð:rJcór—t|j«j|j|«d««Srá)r¿rHr!r1r/s  rKr¸zZipProvider._listdirss+€ÜD—K‘K“M×%Ñ% d×&8Ñ&8¸Ó&@À"ÓEÓFÐFrJcóX—|j|j|j|««SrR)r1rrôrns  rKr<zZipProvider._eager_to_zipvs"€Ø×!Ñ! $§(¡(¨4¯=©=¸-Ó"HÓIÐIrJcóX—|j|j|j|««SrR)r1rr›rns  rKr9zZipProvider._resource_to_zipys$€Ø×!Ñ! $§(¡(¨4×+;Ñ+;¸]Ó"KÓLÐLrJ)r rArÕrarr)rer£rÕrÖrá)rfrÖ)rErFrGrOr'rHrr6r€r1r4rîr7rgrprEr;rKr:rHr¤rµr¸r<r9rõr/s@rKrÅrÅÑs§ø…Ù,à#€FÐ Ó#Ù)Ó+€Nà !Ó!õ4òMòNðñ=óð=ð 9Ø&ð 9Ø7:ð 9à     ó 9ðñóðó4òl-ò òó"Eó;òGóJ÷MrJrÅcó>—eZdZdZd    d„Zd„Zd
d„Zd d„Zd d„Zd d„Z    y)r½a*Metadata handler for standalone PKG-INFO files
 
    Usage::
 
        metadata = FileMetadata("/path/to/PKG-INFO")
 
    This provider rejects all data and metadata requests except for PKG-INFO,
    which is treated as existing, and will be the contents of the file at
    the provided location.
    có—||_yrR©rrks  rKr€zFileMetadata.__init__Œs    €Øˆ    rJcó—|jSrRrhrJs  rKr¦zFileMetadata._get_metadata_paths €Øy‰yÐrJcób—|dk(xr)tjj|j«S)NúPKG-INFO)rrrOrJs  rKrKzFileMetadata.has_metadata’s#€ØzÑ!Ò?¤b§g¡g§n¡n°T·Y±YÓ&?Ð?rJcó—|dk7r td«‚t|jdd¬«5}|j«}ddd«|j    «|S#1swYŒxYw)Nrkz(No metadata except PKG-INFO is availablerªr+)ÚencodingÚerrors)r    rrrþÚ_warn_on_replacement)rÒr@rXÚmetadatas    rKrNzFileMetadata.get_metadata•s[€Ø :Ò ÜÐEÓFÐ Fä $—)‘) g°iÔ @ð     ÀAØ—v‘v“xˆH÷     à ×!Ñ! (Ô+؈÷     ð     ús ©AÁAcót—d}||vr2d}|jdit«¤Ž}tj|«yy)Nu�z2{self.path} could not be properly decoded in UTF-8rI)rärår_r`)rÒrpÚreplacement_charrKrcs     rKroz!FileMetadata._warn_on_replacementžs;€Ø ÐØ ˜xÑ 'ØGˆDؐ$—+‘+Ñ)¤£Ñ)ˆCÜ M‰M˜#Õ ð (rJcó6—t|j|««SrRr²rJs  rKrPzFileMetadata.get_metadata_lines¥r³rJN)rr&rÕrarXrZrür[)
rErFrGrOr€r¦rKrNrorPrIrJrKr½r½€s&„ñ    óòó@óóô4rJr½có—eZdZdZdd„Zy)r¾asMetadata provider for egg directories
 
    Usage::
 
        # Development eggs:
 
        egg_info = "/path/to/PackageName.egg-info"
        base_dir = os.path.dirname(egg_info)
        metadata = PathMetadata(base_dir, egg_info)
        dist_name = os.path.splitext(os.path.basename(egg_info))[0]
        dist = Distribution(basedir, project_name=dist_name, metadata=metadata)
 
        # Unpacked egg directories:
 
        egg_path = "/path/to/PackageName-ver-pyver-etc.egg"
        metadata = PathMetadata(egg_path, os.path.join(egg_path,'EGG-INFO'))
        dist = Distribution.from_filename(egg_path, metadata=metadata)
    có —||_||_yrR)r›r—)rÒrr—s   rKr€zPathMetadata.__init__½s€ØˆÔØ ˆ rJN)rrÖr—rÖrÕra©rErFrGrOr€rIrJrKr¾r¾©s „ñô&!rJr¾có—eZdZdZdd„Zy)r¿z Metadata provider for .egg filescó$—|jtjz|_||_|j
r:tj j|j|j
«|_n|j|_|j«y)z-Create a metadata provider from a zipimporterN)
r)rr×r*rÚprefixrrƒr›ré)rÒÚimporters  rKr€zEggMetadata.__init__Åsc€ð ×'Ñ'¬"¯&©&Ñ0ˆŒ ؈Œ Ø ?Š?Ü!Ÿw™wŸ|™|¨H×,<Ñ,<¸h¿o¹oÓNˆDÕ à'×/Ñ/ˆDÔ Ø ×ÑÕrJN)rzrBrÕrarvrIrJrKr¿r¿Âs
„Ù*ô    rJr¿rÝÚ_distribution_findersz dict[type, _DistFinderType[Any]]có—|t|<y)axRegister `distribution_finder` to find distributions in sys.path items
 
    `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
    handler), and `distribution_finder` is a callable that, passed a path
    item and the importer instance, yields ``Distribution`` instances found on
    that path item.  See ``pkg_resources.find_on_path`` for an example.N)r{)Ú importer_typeÚdistribution_finders  rKrÆrÆÖs€ð,?Ô˜-Ò(rJcóL—t|«}tt|«}||||«S)z.Yield distributions accessible via `path_item`)r
r r{)Ú    path_itemÚonlyrzÚfinders    rKrrâs(€ä˜IÓ&€HÜ Ô0°(Ó ;€FÙ (˜I tÓ ,Ð,rJc#óŠK—|jjd«ryt|«}|jd«rtj ||¬«–—|ry|j d«D]Õ}t|«rJtjj||«}ttj|«|«}|Ed{–—†ŒX|j«jd«sŒxtjj||«}ttj|««}||_tj!|||«–—Œ×y7Œ†­w)z@
    Find eggs in zip files; possibly multiple nested eggs.
    z.whlNrk©rpr)ú
.dist-infoú    .egg-info)r)Úendswithr¿rKr/Ú from_filenamer—rìrrrƒÚfind_eggs_in_zipÚ    zipimportÚ zipimporterrr—Ú from_location)rzr€rrpÚsubitemÚsubpathrŽÚsubmetas        rKr‰r‰és èø€ð ×Ñ× Ñ  Ô(ð    Ü˜8Ó$€HØ×јZÔ(Ü×(Ñ(¨¸XÐ(ÓFÒFÙ àØ×,Ñ,¨RÓ0ò    JˆÜ ˜Ô  Ü—g‘g—l‘l 9¨gÓ6ˆGÜ$¤Y×%:Ñ%:¸7Ó%CÀWÓMˆEØ× Ñ Ø ]‰]‹_× %Ñ %Ð&AÕ BÜ—g‘g—l‘l 9¨gÓ6ˆGÜ!¤)×"7Ñ"7¸Ó"@ÓAˆGØ&ˆGÔ Ü×,Ñ,¨Y¸ÀÓIÓ Iñ    Jð ús‚B8EÂ:EÂ;$EàA"Ecó—yrárI)rzr€rs   rKÚ find_nothingr‘    s€ð rJc
#ó„‡K—t‰«Št‰«rBtj‰t    ‰t
j j‰d««¬«–—yˆfd„t‰«D«}t|«D]?}t
j j‰|«}t‰||«}||«Ed{–—†ŒAy7Œ­w)z6Yield distributions accessible on a sys.path directoryròr„Nc3ó^•K—|]$}tjj‰|«–—Œ&y­wrR)rrrƒ)rœÚchildr€s  €rKrzfind_on_path.<locals>.<genexpr>    s øèø€ÒS°%Œrw‰w|‰|˜I u×-ÑSùsƒ*-) Ú_normalize_cachedÚ_is_unpacked_eggr/rˆr¾rrrƒÚ safe_listdirÚsortedÚ dist_factory)rzr€rryrÚfullpathÚfactorys `     rKÚ find_on_pathrœ    s«øèø€ä! )Ó,€I䘠   Ô"Ü×(Ñ(Ø Ü! )¬R¯W©W¯\©\¸)ÀZÓ-PÓQð)ó
ò    
ð    ãS¼<È    Ó;RÔS€Gô˜“ò%ˆÜ—7‘7—<‘<     ¨5Ó1ˆÜ˜y¨%°Ó6ˆÙ˜8Ó$×$Ñ$ñ%ð    %úsƒB3CÂ6B>Â7Ccól—|j«}|jd«}|jd«xr=tjj    tjj ||««}|xs|}|rt S|st|«rtS|s|jd«rtSt«S)z*Return a dist_factory for the given entry.r†r…z    .egg-link) rr‡rrrrƒÚdistributions_from_metadatarìrÚresolve_egg_linkÚNoDists)r€rrrÚ is_egg_infoÚ is_dist_infoÚis_metas       rKr™r™%    s¦€à K‰K‹M€EØ—.‘. Ó-€KØ—>‘> ,Ó/ò´B·G±G·M±MÜ
‰ ‰ Y Ó&ó5€LðÒ)˜\€Gñ ô    $ðñœ  UÔ+ô ðñ ˜Ÿ™ {Ô3ôð ô‹YðrJcó —eZdZdZdd„Zdd„Zy)r zS
    >>> bool(NoDists())
    False
 
    >>> list(NoDists()('anything'))
    []
    có—yr3rIrÑs rKÚ__bool__zNoDists.__bool__A    s€ØrJcó—td«Srá)Úiter)rÒršs  rKÚ__call__zNoDists.__call__D    s €ÜB‹xˆrJN)rÕúLiteral[False])ršr    )rErFrGrOr¦r©rIrJrKr r 8    s„ñóôrJr cóò—    tj|«S#ttf$rYyt$rF}|j
t
j t
jt
jfvr‚Yd}~yd}~wwxYw)zI
    Attempt to list contents of path, but suppress some exceptions.
    NrI)    rrúÚPermissionErrorÚNotADirectoryErrorrJÚerrnoÚENOTDIRÚEACCESÚENOENT)rrs  rKr—r—H    sk€ð܏z‰z˜$ÓÐøÜ Ô/Ð 0ò Ø ð ô òð 7‰7œ5Ÿ=™=¬%¯,©,¼¿ ¹ ÐEÑ EØ ó Fà ûð ús‚—A6¨A6°<A1Á1A6c#óxK—tjj|«}tjj|«r/t    tj
|««dk(ryt ||«}n t|«}tjj|«}tj|||t¬«–—y­w)Nr)Ú
precedence) rrršrr‚rúr¾r½rór/rŒr»)rÚrootrprs    rKržržX    sèø€Ü 7‰7?‰?˜4Ó  €DÜ    ‡ww‡}}TÔÜ Œrz‰z˜$ÓÓ   AÒ %à Ü".¨t°TÓ":‰ä Ó%ˆÜ G‰G× Ñ ˜TÓ "€EÜ
$Ø Ø ØÜð     %ó óùs‚B8B:c#óvK—t|«j«D]}|j«}|sŒ|–—Œy­w)z1
    Yield non-empty lines from file at path
    N)r¿Ú
splitlinesr„)rÚlines  rKÚnon_empty_linesr¸j    s8èø€ô)¨Ó.×9Ñ9Ó;òˆØz‰z‹|ˆÚ Ø‹Jñùs‚/9²9cóh‡—t‰«}ˆfd„|D«}tt|«}t|d«S)za
    Given a path to an .egg-link, resolve distributions
    present in the referenced path.
    c3ó˜•K—|]A}tjjtjj‰«|«–—ŒCy­wrR)rrrƒrš)rœÚrefrs  €rKrz#resolve_egg_link.<locals>.<genexpr>z    s2øèø€òØ58Œ‰ ‰ ”R—W‘W—_‘_ TÓ*¨C×0ñùsƒAA
rI)r¸rÛrrí)rÚreferenced_pathsÚresolved_pathsÚ dist_groupss`   rKrŸrŸt    s;ø€ô
' tÓ,ÐóØ<Lô€NôÔ(¨.Ó9€KÜ  ˜RÓ  Ð rJÚ ImpImporterÚ_namespace_handlerszdict[type, _NSHandlerType[Any]]Ú_namespace_packageszdict[str | None, list[str]]có—|t|<y)ašRegister `namespace_handler` to declare namespace packages
 
    `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
    handler), and `namespace_handler` is a callable like this::
 
        def namespace_handler(importer, path_entry, moduleName, module):
            # return a path_entry to use for child packages
 
    Namespace handlers are only called if the importer object has already
    agreed that it can handle the relevant path item, and they should only
    return a subpath if the module __path__ does not already contain an
    equivalent subpath.  For an example namespace handler, see
    ``pkg_resources.file_ns_handler``.
    N)rÀ)r}Únamespace_handlers  rKrÇrǎ    s€ð"*;Ô˜ Ò&rJcóÌ—t|«}|€y    |j|«}|r |jnd}€ytjj|«}|€;tj|«x}tj|<g|_ t|«nt|d«s t!d|«‚t#t$|«}|||||«}|?|j}|j'|«t)j*|«t-|||«|S#t$rTt    j
«5t    j d«|j|«}ddd«n #1swYnxYwYŒ1wxYw)zEEnsure that named package includes a subpath of path_item (if needed)NÚignoreÚ__path__úNot a package:)r
Ú    find_specrr]r_Úcatch_warningsÚ simplefilterÚ find_modulerrr!ÚtypesÚ
ModuleTyperÆÚ_set_parent_nsrßr=r rÀr‘rÚ import_moduleÚ_rebuild_mod_path)    Ú packageNamer€rzÚspecrr ÚhandlerrŽrs             rKÚ
_handle_nsrÔ¢    sF€ô˜IÓ&€HØÐØð/Ø×!Ñ! +Ó.ˆñ!%—’¨$ˆà €~ØÜ [‰[_‰_˜[Ó )€FØ €~Ü,1×,<Ñ,<¸[Ó,IÐIˆ”—‘˜[Ñ)؈ŒÜ{Õ#Ü V˜ZÔ (ÜÐ(¨+Ó6Ð6ÜÔ/°Ó:€Gِh     ¨;¸Ó?€GØÐ؏‰ˆØ  ‰ GÔÜ×Ñ  Ô,ܘ$  ¨VÔ4Ø €Nøô1 ò7ä × $Ñ $Ó &ñ    7Ü × !Ñ ! (Ô +Ø×)Ñ)¨+Ó6ˆF÷    7÷    7ñ    7ýð7ús)DÄE#Ä#'EÅ
    E#ÅE    ÅE#Å"E#có.‡‡‡—tjDcgc] }t|«‘Œc}Šˆfd„Šˆˆfd„}t||¬«}|Dcgc] }t|«‘Œ}}t    |j
t «r||j
ddy||_ycc}wcc}w)zq
    Rebuild module.__path__ ensuring that all entries are ordered
    corresponding to their sys.path order
    có\•—    ‰j|«S#t$rtd«cYSwxYw)z/
        Workaround for #520 and #513.
        Úinf)Úindexr†r)rÚsys_paths €rKÚsafe_sys_path_indexz._rebuild_mod_path.<locals>.safe_sys_path_indexΠ   s0ø€ð     Ø—>‘> %Ó(Ð (øÜò     Ü˜“<Ò ð     ús ƒ”+ª+cóҕ—|jtj«}‰jd«dz}|d| }‰t    tjj |«««S)zR
        Return the ordinal of the path based on its position in sys.path
        r{rÞN)rrr×Úcountr•rƒ)rÚ
path_partsÚ module_partsr_Ú package_namerÚs    €€rKÚposition_in_sys_pathz/_rebuild_mod_path.<locals>.position_in_sys_path×    sXø€ð—Z‘Z¤§¡Ó'ˆ
Ø#×)Ñ)¨#Ó.°Ñ2ˆ ؘ>˜\˜MÐ*ˆÙ"Ô#4´R·V±V·[±[ÀÓ5GÓ#HÓIÐIrJ)rmN)rrr•r˜rrÆr¿)Ú    orig_pathrßr ÚpràÚnew_pathrÚrÙs `    @@rKrÐrÐÇ    sú€ô
/2¯h©hÖ7¨Ô! !Õ$Ò7€Hô õJôiÐ%9Ô:€HØ.6Ö7¨Ô! !Õ$Ð7€HÐ7ä&—/‘/¤4Ô(Ø%ˆ‰™Ñà"ˆùò58ùò*8s –B ÁBcó°—d|›d}tj|td¬«tj«    |t
vr    tj «ytj}|jd«\}}}|r<t|«|t
vr t|«    tj|j}t
j!|xsdg«j#|«t
j!|g«|D]}t%||«Œ    tj «y#t$r}td|«|‚d}~wwxYw#tj «wxYw)z9Declare that package 'packageName' is a namespace packagez4Deprecated call to `pkg_resources.declare_namespace(zÖ)`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packagesr*r+Nr{rÇ)r_r`rÛÚ_impÚ acquire_lockrÁÚ release_lockrrÚ
rpartitionršr
rrÆr]r=rr‘rÔ)rÑrcrr`r'rr€s       rKršršé    s=€ð ?¸{¸oðN3ð    3ðô ‡MM#Ô)°aÕ8ä×ÑÔðØ Ô-Ñ -Ø ô2     ×ÑÕô/&)§X¡XˆØ"×-Ñ-¨cÓ2‰ ˆ1á Ü ˜fÔ %ØÔ0Ñ0ܘ6Ô"ð AÜ—{‘{ 6Ñ*×3Ñ3ô     ×&Ñ& v¢~°°rÓ:×AÑAÀ+ÔNÜ×&Ñ& {°BÔ7àò    /ˆIô { IÕ .ñ    /ô      ×ÑÕøô"ò AÜР0°&Ó9¸qÐ@ûð Aûô     ×ÑÕús7¸D?ÁAD?ÂD!Â9AD?Ä!    D<Ä* D7Ä7D<Ä<D?Ä?Ecóö—tj«    tj|d«D]}t    ||«}|sŒt ||«Œ    tj «y#tj «wxYw)zDEnsure that previously-declared namespace packages include path_itemrIN)rårærÁr!rÔrÉrç)r€r`ÚpackagerŽs    rKrÉrÉ
sc€ä×ÑÔðÜ*×.Ñ.¨v°rÓ:ò    ;ˆGÜ  ¨)Ó4ˆGÚÜ(¨°'Õ:ñ    ;ô
     ×ÑÕøŒ×ÑÕús–'A"¾A"Á"A8có—tjj||jd«d«}t    |«}|j
D]}t    |«|k(sŒy|S)zBCompute an ns-package subpath for a filesystem or zipfile importerr{rüN)rrrƒrr•rÆ)rzr€rÑr rŽÚ
normalizedr§s       rKÚfile_ns_handlerrí 
s\€ôg‰gl‰l˜9 k×&7Ñ&7¸Ó&<¸RÑ&@ÓA€GÜ" 7Ó+€JØ—‘òˆÜ ˜TÓ " jÓ 0Ù ðð
ˆrJcó—yrRrI)rzr€rÑr s    rKÚnull_ns_handlerrï9
s€ð rJcó—yrRrI©rhs rKr¶r¶E
s€Ø.1rJcó—yrRrIrñs rKr¶r¶G
s€Ø25rJc    óƗtjjtjjtjj    t |««««S)z1Normalize a file/dir name for comparison purposes)rrÚnormcaseÚrealpathr#Ú _cygwin_patchrñs rKr¶r¶I
s:€ä 7‰7× Ñ œBŸG™G×,Ñ,¬R¯W©W×-=Ñ-=¼mÈHÓ>UÓ-VÓWÓ XÐXrJcój—tjdk(rtjj    |«S|S)a
    Contrary to POSIX 2008, on Cygwin, getcwd (3) contains
    symlink components. Using
    os.path.abspath() works around this limitation. A fix in os.getcwd()
    would probably better, in Cygwin even more so, except
    that this seems to be by design...
    Úcygwin)rr‚rrÚabspathrñs rKröröN
s'€ô),¯ © ¸Ò(@Œ27‰7?‰?˜8Ó $ÐNÀhÐNrJcó—yrRrIrñs rKr•r•\
s€Ø58rJcó—yrRrIrñs rKr•r•^
rrJcó—yrRrIrñs rKr•r•`
rxrJcó—t|«SrR)r¶rñs rKr•r•d
s €ä˜hÓ'Ð'rJcó2—t|«xs t|«S)z7
    Determine if given path appears to be an egg.
    )Ú _is_zip_eggr–rhs rKrìrìi
s€ô tÓ Ò 6Ô 0°Ó 6Ð6rJcó°—|j«jd«xr6tjj    |«xrt j |«S)Nú.egg)rr‡rrrOrÚ
is_zipfilerhs rKrÿrÿp
sC€à 
‰
‹ ×јfÓ%ò    %Ü G‰GN‰N˜4Ó  ò    %ä × Ñ ˜tÓ $ðrJcóÀ—|j«jd«xr>tjj    tjj |dd««S)z@
    Determine if given path appears to be an unpacked egg.
    rròrk)rr‡rrrOrƒrhs rKr–r–x
sE€ð :‰:‹<×  Ñ   Ó (ò ¬R¯W©W¯^©^Ü
‰ ‰ T˜: zÓ2ó.ðrJcó̗|jd«}|j«}|rAdj|«}ttj
||tj
|«yy)Nr{)rrÃrƒÚsetattrrr)rÑr_r@r`s    rKrÎr΁
sP€Ø × Ñ ˜cÓ "€EØ 9‰9‹;€DÙ Ø—‘˜%“ˆÜ”— ‘ ˜FÑ# T¬3¯;©;°{Ñ+CÕDð rJz \w+(\.\w+)*$z–
    (?P<name>[^-]+) (
        -(?P<ver>[^-]+) (
            -py(?P<pyver>[^-]+) (
                -(?P<plat>.+)
            )?
        )?
    )?
    cóV—eZdZdZ            d                                            dd„Zdd„Zdd„Ze            d                            dd„«Ze                                dd„«Z    d                            dd„Zdd    „Z            d                    dd
„Z
e jd «Z eddd „«Zed „«Ze    d                            dd„«Ze    d                    dd„«Zy)r¤z3Object representing an advertised importable objectNcóœ—t|«s td|«‚||_||_t    |«|_t    |«|_||_y)NzInvalid module name)ÚMODULEr†r@Ú module_nameÚtupleÚattrsr»rÚ)rÒr@r    r r»rÚs      rKr€zEntryPoint.__init__›
sF€ôkÔ"ÜÐ2°KÓ@Ð @؈Œ    Ø&ˆÔܘ5“\ˆŒ
ܘF“mˆŒ ؈    rJcóö—|j›d|j›}|jr!|ddj|j«zz }|jr$dj|j«}|d|›dz }|S)Nz = ú:r{ú,z [ú])r@r    r rƒr»)rÒÚsr»s   rKrùzEntryPoint.__str__«
sp€Øy‰yˆk˜˜T×-Ñ-Ð.Ð /ˆØ :Š:Ø s—x‘x §
¡
Ó+Ñ+Ñ +ˆAØ ;Š;Ø—X‘X˜dŸk™kÓ*ˆFØ 2fX˜QÑ ˆA؈rJcó —dt|«›dS)NzEntryPoint.parse(ú)©rÖrÑs rKrÓzEntryPoint.__repr__´
s€Ø"¤3 t£9 -¨qÐ1Ð1rJcó—yrRrI)rÒrŒr¸r¹s    rKrzEntryPoint.load·
ó€ð "rJcó—yrRrI©rÒrŒrvÚkwargss    rKrzEntryPoint.load¾
rrJcóŽ—|r|s|rtjdtd¬«|r|j|i|¤Ž|j    «S)zH
        Require packages for this EntryPoint, then resolve it.
        zJParameters to load are deprecated.  Call .resolve and .require separately.r*r+)r_r`rÊrŒrŠrs    rKrzEntryPoint.loadÅ
sH€ñ™$¡&Ü M‰Mð'ä.Øõ     ñ ð ˆDL‰L˜$Ð ) &Ò )؏|‰|‹~ÐrJcó̗t|jdgd¬«}    tjt|j
|«S#t $r}tt|««|‚d}~wwxYw)zD
        Resolve the entry point from its module and attrs.
        rEr)ÚfromlistÚlevelN)    r
r    Ú    functoolsÚreducer r r]r„rÖ)rÒr r°s   rKrŠzEntryPoint.resolveÛ
sY€ô˜D×,Ñ,¸
°|È1ÔMˆð    1Ü×#Ñ#¤G¨T¯Z©Z¸Ó@Ð @øÜò    1Üœc #›hÓ'¨SÐ 0ûð    1ús›$AÁ    A#Á    AÁA#có4—|js!|jrtnt}|d|«‚|jj    |j«}t
j ||||j¬«}ttt
j|««y)Nz&Can't require() without a distribution)r»)
rÚr»r¨r]r¢r›rŠr¿rÛr‹)rÒr¸r¹Ú    error_clsrrZs      rKrŒzEntryPoint.requireå
sp€ð
yŠyØ(,¯ ª  ¼ˆIÙÐDÀdÓKÐ Kðy‰y×!Ñ! $§+¡+Ó.ˆÜ×#Ñ# D¨#¨yÀÇÁÐ#ÓMˆÜ ŒS”—‘ %Ó (Õ)rJz]\s*(?P<name>.+?)\s*=\s*(?P<module>[\w.]+)\s*(:\s*(?P<attr>[\w.]+))?\s*(?P<extras>\[.*\])?\s*$cóú—|jj|«}|sd}t||«‚|j«}|j    |d«}|dr|dj d«nd}||d|d|||«S)aParse a single entry point from string `src`
 
        Entry point syntax follows the form::
 
            name = some.module:some.attr [extra1, extra2]
 
        The entry name and module name are required, but the ``:attrs`` and
        ``[extras]`` parts are optional
        z9EntryPoint must be in 'name=module:attrs [extras]' formatr»Úattrr{rIr@r )Úpatternr€r†Ú    groupdictÚ _parse_extrasr)r†ÚsrcrÚrˆrcÚresr»r s        rKr<zEntryPoint.parse sƒ€ð K‰K× Ñ ˜cÓ "ˆÙØMˆCܘS #Ó&Ð &؏k‰k‹mˆØ×"Ñ" 3 x¡=Ó1ˆØ*-¨fª+F‘ ×!Ñ! #Ô&¸2ˆÙ3v‘;  H¡ ¨u°f¸dÓCÐCrJcót—|sytjd|z«}|jrt‚|jS)NrIÚx)r2r<Úspecsr†r»)r†Ú extras_specrßs   rKr%zEntryPoint._parse_extras s4€áØÜ×Ñ  kÑ 1Ó2ˆØ 9Š9ÜР؏z‰zÐrJcóä—t|«s td|«‚i}t|«D]H}|j||«}|j|vrtd||j«‚|||j<ŒJ|S)zParse an entry point groupzInvalid group namezDuplicate entry point)rr†r"r<r@)r†r…ÚlinesrÚÚthisr·Úeps       rKÚ parse_groupzEntryPoint.parse_group su€ôeŒ}ÜÐ1°5Ó9Ð 9Ø "ˆÜ Ó&ò    ˆDØ—‘˜4 Ó&ˆB؏w‰w˜$‰Ü Ð!8¸%ÀÇÁÓIÐI؈D—‘ŠMð        ð
ˆ rJcó—t|t«r|j«}n t|«}i}|D]K\}}|€|sŒ t    d«‚|j «}||vr t    d|«‚|j |||«||<ŒM|S)z!Parse a map of entry point groupsz%Entry points must be listed in groupszDuplicate group name)rrÝrZr°r†r„r0)r†ÚdatarÚÚ_dataÚmapsr…r-s       rKÚ    parse_mapzEntryPoint.parse_map/ s€ô dœDÔ !Ø—J‘J“L‰Eä" 4Ó(ˆEØ+-ˆØ!ò    >‰LˆE5؈}ÙØÜ Ð!HÓIÐIØ—K‘K“MˆEؘ‰}Ü Ð!7¸Ó?Ð?ØŸ/™/¨%°¸Ó=ˆDŠKð    >ðˆ rJ)rIrIN) r@rÖr    rÖr ú Iterable[str]r»r6rÚrñrÕrarÔ)TNN)rŒz Literal[True]r¸rõr¹rørÕr9)rŒrªrvr rr rÕr9rû)rŒrYrvú#Environment | _InstallerType | Nonerr7rÕr9)rÕr9)NN)r¸rõr¹rørÕrarR)r&rÖrÚrñrÕr()r…rÖr-r1rÚrñrÕzdict[str, Self])r2z4str | Iterable[str] | dict[str, str | Iterable[str]]rÚrñrÕzdict[str, dict[str, Self]])rErFrGrOr€rùrÓrrrŠrŒrwrÀr#rýr<r%r0r5rIrJrKr¤r¤˜
së„Ù=ð  "Ø "Ø$(ð àððððð    ð
ð ð "ð ð
óó ó2ðð"&Ø"&Ø+/ð    "àð"ð ð"ð)ð    "ð
 
ò "óð"ð ð"àð"ðð"ðð    "ð
 
ò "óð"ððàðð3ðð6ð    ð
 
ó ó,1ð#'Ø+/ð*à ð*ð)ð*ð
ó    *ð$ˆbj‰jð    #ó€GðóDóðDð&ñóððð
%)ð    àðððð"ð    ð
 
ò óðð"ð%)ðàBðð"ðð
$ò    óñrJr¤có®—d„}t||«}tt|«d«}|jd«\}}}t    |j ««xsdS)z„
    Given an iterable of lines from a Metadata file, return
    the value of the Version field, if present, or None otherwise.
    có@—|j«jd«S)Nzversion:)rr))r·s rKÚis_version_linez+_version_from_file.<locals>.is_version_lineN s€Øz‰z‹|×&Ñ& zÓ2Ð2rJrr N)r–rír¨Ú    partitionr­r„)r-r:Ú version_linesr·r'r¯s      rKÚ_version_from_filer=H sP€ò 3ô˜?¨EÓ2€MÜ ”]Ó# RÓ (€DØ—.‘. Ó%K€A€qˆ%Ü ˜Ÿ ™ › Ó &Ò .¨$Ð.rJcó.‡—eZdZdZdZddddedef                                                            d,d„Ze    d-                                    d.d„«Z    d„Z
e d„«Z d/d„Z d0d    „Zd0d
„Zd0d „Zd0d „Zd1d „Zd1d„Ze d„«Ze d„«Ze d„«Ze d„«Ze d„«Ze                d2d„«Zd„Zd3d4d„Zd„Zd„Zd„Zd5d6d„Z d„Z!d7d„Z"d7d„Z#d8d„Z$ˆfd„Z%e    d-                            d9d „«Z&d!„Z'd:d"„Z(e)d-d;d#„«Z*e)d<d$„«Z*d-d=d%„Z*d>d&„Z+        d5                    d?d'„Z,d(„Z-d@d)„Z.dAd*„Z/e d+„«Z0ˆxZ1S)Br/z5Wrap an actual or potential sys.path entry w/metadatarkNcó¦—t|xsd«|_|t|«|_||_||_||_||_|xst|_    y)NÚUnknown)
r¬rÇr­Ú_versionr r‚r¬r³rÁÚ    _provider)rÒr¬rprÇrr r‚r³s        rKr€zDistribution.__init__\ sP€ô& lÒ&?°iÓ@ˆÔØ Ð Ü(¨Ó1ˆDŒMØ$ˆŒØ ˆŒ Ø ˆŒ Ø$ˆŒØ!Ò3¤^ˆrJc ó<—dgdz\}}}}tjj|«\}}    |    j«tvr=t|    j«}t |«}
|
r|
j dddd«\}}}}|||f||||dœ|¤Žj«S)Nr%r@ÚverÚpyverr‡)rÇrr r‚)rrÚsplitextrÚ_distributionImplÚEGG_NAMEr…Ú_reload_version) r†r¬rórpÚkwrÇrr r‚Úextr€s            rKrŒzDistribution.from_locationo s¸€ð8<°f¸q±jÑ3ˆ g˜z¨8ÜŸ™×(Ñ(¨Ó2‰ ˆ#Ø 9‰9‹;Ô+Ñ +Ü# C§I¡I£KÑ0ˆCä˜XÓ&ˆEÙØ>C¿k¹kؘE 7¨Fó?Ñ; ˜g z°8ñØ Ø ð
ð&ØØ!Øñ 
ðñ
÷ ‰/Ó
ð    rJcó—|SrRrIrÑs rKrIzDistribution._reload_version‹ s€Øˆ rJcóš—|j|j|j|j|jxsd|j
xsdfS)Nr)Ú_forgiving_parsed_versionr³rmr¬r r‚rÑs rKrzDistribution.hashcmpŽ sD€ð × *Ñ *Ø O‰OØ H‰HØ M‰MØ O‰OÒ !˜rØ M‰MÒ ˜Rð 
ð    
rJcó,—t|j«SrR)ÚhashrrÑs rKÚ__hash__zDistribution.__hash__™ s€ÜD—L‘LÓ!Ð!rJcó4—|j|jkSrR©r©rÒr+s  rKÚ__lt__zDistribution.__lt__œ ó€Ø|‰|˜eŸm™mÑ+Ð+rJcó4—|j|jkSrRrSrTs  rKÚ__le__zDistribution.__le__Ÿ ó€Ø|‰|˜uŸ}™}Ñ,Ð,rJcó4—|j|jkDSrRrSrTs  rKÚ__gt__zDistribution.__gt__¢ rVrJcó4—|j|jk\SrRrSrTs  rKÚ__ge__zDistribution.__ge__¥ rYrJcób—t||j«sy|j|jk(Sr3)rrÏrrTs  rKÚ__eq__zDistribution.__eq__¨ s&€Ü˜% §¡Ô0àØ|‰|˜uŸ}™}Ñ,Ð,rJcó—||k( SrRrIrTs  rKÚ__ne__zDistribution.__ne__® ó€Ø˜5‘=РРrJc󀗠   |jS#t$r&|jj«x|_}|cYSwxYwrR)Ú_keyr]rÇrr)s  rKrmzDistribution.keyµ s@€ð    Ø—9‘9Ð øÜò    Ø"×/Ñ/×5Ñ5Ó7Ð 7ˆDŒI˜ØŠJð    ús ‚ Ž,=¼=có‚—t|d«s'    t|j«|_|jS|jS#tjj
$ra}d|j ›d}t|d«r|j|«‚tjj t|«›d|›«d‚d}~wwxYw)NÚ_parsed_versionz
(package: rÚadd_noter&)    rßr«rrfr­r|rÇrgrÖ)rÒÚexÚinfos   rKÚparsed_versionzDistribution.parsed_version½ s´€ätÐ.Ô/ð VÜ'4°T·\±\Ó'BÔ$ð×#Ñ#Ð#ˆt×#Ñ#Ð#øô×$Ñ$×3Ñ3ò VØ# D×$5Ñ$5Ð#6°aÐ8Ü˜2˜zÔ*Ø—K‘K Ô%ØÜ×'Ñ'×6Ñ6¼#¸b»'¸À!ÀDÀ6Ð7JÓKÐQUÐUûð  VúsŽAÁB>ÁAB9Â9B>c
ó’—    |jS#tjj$r›}t    t |j««|_djt|dg««}dt|«›d|›d|j ›d|j›d    }tj|t«|j cYd}~Sd}~wwxYw)Nr»Ú    __notes__zg!!
 
 
            *************************************************************************
            zl
 
            This is a long overdue deprecation.
            For the time being, `pkg_resources` will use `z¤`
            as a replacement to avoid breaking existing environments,
            but no future compatibility is guaranteed.
 
            If you maintain package zÚ you should implement
            the relevant changes to adequate the project to PEP 440 immediately.
            *************************************************************************
            
 
!!
            )rjr­rr|r«r‡rfrƒr rÖrÇr_r`rÛ)rÒrhÚnotesrcs    rKrNz&Distribution._forgiving_parsed_versionË s€ð    (Ø×&Ñ&Ð &øÜ× Ñ ×/Ñ/ò    (Ü#0Ô1CÀDÇLÁLÓ1QÓ#RˆDÔ  à—I‘Iœg b¨+°rÓ:Ó;ˆEð ä ‹WˆIR˜wð;ð<@×;OÑ;OÐ:PðQ%ð&*×%6Ñ%6Ð$7ð8 ð ˆCô M‰M˜#Ô1Ô 2à×'Ñ'Õ 'ûð)    (ús‚ ŽC«BCÂ;CÃCcó䗠   |jS#t$rX}|j«}|€:|j|j«}d|j›d|›}t ||«|‚|cYd}~Sd}~wwxYw)Nz!Missing 'Version:' header and/or r«)rAr]Ú _get_versionÚ_get_metadata_path_for_displayÚPKG_INFOr†)rÒrrrrcs     rKrzDistribution.versionå st€ð        Ø—=‘=Ð  øÜò    Ø×'Ñ'Ó)ˆG؈Ø×:Ñ:¸4¿=¹=ÓIØ9¸$¿-¹-¸ÈÐX\ÐW]Ð^Ü   dÓ+°Ð2àNûð    ús‚ Ž    A/—A A*Á$A/Á*A/c󘗠   |jS#t$r2|j|j««|_Y|jSwxYw)z~
        A map of extra to its list of (direct) requirements
        for this distribution, including the null extra.
        )Ú_Distribution__dep_mapr]Ú_filter_extrasÚ_build_dep_maprÑs rKÚ_dep_mapzDistribution._dep_mapò sH€ð     HØ—>‘>Ð !øÜò    HØ!×0Ñ0°×1DÑ1DÓ1FÓGˆDN؏~‰~Ðð    Hús‚ Ž-A    ÁA    có,—ttd|««D]{}|}|j|«}|jd«\}}}|xrt    |«xs t |« }|rg}t |«xsd}|j|g«j|«Œ}|S)z¤
        Given a mapping of extras to dependencies, strip off
        environment markers and filter out any dependencies
        not matching the markers.
        Nr )    r¿r–rÃr;r³r´r±rrÆ)ÚdmrÚ    new_extrarr'rÚ fails_markers       rKrtzDistribution._filter_extrasþ s¡€ôœ&  rÓ*Ó+ò     6ˆEØ$)ˆIØ—6‘6˜%“=ˆDØ#(§?¡?°3Ó#7Ñ  ˆIq˜&Ø!òܘvÓ&ÒE¬o¸fÓ.EÐ*Eð ñؐÜ" 9Ó-Ò5°ˆIà M‰M˜) RÓ (× /Ñ /°Õ 5ð     6ðˆ    rJcó°—i}dD]N}t|j|««D]/\}}|j|g«jt    |««Œ1ŒP|S)N)z requires.txtz depends.txt)r°Ú _get_metadatarrÆrª)rÒrxr@rrs     rKruzDistribution._build_dep_map sc€Ø ˆØ1ò    JˆDÜ-¨d×.@Ñ.@ÀÓ.FÓGò J‘ tØ— ‘ ˜e RÓ(×/Ñ/Ô0BÀ4Ó0HÕIñ Jð    Jðˆ    rJcóò—|j}g}|j|jdd««|D] }    |j|t|««Œ"|S#t$r}t |›d|›«|‚d}~wwxYw)z@List of Requirements needed for this distro if `extras` are usedNrIz has no such extra feature )rvrÆr!r±r    r¨)rÒr»rxÚdepsrKrs      rKr¢zDistribution.requires sˆ€à ]‰]ˆØ"$ˆØ  ‰ B—F‘F˜4 Ó$Ô%Øò    WˆCð WØ— ‘ ˜Bœz¨#›Ñ/Õ0ð    Wð
ˆ øôò WÜ" d VÐ+FÀsÀgÐ#NÓOÐUVÐVûð Wús¶AÁ    A6Á A1Á1A6có\—    |jj|«}|S#t$rYywxYw)zK
        Return the path to the given metadata file, if available.
        z[could not detect])rBr¦rPr¨s   rKrpz+Distribution._get_metadata_path_for_display( s8€ð        (ð—>‘>×4Ñ4°TÓ:ˆDðˆ øôò    (Ù'ð    (ús ‚Ÿ    +ª+c#ófK—|j|«r|j|«Ed{–—†yy7Œ­wrR)rKrPrJs  rKr|zDistribution._get_metadata9 s0èø€Ø × Ñ ˜TÔ "Ø×.Ñ.¨tÓ4× 4Ñ 4ð #Ø 4ús ‚&1¨/©1cóN—|j|j«}t|«SrR)r|rqr=)rÒr-s  rKrozDistribution._get_version= s!€Ø×"Ñ" 4§=¡=Ó1ˆÜ! %Ó(Ð(rJcó —|€tj}|j||¬«|tjurW|jJt    |j«|j d«D] }|tj vsŒt|«Œ"yyy)z>Ensure distribution is importable on `path` (default=sys.path)Nrªúnamespace_packages.txt)rrr«r¬rÉr|rrš)rÒrr+Úpkgs    rKÚactivatezDistribution.activateA sx€à ˆ<Ü—8‘8ˆDØ ‰t WˆÔ-Ø ”3—8‘8Ñ  § ¡ Р9Ü $ T§]¡]Ô 3Ø×)Ñ)Ð*BÓCò +Øœ#Ÿ+™+Ò%Ü% cÕ*ñ +ð!:Ð rJcóƗt|j«›dt|j«›d|jxst›}|j
r|d|j
zz }|S)z@Return what this distribution's standard .egg filename should ber}z-py)r²rÇrr r4r‚)rÒrhs  rKr–zDistribution.egg_nameL s\€ä! $×"3Ñ"3Ó4Ð5°Q´{À4Ç<Á<Ó7PÐ6QÐQTÐUY×UdÑUdÒUpÔhpÐTqÐrˆà =Š=Ø ˜˜dŸm™mÑ+Ñ +ˆH؈rJcóT—|jr|›d|j›dSt|«S)Nz (r)r¬rÖrÑs rKrÓzDistribution.__repr__T s*€Ø =Š=ؐV˜2˜dŸm™m˜_¨AÐ.Ð .ät“9Ð rJcón—    t|dd«}|xsd}|j›d|›S#t$rd}YŒ$wxYw)Nrz[unknown version]r&)r r†rÇ)rÒrs  rKrùzDistribution.__str__Z sP€ð    Ü˜d I¨tÓ4ˆGðÒ0Ð0ˆØ×#Ñ#Ð$ A g YÐ/Ð/øôò    ØŠGð    ús ‚ &¦ 4³4cóf—|jd«r t|«‚t|j|«S)zADelegate all unrecognized public attributes to .metadata providerr')r)r]r rB)rÒr"s  rKÚ __getattr__zDistribution.__getattr__b s*€à ?‰?˜3Ô Ü  Ó&Ð &ܐt—~‘~ tÓ,Ð,rJcóš•—ttt‰| ««td„|jj«D««z«S)Nc3óDK—|]}|jd«rŒ|–—Œy­w©r'N)r))rœr"s  rKrz'Distribution.__dir__.<locals>.<genexpr>k sèø€ÒX˜4À4Ç?Á?ÐSVÕCW”$ÑXùs‚ ™ )r¿r¥rèÚ__dir__rB)rÒrÏs €rKrŽzDistribution.__dir__h s@ø€ÜÜ ”‘‘Ó!Ó "ÜÑX 4§>¡>×#9Ñ#9Ó#;ÔXÓXñ Yó
ð    
rJc óx—|jt|«tjj    |«|fi|¤ŽSrR)rŒr•rrró)r†rhrprJs    rKrˆzDistribution.from_filenamen s<€ð!ˆs× Ñ Ü ˜hÓ '¬¯©×)9Ñ)9¸(Ó)CÀXñ
ØQSñ
ð    
rJcóö—t|jtjj«r|j
›d|j›}n|j
›d|j›}t j|«S)z?Return a ``Requirement`` that matches this distribution exactlyz==z===)rrjr­rr{rÇr2r<)rÒrÒs  rKrÜzDistribution.as_requirementy sk€ä d×)Ñ)¬9×+<Ñ+<×+DÑ+DÔ EØ×'Ñ'Ð(¨¨4×+>Ñ+>Ð*?Ð@‰Dà×'Ñ'Ð(¨¨D×,?Ñ,?Ð+@ÐAˆDä× Ñ  Ó&Ð&rJcól—|j||«}|€td||f›d«‚|j«S)z=Return the `name` entry point of `group` or raise ImportErrorz Entry point z
 not found)r’r„r)rÒr…r@r/s    rKrzDistribution.load_entry_point‚ s>€à ×  Ñ   ¨Ó -ˆØ ˆ:Ü  ¨e°T¨]Ð,=¸ZÐHÓIÐ I؏w‰w‹yÐrJcó—yrRrI©rÒr…s  rKr‘zDistribution.get_entry_map‰ s€ØUXrJcó—yrRrIr“s  rKr‘zDistribution.get_entry_map‹ s€ØBErJcó—t|d«s*tj|jd«|«|_||jj |i«S|jS)rEÚ_ep_mapzentry_points.txt)rßr¤r5r|r–r!r“s  rKr‘zDistribution.get_entry_map sX€ät˜YÔ'Ü%×/Ñ/Ø×"Ñ"Ð#5Ó6¸óˆDŒLð Ð Ø—<‘<×#Ñ# E¨2Ó.Ð .؏|‰|ÐrJcóB—|j|«j|«SrG)r‘r!ržs   rKr’zDistribution.get_entry_info— s€à×!Ñ! %Ó(×,Ñ,¨TÓ2Ð2rJcóÊ—|xs |j}|syt|«}tjj    |«}|Dcgc]}|xr t|«xs|‘Œ}}t |«D]|\}}||k(r|rn¹y||k(sŒ|j tk(sŒ+|s    |||dvry|tjur|j«|j||«|j||«nJ|tjur|j«|r|jd|«y|j|«y        |j||dz«}    ||    =||    =|    }Œcc}w#t$rYywxYw)aäEnsure self.location is on path
 
        If replace=False (default):
            - If location is already in path anywhere, do nothing.
            - Else:
              - If it's an egg and its parent directory is on path,
                insert just ahead of the parent.
              - Else: add to the end of path.
        If replace=True:
            - If location is already on path anywhere (not eggs)
              or higher priority than its parent (eggs)
              do nothing.
            - Else:
              - If it's an egg and its parent directory is on path,
                insert just ahead of the parent,
                removing any lower-priority entries.
              - Else: add it to the front of path.
        NrrÞ)r¬r•rrršÚ    enumerater³r·rÚcheck_version_conflictr±r‘rØr†)
rÒrÚlocr+ÚnlocÚbdirrâÚnpathr§Únps
          rKr«zDistribution.insert_onœ sz€ð2Ò"T—]‘]ˆÙØ ä  Ó%ˆÜw‰w‰˜tÓ$ˆØ<@ÖA°q!Ò,Ô)¨!Ó,Ò1°Ñ1ÐAˆÐAä  Ó'ò    ‰GˆAˆtؐtŠ|ÙÙñؘ“ $§/¡/´XÓ"=ñ  T¨U°1°2¨YÑ%6ÙØœ3Ÿ8™8Ñ#Ø×/Ñ/Ô1Ø— ‘ ˜A˜sÔ#Ø— ‘ ˜Q Ô%Ùð#    ð&”s—x‘xÑØ×+Ñ+Ô-ÙØ— ‘ ˜A˜sÔ#ð ð— ‘ ˜CÔ Ø ðð Ø—[‘[  q¨1¡uÓ-ð˜"I˜t B˜xàðùò=BøôBò Øð     ð úsÁEÄ3EÅ    E"Å!E"c
óô—|jdk(rytj|jd««}t    |j
«}|jd«D]›}|t jvs ||vs|tvrŒ"|dvrŒ'tt j|dd«}|r6t    |«j|«s|j|j
«rŒ}td|›d|›d|j
›d    «Œy)
Nrrƒz top_level.txt)Ú pkg_resourcesrÚsiter™zModule z was already imported from z, but z is being added to sys.path) rmrÝrÞr|r¶r¬rrrÁr r)rÚ)rÒÚnspr›ÚmodnameÚfns     rKršz#Distribution.check_version_conflictå së€Ø 8‰8|Ò #à äm‰m˜D×.Ñ.Ð/GÓHÓIˆÜ˜TŸ]™]Ó+ˆØ×)Ñ)¨/Ó:ò    ˆGàœsŸ{™{Ñ*ؘc‘>ØÔ1Ñ1àØÐAÑAØÜœŸ™ WÑ-¨z¸4Ó@ˆBÙܘrÓ"×-Ñ-¨cÔ2°b·m±mÀDÇMÁMÔ6RàÜ Ø˜'˜Ð"=¸b¸TðBØ—}‘}oÐ%@ðBõ ñ    rJcó~—    |jy#t$rtdt|«z«Yyt$rYywxYw)NzUnbuilt egg for FT)rr†rÚrÐÚ SystemErrorrÑs rKrzDistribution.has_versionÿ sD€ð    Ø LŠLðøô ò    Ü Ð,¬t°D«zÑ9Ô :ÙÜò    áð    ús‚  <±<»<c     óƗd}|j«D]}|j|t||d««Œ!|jd|j«|jdi|¤ŽS)z@Copy this distribution, substituting in any changed keyword argsz<project_name version py_version platform location precedenceNrprI)rrr rBrÏ)rÒrJrSr"s    rKÚclonezDistribution.clone
sY€àNˆØ—K‘K“Mò    ;ˆDØ M‰M˜$¤¨¨d°DÓ 9Õ :ð    ;à
 ‰ j $§.¡.Ô1àˆt~‰~Ñ# Ñ#Ð#rJcóF—|jDcgc]}|sŒ|‘Œ    c}Scc}wrR)rv)rÒÚdeps  rKr»zDistribution.extras s€à#Ÿ}™}Ö4˜²’Ò4Ð4ùÒ4s—)r¬ròrpr8rÇròrròr ròr‚ròr³r0rÕrarR)
r¬rÖrór&rpr8rJr0rÕr/©rÕr0)r+r/rÕrY©r+r    rÕrY)rxú#dict[str | None, list[Requirement]]rÕr®rn)r»r6rÕzlist[Requirement]r3)rr&r+rYrÕrarÔ)r"rÖ)rhr&rpr8rJr0rÕr/)r…rÖr@rÖrÕr9)r…rarÕú dict[str, dict[str, EntryPoint]])r…rÖrÕúdict[str, EntryPoint])r…rò)r…rÖr@rÖrÕúEntryPoint | None)rr^r+rYrÕrará)rJz$str | int | IResourceProvider | NonerÕr()2rErFrGrOrqr4r·r€rýrŒrIrîrrQrUrXr[r]r_rarmrjrNrrvrprtrur¢rpr|ror…r–rÓrùrŠrŽrˆrÜrrr‘r’r«ršrr©r»rõr/s@rKr/r/W s{ø„Ù?à€Hð $Ø"&Ø#'Ø"Ø!)Ø#Ø"ð4àð4ð ð4ð!ð    4ð
ð 4ð ð 4ðð4ðð4ð
ó4ð&ð
#'ð    àðððð ð    ð
ð ð
ò óðò6ðñ
óð
ó"ó,ó-ó,ó-ó-ó !ðñóððñ $óð $ðñ(óð(ð2ñ
óð
ðñ    óð    ððØ /ðà    ,òóðò,ô
òò"5ò)ô    +òóó 0ó-ô 
ð ð#'ð
àð
ð ð
ðð    
ð
 
ò 
óð
ò'óðÛXóØXØ ÚEóØEôó3ð Øð    GàðGðð    Gð
 
ó GòRó4    ó$ðñ5óô5rJcó—eZdZd„Zy)ÚEggInfoDistributioncó8—|j«}|r||_|S)añ
        Packages installed by distutils (e.g. numpy or scipy),
        which uses an old safe_version, and so
        their version numbers can get mangled when
        converted to filenames (e.g., 1.11.0.dev0+2329eae to
        1.11.0.dev0_2329eae). These distributions will not be
        parsed properly
        downstream by Distribution and safe_version, so
        take an extra step and try to get the version number from
        the metadata file itself instead of the filename.
        )rorA)rÒÚ
md_versions  rKrIz#EggInfoDistribution._reload_version s!€ð×&Ñ&Ó(ˆ
Ù Ø&ˆDŒM؈ rJN)rErFrGrIrIrJrKr³r³ s„órJr³có`—eZdZdZdZej d«Zed„«Z    ed„«Z
dd„Z y)    ÚDistInfoDistributionzV
    Wrap an actual or potential sys.path entry
    w/metadata, .dist-info style.
    ÚMETADATAz([\(,])\s*(\d.*?)\s*([,\)])có엠   |jS#t$r\|j|j«}tj
j «j|«|_|jcYSwxYw)zParse and cache metadata)Ú    _pkg_infor]rNrqÚemailÚparserÚParserÚparsestr)rÒrps  rKÚ_parsed_pkg_infoz%DistInfoDistribution._parsed_pkg_info4 s]€ð    "Ø—>‘>Ð !øÜò    "Ø×(Ñ(¨¯©Ó7ˆHÜ"Ÿ\™\×0Ñ0Ó2×;Ñ;¸HÓEˆDŒNØ—>‘>Ò !ð    "ús‚ ŽA"A3Á2A3có|—    |jS#t$r$|j«|_|jcYSwxYwrR)Ú_DistInfoDistribution__dep_mapr]Ú_compute_dependenciesrÑs rKrvzDistInfoDistribution._dep_map> s:€ð    "Ø—>‘>Ð !øÜò    "Ø!×7Ñ7Ó9ˆDŒNØ—>‘>Ò !ð    "ús ‚ Ž*;º;có$‡—dgi|_gŠ|jjd«xsgD]}‰jt    |««Œˆfd„}t j tj|d«««}|jdj|«|jjd«xsgD]C}t|j««}||«Dcgc]    }||vsŒ|‘Œ c}|j|<ŒE|jScc}w)z+Recompute this distribution's dependencies.Nz Requires-Distc3óx•K—‰D]0}|jr|jjd|i«sŒ-|–—Œ2y­w)Nrr)rrßrs  €rKÚreqs_for_extrazBDistInfoDistribution._compute_dependencies.<locals>.reqs_for_extraO s8øèø€Øò Ø—z’z S§Z¡Z×%8Ñ%8¸'À5Ð9IÕ%JØ“Iñ ùsƒ/:³:zProvides-Extra) rÁr¿Úget_allrÆrªrÌÚMappingProxyTyperÝrÞr±r„)rÒrßrÅÚcommonrÚs_extraÚrrs       @rKrÂz*DistInfoDistribution._compute_dependenciesF söø€à?CÀR¸jˆŒà"$ˆà×(Ñ(×0Ñ0°ÓAÒGÀRò    1ˆCØ K‰KÔ*¨3Ó/Õ 0ð    1ô    ô
×'Ñ'¬¯ © ±nÀTÓ6JÓ(KÓLˆØ ‰tÑ×#Ñ# FÔ+à×*Ñ*×2Ñ2Ð3CÓDÒJÈò    ˆEÜ  §¡£Ó/ˆGá)¨%Ó0ö'ذA¸V²O’ò'ˆDN‰N˜7Ò #ð    ð ~‰~Ðùò    's Ã!    D Ã+D N)rÕr®) rErFrGrOrqrwrÀÚEQEQrîr¿rvrÂrIrJrKr·r·+ sJ„ñð
€HØ ˆ2:‰:Ð4Ó 5€Dà ñ"óð"ðñ"óð"ôrJr·)rr†r…có—d}t«}    tj|«j|ur'|dz }tj|«j|urŒ't j |d|dzi|¤Žy#t$rYŒ&wxYw)NrÞr,)rYrr r¡r†r_r`)rvrJrr]s    rKrÚrÚg s~€Ø €EÜ‹    €Að ôm‰m˜EÓ"×,Ñ,°Ñ1Ø Q‰JˆEôm‰m˜EÓ"×,Ñ,°Ò1ô ‡MM¨Ð4˜U Q™YÐ4°Ó4øô ò Ù ð úsŽAA1Á1    A=Á<A=c ób—tttttt    |««««S)z
    Yield ``Requirement`` objects for each specification in `strs`.
 
    `strs` must be a string, or a (possibly-nested) iterable thereof.
    )rÛr2r!r r")Ústrss rKrªrªt s#€ô Œ{Ô-¬c´,Ä ÈDÓ@QÓ.RÓSÓ TÐTrJcó—eZdZdZy)ÚRequirementParseErrorz,Compatibility wrapper for InvalidRequirementNrNrIrJrKrÐrÐ} s„Ú2rJrÐcón‡—eZdZUded<d
ˆfd„ Zd d„Zd d„Z                d d„Zd d„Zdd„Z    e
dd    „«Z ˆxZ S)r2ztuple[str, ...]r»có^•—t‰||«|j|_t    |j«}||j «c|_|_|jDcgc]}|j|jf‘Œc}|_ ttt|j««|_|j|j |jt#|j«|j$rt'|j$«ndf|_t+|j(«|_ycc}w)z>DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!N)rèr€r@Ú unsafe_namer¬rrÇrmÚ    specifierrrr*r
rÛr±r»ÚurlÚ    frozensetrrÖÚhashCmprPÚ_Requirement__hash)rÒÚrequirement_stringrÇrÒrÏs    €rKr€zRequirement.__init__† sÕø€ä ‰ÑÐ+Ô,ØŸ9™9ˆÔÜ  §¡Ó+ˆ Ø&2°L×4FÑ4FÓ4HÐ#ˆÔ˜4œ8Ø@DÇÁÖO¸t—}‘} d§l¡lÒ3ÒOˆŒ
ÜœC¤
¨D¯K©KÓ8Ó9ˆŒ à H‰HØ H‰HØ N‰NÜ d—k‘kÓ "Ø $§ ¢ ŒC— ‘ Ô °ð 
ˆŒ ô˜4Ÿ<™<Ó(ˆ ùòPsÁ"D*cóX—t|t«xr|j|jk(SrR)rr2r×rTs  rKr_zRequirement.__eq__— s!€Ü˜%¤Ó-ÒO°$·,±,À%Ç-Á-Ñ2OÐOrJcó—||k( SrRrIrTs  rKrazRequirement.__ne__š rbrJcó®—t|t«r'|j|jk7ry|j}n|}|jj |d¬«S)NFT)Ú prereleases)rr/rmrrÔÚcontains)rÒr§rs   rKr”zRequirement.__contains__ sS€ô dœLÔ )؏x‰x˜4Ÿ8™8Ò#Øà—l‘l‰GàˆGð
~‰~×&Ñ&Ø Øð'ó
ð    
rJcó—|jSrR)rØrÑs rKrQzRequirement.__hash__° s €Ø{‰{ÐrJcó —dt|«›dS)NzRequirement.parse(rrrÑs rKrÓzRequirement.__repr__³ s€Ø#¤C¨£I =°Ð2Ð2rJcó —t|«\}|SrR)rª)rrßs  rKr<zRequirement.parse¶ s€ä# AÓ&‰ˆØˆ
rJ)rÙrÖrÕrar­)r§z3Distribution | packaging.specifiers.UnparsedVersionrÕrYr¬rÔ)rzstr | Iterable[str]rÕr2) rErFrGrHr€r_rar”rQrÓrpr<rõr/s@rKr2r2 sNø…ð Óõ)ó"Pó!ð
ØGð
à     ó
ó&ó3ðòóôrJcó*—t|vr
|tfzS|S)zJ
    Ensure object appears in the mro even
    for old-style classes.
    )r    )Úclassess rKÚ_always_objecträ¼ s€ô
WÑØœ&˜Ñ"Ð"Ø €NrJc ó¬—ttjt|dt    |««««}|D] }||vsŒ||cSt d|›d|›«‚)z2Return an adapter factory for `ob` from `registry`rÏzCould not find adapter for z and )räÚinspectÚgetmror rr=)ÚregistryrnrÌÚts    rKr r Æ s]€ä œ7Ÿ>™>¬'°"°kÄ4ÈÃ8Ó*LÓMÓ N€EØ òˆØ Š=ؘA‘;Ò ðô
Ð1°(°¸5ÀÀÐEÓ
FÐFrJcóp—tjj|«}tj|d¬«y)z1Ensure that the parent directory of `path` existsT)Úexist_okN)rrršÚmakedirs)rršs  rKrµrµÑ s"€äg‰go‰o˜dÓ#€G܇KK $Ö'rJcó´—ts td«‚t|«\}}|r(|r%t|«st    |«    t |d«yyyy#t $rYywxYw)z/Sandbox-bypassing version of ensure_directory()z*"os.mkdir" not supported on this platform.iíN)rIrJrrrOrÚFileExistsError)rršrhs   rKrOrO× s^€å ÜÐBÓCÐCܘd› Ñ€GˆXÙ‘8¤E¨'¤NÜ  Ô)ð    Ü '˜5Õ !ð%38€wøôò    Ù ð    ús» A Á     AÁAc#óþK—d}g}t|«D]a}|jd«r=|jd«r |s|r||f–—|ddj«}g}ŒEt    d|«‚|j |«Œc||f–—y­w)asSplit a string or iterable thereof into (section, content) pairs
 
    Each ``section`` is a stripped version of the section header ("[section]")
    and each ``content`` is a list of stripped lines excluding blank lines and
    comment-only lines.  If there are any such lines before the first section
    header, they're returned in a first ``section`` of ``None``.
    Nú[rrÞrüzInvalid section heading)r"r)r‡r„r†r‘)rÚsectionÚcontentr·s    rKr°r°ä sèø€ð€GØ€GܘA“ò
!ˆØ ?‰?˜3Ô Ø}‰}˜SÔ!Ù™gØ! 7Ð*Ò*ؘq ˜*×*Ñ*Ó,Ø‘ä Ð!:¸DÓAÐAà N‰N˜4Õ  ð
!ð 7Ð
Óùs‚A;A=có¢—tj}    tt_tj|i|¤Ž|t_S#|t_wxYwrR)rrÚos_openÚtempfileÚmkstemp)rvrJÚold_opens   rKrLrLþ s;€Üw‰w€Hð䌌Ü×Ñ Ð,¨Ñ,ðŒø(Œús ’#AÁ ArÅ)Úcategoryr‘có—eZdZdZy)rÊz«
    Base class for warning about deprecations in ``pkg_resources``
 
    This class is not derived from ``DeprecationWarning``, and as such is
    visible by default.
    NrNrIrJrKrÊrÊs„òrJrÊ)ré
ÚlocalecóD—    t|dd¬«5}|j«cddd«S#1swYyxYw#t$r`d|›d|›d|›d}tj|t
d    ¬
«t|d|¬«5}|j«cddd«cYS#1swYYyxYwwxYw) z5See setuptools.unicode_utils._read_utf8_with_fallbackrÊrª)rmNz        ********************************************************************************
        `encoding="utf-8"` fails with z, trying `encoding=z¨`.
 
        This fallback behaviour is considered **deprecated** and future versions of
        `setuptools/pkg_resources` may not implement it.
 
        Please encode a° with "utf-8" to ensure future builds will succeed.
 
        If this file was produced by `setuptools` itself, cleaning up the cached files
        and re-building/re-installing the package with a newer version of `setuptools`
        (e.g. by updating `build-system.requires` in its `pyproject.toml`)
        might solve the problem.
        ********************************************************************************
        r*r+)rrþr­r_r`rÊ)ÚfileÚfallback_encodingrXrcs    rKr¿r¿s­€ðÜ $˜ gÔ .ð    °!Ø—6‘6“8÷    ÷    ò    ûä òð'à'+ hÐ.AÐBSÐAVðWð
hð    ð ˆô"     ‰ cÔ9ÀaÕHÜ $˜Ð&7Ô 8ð    ¸AØ—6‘6“8÷    ÷    õ    úð'ús;‚6*     6ª3¯6³6¶?BÁ5BÂ
BÂB    ÂBÂBcó—||i|¤Ž|SrRrI)rXrvrs   rKÚ _call_asider;s€Ù€tЈvÒØ €HrJcój‡—t«Š‰|d<|jˆfd„t‰«D««y)z=Set up global resource manager (deliberately not state-saved)Ú_managerc3ó\•K—|]#}|jd«s|t‰|«f–—Œ%y­wr)r)r )rœr@res  €rKrz_initialize.<locals>.<genexpr>Es1øèø€ò à Ø‰˜sÔ#ð
Œww Ó%Ô&ñ ùsƒ),N)r£rkrG)r]res @rKÚ _initializer@s3ø€ôÓ€GØ€A€jM؇HHó 䘓Lô õrJcóŠ—tddtj««}|j}|j}|j
}|j }|}td„|D««|d„d¬«g|_tt|jtj««t«jt!««y)aE
    Prepare the master working set and make the ``require()``
    API available.
 
    This function has explicit effects on the global state
    of pkg_resources. It is intended to be invoked once at
    the initialization of this module.
 
    Invocation by other packages is unsupported and done
    at their own risk.
    r    r›c3ó@K—|]}|jd¬«–—Œy­w)FrªN©r…)rœrÚs  rKrz1_initialize_master_working_set.<locals>.<genexpr>esèø€Ò    ?¨4ˆ$-‰- ˆ-×
&Ñ    ?ùs‚có&—|jd¬«S)NTrªrr9s rKrwz0_initialize_master_working_set.<locals>.<lambda>gs€T—]‘]¨4]Ó0€rJF)réN)rVr¢rˆrŒr“rêrr
ryr¿rÛr~rrrYrkrå)r›rŒr“rœrrËs      rKÚ_initialize_master_working_setr    Ls¡€ô! ¨=¼*×:RÑ:RÓ:TÓU€Kà×!Ñ!€GØ#×5Ñ5ÐØ)×3Ñ3ÐØ×'Ñ'€Jà€Hô
 
Ñ    ?°;Ô    ?Ô?ÙÙ0Øõð€KÔ䌈[× "Ñ "¤C§H¡HÓ    -Ô.Ü ƒI×Ñ”V“XÕrJ)rSrÖrTrÖrUr-rÕr-)rÕr`)r\r`rÕr`rü)rþztype[_ModuleLike]rÿr<rÕra)rrÖrÕr7)rr2rÕr/)rzstr | RequirementrÕz IResourceProvider | Distribution)r1ròr2ròrÕrY)rÚr.rÕr.)rÚr5rÕr/)rÚzDistribution | _PkgReqTyperÕr/)rÚr6r…rÖr@rÖrÕr9rR)rÚr6r…rarÕr¯)rÚr6r…rÖrÕr°)rÚr6r…rò)rÚr6r…rÖr@rÖrÕr±rÔrZ)rrÖrÕrÖ)rrÖrÕrÖ)rrÖrÕzSyntaxError | Literal[False])rrÖrròrÕrY)r}útype[_T]r~z_DistFinderType[_T]rÕrar2)r€rÖrrYrÕzIterable[Distribution])rzrBr€rÖrrYrÕró)rzú object | Noner€ròrz bool | None)rzr )rr%)rrÖ)r}r
rÃz_NSHandlerType[_T]rÕra)r útypes.ModuleTyperÕra)rÑrÖrÕra)r€rÖr`ròrÕra)rzr    r€r&rÑrÖr r )
rzr    r€ròrÑròr z_ModuleLike | NonerÕra)rhr&rÕrÖ)rhr$rÕrt)rhr%rÕz str | bytes)rhr%)rÎr1rÕzmap[Requirement])rèzMapping[type, _AdapterT]rnr    rÕr?)rr%rÕra)rr1rÕz&Iterator[tuple[str | None, list[str]]])rýrÖrÕrÖ(rOÚ
__future__rrÚ version_infoÚ RuntimeErrorrårÁÚ email.parserr»r®rrÚ importlib.abcÚimportlib.machineryrærŸrÙrrÚpkgutilr‚rrÖrwr[rõrGr@rÌr_rrŠÚcollections.abcrrrr    r
Útypingr r r rrrrrrrrrrÆrƒršr™Ú vendor_pathrrÃrrôrÚos.pathrrrrrrIr„Úpackaging.markersr­Úpackaging.requirementsÚpackaging.specifiersÚpackaging.utilsÚpackaging.versionÚ jaraco.textr r!r"Ú platformdirsr#rtÚ    _typeshedr$r%r&Ú_typeshed.importlibr'Útyping_extensionsr(r)r`rar-r.rÖr1rHr3r4r5r6r8r9r:r    rÍr;r<rYr=r>r?rArÀÚIr€ÚRuntimeWarningrMrr{r«rPrVr`rcrhrorqrsÚ
_sget_noneÚ
_sset_noner‹Ú__all__rPr¥r¦rér§r¨rûÚmajorÚminorr4r·r¸r¹rºr»rÈrŽr¾r„r#r~rr/r®r¯rrr‘r’r¼r7r¢rÝr
rÀr¡rÌr©r£r r¬r­r‡rƒr±r²r³r´rÂrårÃrÄrrÀrÁrrrÅr‹r½r¾r¿r{rÆrr‰r‘rœr™r r—ržr¸rŸrßr¿rÚ
FileFinderrÀrÁrÇrÔrÐršrÉrírïr¶rör•rìrÿr–rÎr€rÚVERBOSEÚ
IGNORECASErHr¤r=r/r³r·rGrÚrªr·ÚInvalidRequirementrÐr2rär rµrOr°rLÚfilterwarningsÚWarningrÊÚ_LOCALE_ENCODINGr¿rrYrr    Ú__resource_managerr˜r™r–r•r”r—ržrŸr›rŒr“rêrœrrËrIrJrKú<module>r1s* ðòõ&#ã
à×ѐfÒÙ
Ð8Ó
9Ð9ã ÛÛÛ ÛÛÛÛÛÛ    Û ÛÛ    ÛÛÛÛÛ    Û ÛÛÛ Û ÛÛÛßHÓHÝ ÷ ÷ ÷ ñ ð‡‡ §¡§¡¨b¯g©g¯o©o¸b¿g¹g¿o¹oÈhÓ>WÓ.XÐZfÐhqÓ!rÐr+Ð{~÷|Dñ|DðDðITðHUñUôVà‡  ‡ ˜TÔ"÷&ß ðß(Ñ(à€Mó
ÛÛÛÛßDÑDÝ:áß<Ñ<Ý2ß1à €‡  ðð
Øõñ ˆTƒ]€ÙÐ)°Ô@€à˜c 8¨E°#°xÀ Ñ7MÐ2MÑ,NÑ#OÐOÑP€
ˆIÓPØ"*¨M¨?Ð<LÐ+LÑ"MАiÓMØ$ m _°eÐ<PÑ6QÐ%QÑR€    ÓRؘs MÐ1Ñ2€ ˆYÓ2ؘ~¨{Ð:Ñ;€ ˆYÓ;Ø Ð!:Ñ;€ ˆyÓ;Ø!$АYÓ$Ø €Ó à˜v u×'7Ñ'7Ð7Ñ8€ ˆYÓ8à"*¨C¨5Ð2EÐ+EÑ"FАiÓFØ% r¨3° o°xÀÑ7OÐ&OÑP€ÓPØ$ b¨#¨s°E×4DÑ4DÐ%EÀuÈSÐRVÈYÑGWÐ%WÑX€    ÓX٠ؐ Ñ%Ð';¸^ÈCÑ=Pó €    ô
&xô&ð2—:‘:ÐMÈrÏtÉtÓTÐôNôð×!Ñ!×)Ñ)€ à € ˆ^Ó óó
óòóò
óñ-Ð,€
ˆZòò4S €ôl9iô9ô0oô0ôD
 ô
ô˜?ôô:I?ôIðFHÐÐBÓGà×Ñ×$Ò$Ð % Q s×'7Ñ'7×'=Ò'=Ð&>Ð ?€Ø €Ø€ Ø€ Ø€ Ø€ ð    8Ø"ð    8Ø6Jð    8à    ó    8ð
Ú<ó
Ø<Ø    Ú?ó
Ø?ó
>𠇂ñ
óð
òNòð" R—Z‘ZР;Ó<ÐØ b—j‘jÐ!CÓDÐà!€ ó.ðb
ÚAó
ØAØ    Ú<ó
Ø<óó@ð
 
à%)ð+Ø
ð+Ø"ð+à%ò+ó
ð+ð
ÚNó
ØNô7ó
>ô
 ˜ô ô:% Ð)¨8ô% ÷Pm&ñm&ô`
m U¨3°¨8¡_Ð4Ñ5ô
÷&~ñ~ðD%Ðô)lô)÷(}ñ}ó@Xó/ó    6ó"ò2@ó9ó"ó ô $÷L
ñL
ñ^V˜\Ô*ò&ô,ôô(2kô2ð@×ÒÔô Lô ñ$“€ô4˜Ð@Ð@ÑAôô8#˜<ô#ô.iM+ôiMñXY×*Ò*¨KÔ8ô&4=ô&4ôR!?ô!ô2 +ô ñ;IØ
Ð # Ró;ÐÐ7óð
    ?Øð    ?Ø2Eð    ?à    ó    ?ô-ðCHðJØ#ðJØ03ðJØ;?ðJàóJñ8    ×%Ò%Ð'7Ô8ðINðØðØ(2ðØ:Eóñ ˜ Ô%ô%ò(÷& ñ ó  ó ò$ò
!ñ ˆ7MÔ"ِG×'Ò'¨Ô6ᐠ   ×#Ò#×.Ò.° Ô=á7EØ
Ð ! 2ó8ÐÐ4óñ4BØ
Ð ! 2ó4ÐÐ0óð
;Øð;Ø0Bð;à    ó;ò("óJ#óD(ôV    ðØðàðððð ó    ñ$ ˆ7MÔ"Ù˜w×2Ò2°OÔDá˜9×0Ò0°/ÔBÙ˜9×.Ò.×9Ò9¸?ÔKðØðàðððð ð    ð
 
ó ñ˜6 ?Ô3ð
Ú1ó
Ø1Ø    Ú5ó
Ø5óYó
OñðÚ8óØ8Ø Ú<óØ<ÜGð‡_‚_ñ(óð(ò7òòóEð
ˆ‰OÓ    $×    *Ò    *€Ø ˆ2:‰:ðð‡J‚J—’Ñó ÷‚%ð    ÷mñmò` /÷~5ñ~5ôB˜,ôô&2˜<ô2ðl Ø$Ø&ñÐò
5ôUô3˜I×2Ò2×EÒEô3ô8)×(Ò(×4Ò4ô8òvôGô(ó
ôò4ð€×Ò˜¨=ÀÕFô Wôð #×/Ñ/°7Ò:‘8ÀÐð;Köó: ñ
 Ú“)óó ññ ò ó ñ ñFá(Ó*ÑÙ(×8Ò8OÙ'×6Ò6NÙ*×<Ò<ÑÙ(×8Ò8OÙ(×8Ò8OÙ)×:Ò:ÑÙ,×@Ò@ÑÙ*×<Ò<Ñá“,KÙ×!Ò!GÙ#×5Ò5ÑÙ)×3Ò3ÑÙ×'Ò'JÙ‚Hð#øðpòàƒMðúsÅ  dädäd