D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
usr
/
libexec
/
kcare
/
python
/
__pycache__
/
Filename :
distro.cpython-36.pyc
back
Copy
3 #w�g�� � @ s( d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl mZmZm Z mZmZmZmZmZmZ yddl mZ W n ek r� eZY nX dZG dd� de�ZG dd � d e�Zejjd d�Zejjdd �ZdZddd�Zdddddd�Z ddiZ!ej"d�Z#ej"d�Z$dddddddddd d!d"d#d$d%d&gZ%d'd(d)ed*d+d,fZ&dce'ee(e(e(f d.�d/d0�Z)e(d1�d2d3�Z*dde'e(d5�d6d7�Z+dee'e'e(d8�d9d:�Z,dfe'ee(e(e(f d;�d<d=�Z-dge'e(d;�d>d?�Z.dhe'e(d;�d@dA�Z/die'e(d;�dBdC�Z0e(d1�dDdE�Z1e(d1�dFdG�Z2dje'e'ed8�dHdI�Z3e e(e(f d1�dJdK�Z4e e(e(f d1�dLdM�Z5e e(e(f d1�dNdO�Z6e e(e(f d1�dPdQ�Z7e(e(dR�dSdT�Z8e(e(dR�dUdV�Z9e(e(dR�dWdX�Z:e(e(dR�dYdZ�Z;ydd[l<m=Z= W n$ ek �r� G d\d]� d]�Z=Y nX G d^d_� d_�Z>e>� Z?dd1�d`da�Z@eAdbk�r$e@� dS )ka� The ``distro`` package (``distro`` stands for Linux Distribution) provides information about the Linux distribution it runs on, such as a reliable machine-readable distro ID, or version information. It is the recommended replacement for Python's original :py:func:`platform.linux_distribution` function, but it provides much more functionality. An alternative implementation became necessary because Python 3.5 deprecated this function, and Python 3.8 removed it altogether. Its predecessor function :py:func:`platform.dist` was already deprecated since Python 2.6 and removed in Python 3.8. Still, there are many cases in which access to OS distribution information is needed. See `Python issue 1322 <https://bugs.python.org/issue1322>`_ for more information. � N) �Any�Callable�Dict�Iterable�Optional�Sequence�TextIO�Tuple�Type)� TypedDictz1.8.0c @ s e Zd ZU eeedS )�VersionDictN)�__name__� __module__�__qualname__�str�major�minor�build_number� r r �#/usr/libexec/kcare/python/distro.pyr = s r c @ s"