Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/incremental/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/incremental/__pycache__/update.cpython-310.pyc
o

�M=`��@s�ddlmZmZmZddlZddlZddlZddlmZddl	m
Z
dZdZdd�Z
d	d
�Zddefdd�Ze��e�d
�ejddd�ejddd�ejddd�ejddd�ejddd�ejddd�ejddd�dd����������Zedkr}e�dSdS)�)�absolute_import�division�print_functionN)�Version)�FilePathz�"""
Provides {package} version information.
"""

# This file is auto-generated! Do not edit!
# Use `python -m incremental.update {package}` to change this file.

from incremental import Version

__version__ = {version_repr}
__all__ = ["__version__"]
i�cCsJt|�}|�d��|���}|�|���}|��r|S|��r!|Std��)N�srcz�Can't find under `./src` or `./`. Check the package name is right (note that we expect your package name to be lower cased), or pass it using '--path'.)r�child�lower�isdir�
ValueError)�path�package�cwd�src_dir�current_dir�r�4/usr/lib/python3/dist-packages/incremental/update.py�	_findPaths�rcCsPi}|�d��d��}t|��|�Wd�|dS1swY|dS)N�_version.py�r�__version__)r�open�exec�read)r�version_info�frrr�_existing_version3s
��rc	Cs�|	stj}	|stj��}t|�tkr|�d�}|s t|	�|�}nt	|�}|r(|s4|r,|s4|r0|s4|r8|r8t
d��|r<|sD|r@|sD|rH|rHt
d��|rL|s\|rP|s\|rT|s\|rX|s\|r`|r`t
d��|r�ddlm}t
|�}||�j}
t|
j�}t|�dkr�|�d�t|�dkr�|�d�t|g|�R|
jr�|
jdnd|
jr�|
jdnd|
jr�|
jdndd	��}n�|r�t||jt|jd�}|}n�|r�|s�t
|�}|jr�t||j|j|j|jd�}n�t||jt|jdd�}ny|�r|r�d}nd}t
|�}t||j|j|jd|�}n]|�r't
|�}|jdu�rd}n|jd}t||j|j|j|d
�}n;|�rKt
|�}|jdu�r7d}n|jd}t||j|j|j|j|d�}nt
|�}|j�r^t||j|j|j�}nt
d��tt|d
dd���d�d� dd�}|�d�}t|��d�d� dd�}|�d�}t|��d�d� dd�}|�d�}|
d|�!��|�"�D]�}|�#��s��q�|�$�}|}|j�r�|� ||�}|� |�d�d|�!��d�|�d�d|�!��d��}|� ||�}|� |� dd�|�}|� |�d�d|�d�d|�!��d��}||k�r/|
d|j%f�|�&d��
}|�'|�Wd�n	1�s*wY�q�|
d|j%�|�(d��&d��}|�'t)j*||d��d��Wd�dS1�sZwYdS)N�utf8zOnly give --newversionzOnly give --devzOnly give --creater)�
parse_version��)�release_candidate�post�dev)r")r#z6You need to issue a rc before updating the major/minor�NEXT�#�'�"zUpdating codebase to %s� �'�"s NEXTzUpdating %s�wzUpdating %s/_version.pyr)r
�version_repr)+�os�getcwd�datetime�date�today�type�str�encoderrr�
pkg_resourcesrr�_version�list�release�len�appendr�prer"r#�year�_YEAR_START�monthr!�major�minor�micro�repr�split�replace�public�walk�isfile�
getContentrr�writer�_VERSIONPY_TEMPLATE�format)r
r�
newversion�patch�rcr"r#�create�_date�_getcwd�_printr�existing�
st_versionr8�v�_post�_dev�	NEXT_repr�NEXT_repr_bytesr,�version_repr_bytes�existing_version_repr�existing_version_repr_bytes�x�original_content�contentrrrr�_run<s*

��������
��������	�
�



��
��

�
$



���
���$�r`r
z--path)�defaultz--newversionz--patchT)�is_flagz--rcz--postz--devz--createcOst|i|��S)N)r`)�args�kwargsrrr�run�s
re�__main__)�
__future__rrr�clickr-r/�incrementalr�twisted.python.filepathrrJr=rr�printr`�command�argument�optionre�__name__rrrr�<module>s8

�B
�

Spamworldpro Mini