zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
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
U
W±dGã@s dZddlZddlZdd„ZdS)ar
Code to be shared by PyInstaller and the bootloader/wscript file.
 
This code must not assume that either PyInstaller or any of its dependencies installed. I.e., the only imports allowed
in here are standard library ones. Within reason, it is preferable that this file should still run under Python 2.7 as
many compiler docker images still have only Python 2 installed.
éNcCs¸t ¡dkst ¡dkr t ¡S|dkr>| ¡ d¡r:dSdS|dkrJdS| d¡rXdS|d    krddS|d
krpdSt d |¡r€dS| d ¡rŽd S|dkršdS| d¡r¨dS|dkr´|SdS)a›
    Choose an intentionally simplified architecture identifier to be used in the bootloader's directory name.
 
    Args:
        machine:
            The output of ``platform.machine()`` or any known architecture alias or shorthand that may be used by a
            C compiler.
        system:
            The output of ``platform.system()`` on the target machine.
    Returns:
        Either a string tag or, on platforms that don't need an architecture tag, ``None``.
 
    Ideally, we would just use ``platform.machine()`` directly, but that makes cross-compiling the bootloader almost
    impossible, because you need to know at compile time exactly what ``platform.machine()`` will be at run time, based
    only on the machine name alias or shorthand reported by the C compiler at the build time. Rather, use a loose
    differentiation, and trust that anyone mixing armv6l with armv6h knows what they are doing.
    Zsw_64Z loongarch64ÚWindowsÚarmÚintelÚLinuxN)rZaarchZthumb)Úx86_64Úx64Úx86zi[1-6]86)ÚppcZpowerpcr    )Zmips64Úmipsr
Zriscv)Ús390xÚunknown)ÚplatformÚmachineÚlowerÚ
startswithÚreÚ    fullmatch)rÚsystem©rúSd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\PyInstaller/_shared_with_waf.pyÚ _pyi_machines2
 
 
r)Ú__doc__r rrrrrrÚ<module> s