0x1949 Team - FAZEMRX - MANAGER
Edit File: update.cpython-310.pyc
o �M=`� � @ s� d dl mZmZmZ d dlZd dlZd dlZd dlmZ d dl m Z dZdZdd� Z d d � Zddefdd�Ze�� e�d �ejddd�ejddd�ejddd�ejddd�ejddd�ejddd�ejddd�dd� ���������Zedkr}e� dS dS )� )�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� c C sJ t | �}|�d��|�� �}|�|�� �}|�� r|S |�� r!|S td��)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� _findPath s �r c C sP i }| � d��d��}t|�� |� W d � |d S 1 sw Y |d S )N�_version.py�r�__version__)r �open�exec�read)r �version_info�fr r r �_existing_version3 s ��r c C s� | st j} |stj�� }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�| jd nd | jr�| jd nd | jr�| jd nd d ��}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 |�}|jd u �rd}n|jd }t| |j|j|j|d �}n;|�rKt |�}|jd u �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�� }|�'|� W d � n 1 �s*w Y �q�| d|j% � |�(d��&d��}|�'t)j*| |d��d�� W d � d S 1 �sZw Y d S )N�utf8zOnly give --newversionzOnly give --devzOnly give --creater )� parse_version� � )�release_candidate�post�dev)r"