| 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 : /usr/lib/python3/dist-packages/setuptools/command/__pycache__/ |
Upload File : |
�
���c. � �� � d Z ddlmZ ddlmZ ddlmZ ddlZddlZddl Z ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlmZ ddlmZ d d
lmZ d� Z G d� d
e� � ZdS )z|upload_docs
Implements a Distutils 'upload_docs' subcommand (upload documentation to
sites other than PyPi such as devpi).
� )�standard_b64encode)�log)�DistutilsOptionErrorN� )�metadata)�SetuptoolsDeprecationWarning� )�uploadc �. � | � dd� � S )Nzutf-8�surrogateescape)�encode)�ss �@/usr/lib/python3/dist-packages/setuptools/command/upload_docs.py�_encoder s � ��8�8�G�.�/�/�/� c � � e Zd ZdZdZdddej z fddgZej Zd� Zd efgZ d
� Z
d� Zd� Zd
� Z
ed� � � Zed� � � Zd� ZdS )�upload_docszhttps://pypi.python.org/pypi/z;Upload documentation to sites other than PyPi such as devpizrepository=�rzurl of repository [default: %s])z
show-responseNz&display full response text from server)zupload-dir=Nzdirectory to uploadc �Z � t | j d u ot j dd�� � � � S )Nzdistutils.commands�build_sphinx)�group�name)�bool�
upload_dirr �entry_points��selfs r �
has_sphinxzupload_docs.has_sphinx/ s8 � ���O�t�#�
W��%�,@�~�V�V�V�
�
�
r r c �J � t j | � � d | _ d | _ d S )N)r
�initialize_optionsr �
target_dirr s r r zupload_docs.initialize_options7 s% � ��!�$�'�'�'��������r c �� � t j d� � t j | � � | j ��| � � � r5| � d� � }t |j � � d | _ na| � d� � }t j � |j
d� � | _ n!| � d� � | j | _ | � d| j z � � d S )NzWUpload_docs command is deprecated. Use Read the Docs (https://readthedocs.org) instead.r �html�build�docsr zUsing upload directory %s)r �warnr
�finalize_optionsr r �get_finalized_command�dict�builder_target_dirsr! �os�path�join�
build_base�ensure_dirname�announce)r r r$ s r r'