Server IP : 162.213.251.212 / Your IP : 18.218.33.17 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/lib64/python3.6/distutils/command/__pycache__/ |
Upload File : |
3 �Qg� � @ s� d Z ddlZddlZddlZddlZddlmZ ddlmZm Z m Z ddlmZ ddl mZmZ ddlmZ ddlmZ dd lmZ G d 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)�logc @ sJ e Zd ZdZejddg Zejdg Zdd � Zd d� Zdd � Z dd� Z dS )�uploadzupload binary package to PyPI�sign�s�sign files to upload using gpg� identity=�i�GPG identity used to sign filesc C s, t j| � d| _d| _d| _d| _d | _d S )N� r F)r �initialize_options�username�password� show_responser �identity)�self� r �0/usr/lib64/python3.6/distutils/command/upload.pyr s zupload.initialize_optionsc C sv t j| � | jr | j r td��| j� }|i krX|d | _|d | _|d | _|d | _ | j rr| j jrr| j j| _d S )Nz.Must use --sign for --identity to have meaningr r � repository�realm)r �finalize_optionsr r r Z_read_pypircr r r r �distribution)r �configr r r r ( s zupload.finalize_optionsc C s>