Viewing File: /opt/imunify360/venv/lib/python3.11/site-packages/daemon/__pycache__/_metadata.cpython-311.pyc



]j{DdZddlmZmZddlZddlZddlZeZdZ	dZ
dZe
fdZee	Z
ee
ZedZd	Zd
ZdeeZGd
dZddZdZedZeeeZdeeZdZdZdS)u< Package metadata for the ‘python-daemon’ distribution. )absolute_importunicode_literalsNz
python-daemonzversion_info.jsonc`d}	tj|}n#tj$rYnwxYw|S)z Get the `Distribution` instance for distribution `name`.

        :param name: The distribution name for the query.
        :return: The `pkg_resources.Distribution` instance, or
            ``None`` if the distribution instance is not found.
        N)
pkg_resourcesget_distributionDistributionNotFound)namedistributions  p/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib/python3.11/site-packages/daemon/_metadata.pyrrsKL
$5d;;-



s++cdddd}|>||r)||}tj|}|S)a= Get the version info from the installed distribution.

        :param distribution: The `pkg_resources.Distribution` instance
            representing the Python package to interrogate.
        :param filename: Base filename of the version info resource.
        :return: The version info as a mapping of fields.

        The version info is stored as a metadata file in the
        `distribution`.

        If the `distribution` is ``None``, or the version info
        metadata file is not found, the return value mapping fields
        have placeholder values.
        UNKNOWN)release_dateversion
maintainer)has_metadataget_metadatajsonloads)r
filenameversion_infocontents    rget_distribution_version_infor*s_"& #L$$X..	/"//99G:g..Lrz
Ben Finneyzben+python@benfinney.id.auz{name} <{email}>)r	emailc$eZdZdZddZdZeZdS)	YearRangez% A range of years spanning a period. Nc"||_||_dSNbeginend)selfr r!s   r__init__zYearRange.__init__Vs
rcd|}|j&|j|jkrd|}|S)Nz{range.begin:04d})rangeu#{range.begin:04d}–{range.end:04d})formatr!r )r"texts  r__unicode__zYearRange.__unicode__ZsJ")))558x$*$$<CC$COOrr)__name__
__module____qualname____doc__r#r(__str__rrrrSs>//GGGrrct|}	tj|d}|j}n#tt
f$rd}YnwxYwt
||}|S)a Construct the year range given a start and possible end date.

        :param begin_year: The beginning year (text, 4 digits) for the
            range.
        :param end_date: The end date (text, ISO-8601 format) for the
            range, or a non-date token string.
        :return: The range of years as a `YearRange` instance.

        If the `end_date` is not a valid ISO-8601 date string, the
        range has ``None`` for the end year.

        z%Y-%m-%dNr)intdatetimestrptimeyear	TypeError
ValueErrorr)
begin_yearend_dateend_year
year_ranges    rmake_year_ranger:ds|ZJ!$--h
CC
=	
z":::Js 9AA2001ru-Copyright © {year_range} {author} and others)r9authorzApache-2z https://pagure.io/python-daemon/r)r,
__future__rrr1rrtype
__metaclass__distribution_nameversion_info_filenamerrr
rversion_installedauthor_nameauthor_emailr&r<rr:copyright_year_begin
build_datecopyright_year_range	copyrightlicenseurlr.rr<module>rKs`CB::::::::
$+


" 5<  122,,\:: ++		"	"<	"	H	H"8
.
)
&';ZHH;BB'
C
8
8	
(r
Back to Directory File Manager