| Server IP : 46.101.140.223 / Your IP : 216.73.217.61 Web Server : nginx/1.22.1 System : Linux debian-s-1vcpu-1gb-fra1-01 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : deploy-others ( 1001) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/setuptools/_distutils/command/__pycache__/ |
Upload File : |
�
���cD � �� � d Z ddlZddlZddlZddlZddlmZ ddlmZm Z m
Z
ddlmZ ddl
mZmZ ddlmZ dd lmZ eed
d� � eedd� � eedd� � d
�Z G d� de� � ZdS )zm
distutils.command.upload
Implements the Distutils 'upload' subcommand (upload package to a package
index).
� N)�standard_b64encode)�urlopen�Request� HTTPError)�urlparse� )�DistutilsError�DistutilsOptionError)�
PyPIRCCommand)�spawn�md5�sha256�blake2b)�
md5_digest�
sha256_digest�blake2_256_digestc �X � e Zd ZdZej ddgz Zej dgz Zd� Zd� Zd� Z d� Z
d S )
�uploadzupload binary package to PyPI)�sign�szsign files to upload using gpg)z identity=�izGPG identity used to sign filesr c �t � t j | � � d| _ d| _ d| _ d| _ d | _ d S )N� r F)r �initialize_options�username�password�
show_responser �identity)�selfs �F/usr/lib/python3/dist-packages/setuptools/_distutils/command/upload.pyr zupload.initialize_options( s; � ��(��.�.�.���
���
������ ���
�
�
� c �T � t j | � � | j r| j st d� � �| � � � }|i k r4|d | _ |d | _ |d | _ |d | _ | j s| j
j r| j
j | _ d S d S d S )Nz.Must use --sign for --identity to have meaningr r �
repository�realm)r �finalize_optionsr r r
�_read_pypircr r r# r$ �distribution)r �configs r r% zupload.finalize_options0 s� � ��&�t�,�,�,��=� Y��� Y�&�'W�X�X�X��"�"�$�$���R�<�<�"�:�.�D�M�"�:�.�D�M�$�\�2�D�O����D�J� �}� 7��!2�!;� 7� �-�6�D�M�M�M� 7� 7� 7� 7r! c � � | j j sd}t |� � �| j j D ]\ }}}| � |||� � �d S )NzHMust create and upload files in one command (e.g. setup.py sdist upload))r'