Files
ServerSync/lib/cffi/__pycache__/pkgconfig.cpython-314.pyc

48 lines
6.4 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
u<10>i<00><00>`<00>^RIt^RIt^RIt^RIHtRt]P !43RltRtR#)<06>N)<01>PkgConfigErrorc<04>"<00>VP4Fzwr#W 9dW0V&K\W,\4'g\RV: R24h\V\4'g\RV: R24hW,P V4K| V#)z<>Merge values from cffi config flags cfg2 to cf1
Example:
merge_flags({"libraries": ["one"]}, {"libraries": ["two"]})
{"libraries": ["one", "two"]}
zcfg1[z] should be a list of stringszcfg2[)<05>items<6D>
isinstance<EFBFBD>list<73> TypeError<6F>extend)<04>cfg1<67>cfg2<67>key<65>values&& <20>5/tmp/pip-target-zhdecbcm/lib/python/cffi/pkgconfig.py<70> merge_flagsrsq<00><00><1B>j<EFBFBD>j<EFBFBD>l<EFBFBD>
<EFBFBD><03> <0E>?<3F><1D><13>I<EFBFBD><1D>d<EFBFBD>i<EFBFBD><14>.<2E>.<2E><1F>#<23> O<>P<>P<><1D>e<EFBFBD>T<EFBFBD>*<2A>*<2A><1F>#<23> O<>P<>P<> <10>I<EFBFBD> <1C> <1C>U<EFBFBD> #<23>#<23> <10>K<EFBFBD>c <04>"<00>RR.pVPV4VPV4\P!V\P\PR7pTP4wrgTP^8wd,TPT4p\ TP44h\PR 8<>d)\T\ 4'gTPT4p\ P"R
8wdR
T9d\ RT: RT: R T: 24hT# \d,p\ R\ T4P4: 24hRp?ii;i \dL<>i;i \d\ RT: RT: RT: R T: 24hi;i) z5Calls pkg-config and returns the output if found
z
pkg-configz--print-errors)<02>stdout<75>stderrzcannot run pkg-config: Nz pkg-config <20> z5 returned bytes that cannot be decoded with encoding z:
<EFBFBD>\z3 returned an unsupported backslash-escaped output:
)<01>)<12>append<6E>
subprocess<EFBFBD>Popen<65>PIPE<50>EnvironmentErrorr<00>str<74>strip<69> communicate<74>
returncode<EFBFBD>decode<64> Exception<6F>sys<79> version_infor<00>UnicodeDecodeError<6F>os<6F>altsep)<08>libname<6D>flag<61>encoding<6E>a<>pc<70>e<>bout<75>berrs&&& r<00>callr/s[<00><00>
<16>'<27>(<28>A<EFBFBD><05>H<EFBFBD>H<EFBFBD>T<EFBFBD>N<EFBFBD><05>H<EFBFBD>H<EFBFBD>W<EFBFBD><15>N<01> <17> <1D> <1D>a<EFBFBD>
<EFBFBD><0F><0F>
<EFBFBD><0F><0F> P<><02><14><1E><1E>!<21>J<EFBFBD>D<EFBFBD> <09>}<7D>}<7D><01><19> <11><17>;<3B>;<3B>x<EFBFBD>(<28>D<EFBFBD><1D>T<EFBFBD>Z<EFBFBD>Z<EFBFBD>\<5C>*<2A>*<2A>
<EFBFBD><17><17>4<EFBFBD><1F>
<EFBFBD>4<EFBFBD><13>(=<3D>(=<3D> B<01><17>;<3B>;<3B>x<EFBFBD>(<28>D<EFBFBD> 
<EFBFBD>y<EFBFBD>y<EFBFBD>D<EFBFBD><18>T<EFBFBD>T<EFBFBD>\<5C><1C>"<22>G<EFBFBD>T<EFBFBD>3<>4<> 4<> <10>K<EFBFBD><4B>/ <1C>N<01><1C>C<EFBFBD><01>F<EFBFBD>L<EFBFBD>L<EFBFBD>N<EFBFBD>L<>M<>M<><4D>N<01><><19> <11> <10> <11><>"<22> B<01> <20>"&<26><07><18>4<EFBFBD>"A<01>B<01> B<01> B<01>s5<00>5D<00>E<00>E'<00> E<03>(&E<03>E<03> E$<03>#E$<03>''Fc<04><>aaaaa a
<EFBFBD>RoRoRoRoRo Ro
VVVVV V
3Rlp/pVFpV!V4p\W$4K V#)a<>Return compiler line flags for FFI.set_source based on pkg-config output
Usage
...
ffibuilder.set_source("_foo", pkgconfig = ["libfoo", "libbar >= 1.8.3"])
If pkg-config is installed on build machine, then arguments include_dirs,
library_dirs, libraries, define_macros, extra_compile_args and
extra_link_args are extended with an output of pkg-config for libfoo and
libbar.
Raises PkgConfigError in case the pkg-config call fails.
c<00><><00>VP4Uu.uF$qPR4'gKVR,NK& up#uupi)<02>-I<><49>NN<4E><02>split<69>
startswith<EFBFBD><02>string<6E>xs& r<00>get_include_dirs<72>.flags_from_pkgconfig.<locals>.get_include_dirsK<00>1<00><00>%<25>|<7C>|<7C>~<7E>D<>~<7E>!<21><1C><1C>d<EFBFBD>1C<31><05><01>"<22><05><05>~<7E>D<>D<><44>D<>
<00>A<04> Ac<00><><00>VP4Uu.uF$qPR4'gKVR,NK& up#uupi)<02>-Lr3r5r8s& r<00>get_library_dirs<72>.flags_from_pkgconfig.<locals>.get_library_dirsNr=r>c<00><><00>VP4Uu.uF$qPR4'gKVR,NK& up#uupi)<02>-lr3r5r8s& r<00> get_libraries<65>+flags_from_pkgconfig.<locals>.get_librariesQr=r>c<00><><00>RpVP4Uu.uF#q"PR4'gKV!V4NK% up#uupi)c<00>`<00>VR,pRV9d\VPR^44#VR3#)r3<00>=N)<02>tupler6)r:s&r<00>_macro<72>8flags_from_pkgconfig.<locals>.get_macros.<locals>._macroVs1<00><00><11>"<22><05>A<EFBFBD><12>a<EFBFBD>x<EFBFBD><1C>Q<EFBFBD>W<EFBFBD>W<EFBFBD>S<EFBFBD>!<21>_<EFBFBD>-<2D>-<2D><19>4<EFBFBD>y<EFBFBD> r<00>-Dr5)r9rKr:s& r<00>
get_macros<EFBFBD>(flags_from_pkgconfig.<locals>.get_macrosUs6<00><00> !<21> $*<2A><<3C><<3C>><3E>H<>><3E>a<EFBFBD>\<5C>\<5C>$<24>5G<35> <09><06>q<EFBFBD> <09>><3E>H<>H<><48>Hs
<00>A<04> Ac<00><><00>VP4Uu.uF6qPR4'dKVPR4'dK4VNK8 up#uupi)r2rMr5r8s& r<00>get_other_cflags<67>.flags_from_pkgconfig.<locals>.get_other_cflags^<00>H<00><00>!<21><<3C><<3C>><3E>E<01>><3E>a<EFBFBD><1C><1C>d<EFBFBD>1C<31><01>12<31><1C><1C>d<EFBFBD>1C<31><12><01>><3E>E<01> E<01><>E<01><00>A<04>A<04> Ac<00><><00>VP4Uu.uF6qPR4'dKVPR4'dK4VNK8 up#uupi)r@rDr5r8s& r<00>get_other_libs<62>,flags_from_pkgconfig.<locals>.get_other_libsbrSrTc<00><><<06>\P!4p\VR4p\VR4pRS!V4RS!V4RS!V4RS!V4RS!V4RS !V4/#)z--cflagsz--libs<62> include_dirs<72> library_dirs<72> libraries<65> define_macros<6F>extra_compile_args<67>extra_link_args)r"<00>getfilesystemencodingr/)
r'<00>fse<73>
all_cflags<EFBFBD>all_libsr;rErArNrQrVs
& <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>r<00>kwargs<67>$flags_from_pkgconfig.<locals>.kwargsgsr<00><><00><11>'<27>'<27>)<29><03><19>'<27>:<3A>.<2E>
<EFBFBD><17><07><18>*<2A><08> <1A>,<2C>Z<EFBFBD>8<> <1A>,<2C>X<EFBFBD>6<> <17><1D>x<EFBFBD>0<> <1B>Z<EFBFBD>
<EFBFBD>3<> <20>"2<>:<3A>"><3E> <1D>~<7E>h<EFBFBD>7<> <0E> r)r) <0B>libsrc<00>retr'<00> lib_flagsr;rErArNrQrVs & @@@@@@r<00>flags_from_pkgconfigrh<sZ<00><><00>E<01>E<01>E<01>I<01>E<01>E<01>
<0E> <0E> <0A>C<EFBFBD><17><07><1A>7<EFBFBD>O<EFBFBD> <09><13>C<EFBFBD>#<23><18> <0F>Jr) r"r%r<00>errorrrr_r/rh<00>rr<00><module>rks,<00><01><1A><1A>!<21><10>&"%<25>!:<3A>!:<3A>!<<3C><10>D=r