ok
Direktori : /opt/alt/python311/lib64/python3.11/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/__pycache__/zipapp.cpython-311.pyc |
� �fo � �* � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZg d�ZdZej � d� � rdZn ej � � Z G d� de � � Ze j d� � � Zd � Zdd �Z dd�Zd � Zdd�Zedk r e� � dS dS )� N)�ZipAppError�create_archive�get_interpreterz8# -*- coding: utf-8 -*- import {module} {module}.{fn}() �win�utf-8c � � e Zd ZdS )r N)�__name__� __module__�__qualname__� � �-/opt/alt/python311/lib64/python3.11/zipapp.pyr r ! s � � � � � ��Dr r c # � K � t | t t j f� � r/t | |� � 5 }|V � d d d � � d S # 1 swxY w Y d S | V � d S �N)� isinstance�str�os�PathLike�open)�archive�mode�fs r �_maybe_openr % s� � � � ��'�C���-�.�.� � �'�4� � � �A��G�G�G� � � � � � � � � � � � ���� � � � � � � � � � � � s �A�A � A c �x � |r7d|� t � � z dz }| � |� � dS dS )zWrite a shebang line.� #!� N)�encode�shebang_encoding�write)r �interpreter�shebangs r �_write_file_prefixr"