���� JFIF    fdasasfas213sdaf403WebShell
403Webshell
Server IP : 147.79.69.49  /  Your IP : 216.73.216.70
Web Server : LiteSpeed
System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64
User : u479334040 ( 479334040)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/setuptools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyc
�
u�fc@@sZddlmZmZddlZddlZddlZddlZddlZddlm	Z	ddlm
Z
ddlmZddlm
Z
ddlmZmZddlmZmZdd	lmZdd
lmZmZeZeed�Zd�Zd
�Zed�Zdfd��YZ de fd��YZ!de fd��YZ"dS(i(tabsolute_importtunicode_literalsN(tdefaultdict(tpartial(twraps(t
import_module(tDistutilsOptionErrortDistutilsFileError(t
LegacyVersiontparse(tSpecifierSet(tstring_typestPY3c	C@s�ddlm}m}tjj|�}tjj|�sMtd|��ntj�}tj	tjj
|��zl|�}|r�|j�ng}||kr�|j|�n|j
|d|�t||jd|�}Wdtj	|�Xt|�S(u,Read given configuration file and returns options from it as a dict.

    :param str|unicode filepath: Path to configuration file
        to get options from.

    :param bool find_others: Whether to search for other configuration files
        which could be on in various places.

    :param bool ignore_option_errors: Whether to silently ignore
        options, values of which could not be resolved (e.g. due to exceptions
        in directives such as file:, attr:, etc.).
        If False exceptions are propagated as expected.

    :rtype: dict
    i(tDistributiont
_Distributionu%Configuration file %s does not exist.t	filenamestignore_option_errorsN(tsetuptools.distR
RtostpathtabspathtisfileRtgetcwdtchdirtdirnametfind_config_filestappendtparse_config_filestparse_configurationtcommand_optionstconfiguration_to_dict(	tfilepathtfind_othersRR
Rtcurrent_directorytdistRthandlers((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pytread_configurations$	
cC@s@djt��}tjt||�}t|||�}|�S(u�
    Given a target object and option key, get that option from
    the target object, either through a get_{key} method or
    from an attribute directly.
    u	get_{key}(tformattlocalst	functoolsRtgetattr(t
target_objtkeytgetter_nametby_attributetgetter((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt_get_optionEscC@sXtt�}xE|D]=}x4|jD])}t|j|�}|||j|<q#WqW|S(u�Returns configuration data gathered by given handlers as a dict.

    :param list[ConfigHandler] handlers: Handlers list,
        usually from parse_configuration()

    :rtype: dict
    (Rtdicttset_optionsR.R)tsection_prefix(R#tconfig_dictthandlertoptiontvalue((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyRQs
cC@sKt|||�}|j�t|j|||j�}|j�||fS(u�Performs additional parsing of configuration options
    for a distribution.

    Returns a list of used option handlers.

    :param Distribution distribution:
    :param dict command_options:
    :param bool ignore_option_errors: Whether to silently ignore
        options, values of which could not be resolved (e.g. due to exceptions
        in directives such as file:, attr:, etc.).
        If False exceptions are propagated as expected.
    :rtype: list
    (tConfigOptionsHandlerR	tConfigMetadataHandlertmetadatatpackage_dir(tdistributionRRtoptionstmeta((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyRcs

t
ConfigHandlercB@s�eZdZdZiZed�Zed��Z	d�Z
edd��Zed��Z
ed��Zed��Zed	��Zed
��Zed��Zedd��Zed
��Zedd��Zd�Zd�Zd�ZRS(u1Handles metadata supplied in configuration files.cC@s�i}|j}xT|j�D]F\}}|j|�s=qn|j|d�jd�}|||<qW||_||_||_g|_dS(Nuu.(	R1titemst
startswithtreplacetstripRR)tsectionsR0(tselfR)R;RRBR1tsection_nametsection_options((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt__init__�s				cC@std|jj��dS(u.Metadata item name to parser function mapping.u!%s must provide .parsers propertyN(tNotImplementedErrort	__class__t__name__(RC((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pytparsers�sc	C@st�}|j}|jj||�}t|||�}||krTt|��n|r^dSt}|jj|�}|r�y||�}Wq�tk
r�t	}|j
s��q�q�Xn|r�dSt|d|d�}|dkr�t|||�n
||�|j
j|�dS(Nuset_%s(ttupleR)taliasestgetR(tKeyErrortFalseRJt	ExceptiontTrueRtNonetsetattrR0R(	RCtoption_nameR5tunknownR)t
current_valuetskip_optiontparsertsetter((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt__setitem__�s0		
	

u,cC@sft|t�r|Sd|kr.|j�}n|j|�}g|D]}|j�rD|j�^qDS(u�Represents value as a list.

        Value is split either by separator (defaults to comma) or by lines.

        :param value:
        :param separator: List items separator character.
        :rtype: list
        u
(t
isinstancetlistt
splitlinestsplitRA(tclsR5t	separatortchunk((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt_parse_list�s
cC@swd}i}xd|j|�D]S}|j|�\}}}||krYtd|��n|j�||j�<qW|S(uPRepresents value as a dict.

        :param value:
        :rtype: dict
        u=u(Unable to parse option value to dict: %s(Rbt	partitionRRA(R_R5R`tresulttlineR*tseptval((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt_parse_dict�scC@s|j�}|dkS(uQRepresents value as boolean.

        :param value:
        :rtype: bool
        u1utrueuyes(u1utrueuyes(tlower(R_R5((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt_parse_bool�sc@s�fd�}|S(u�Returns a parser function to make sure field inputs
        are not files.

        Parses a value after getting the key so error messages are
        more informative.

        :param key:
        :rtype: callable
        c@s1d}|j|�r-tdj����n|S(Nufile:uCOnly strings are accepted for the {0} field, files are not accepted(R?t
ValueErrorR%(R5texclude_directive(R*(sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyRXs((R_R*RX((R*sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt_exclude_files_parser�sc@srd}t|t�s|S|j|�s,|S|t|�}d�|jd�D�}dj�fd�|D��S(uORepresents value as a string, allowing including text
        from nearest files using `file:` directive.

        Directive is sandboxed and won't reach anything outside
        directory with setup.py.

        Examples:
            file: README.rst, CHANGELOG.md, src/file.txt

        :param str value:
        :rtype: str
        ufile:cs@s'|]}tjj|j��VqdS(N(RRRRA(t.0R((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pys	<genexpr>%su,u
c3@sE|];}�j|�strtjj|�r�j|�VqdS(N(t
_assert_localRQRRRt
_read_file(RnR(R_(sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pys	<genexpr>'s(R[RR?tlenR^tjoin(R_R5tinclude_directivetspect	filepaths((R_sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt_parse_filescC@s,|jtj��s(td|��ndS(Nu#`file:` directive can not access %s(R?RRR(R((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyRo-scC@s,tj|dd��}|j�SWdQXdS(Ntencodinguutf-8(tiotopentread(Rtf((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyRp3scC@sed}|j|�s|S|j|d�j�jd�}|j�}dj|�}|p^d}tj�}|r|d|kr�||d}|jdd�}	t	|	�dkr�tj
jtj�|	d�}|	d}q|}qd|krtj
jtj�|d�}qntj
jd|�zt
|�}
t|
|�}Wdtj
dt_
X|S(	u�Represents value as a module attribute.

        Examples:
            attr: package.attr
            attr: package.module.attr

        :param str value:
        :rtype: str
        uattr:uu.u__init__iu/iN(R?R@RAR^tpopRrRRtrsplitRqRtsystinsertRR((R_R5R9tattr_directivet
attrs_patht	attr_nametmodule_nametparent_pathtcustom_pathtpartstmodule((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt_parse_attr8s0!
	%c@s�fd�}|S(u�Returns parser function to represents value as a list.

        Parses a value applying given methods one after another.

        :param parse_methods:
        :rtype: callable
        c@s'|}x�D]}||�}q
W|S(N((R5tparsedtmethod(t
parse_methods(sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyR	ns
((R_R�R	((R�sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt_get_parser_compoundes	cC@sLi}|pd�}x0|j�D]"\}\}}||�||<q"W|S(u�Parses section options into a dictionary.

        Optionally applies a given parser to values.

        :param dict section_options:
        :param callable values_parser:
        :rtype: dict
        cS@s|S(N((Rg((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt<lambda>�t(R>(R_REt
values_parserR5R*t_Rg((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt_parse_section_to_dictxs

cC@sIxB|j�D]4\}\}}y|||<Wq
tk
r@q
Xq
WdS(uQParses configuration file section.

        :param dict section_options:
        N(R>RN(RCREtnameR�R5((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt
parse_section�s

cC@s�x�|jj�D]y\}}d}|r5d|}nt|d|jdd�d�}|dkrtd|j|f��n||�qWdS(uTParses configuration file items from one
        or more related sections.

        uu_%suparse_section%su.u__u0Unsupported distribution option section: [%s.%s]N(RBR>R(R@RRRR1(RCRDREtmethod_postfixtsection_parser_method((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyR	�s
	c@s%t�����fd��}|S(u� this function will wrap around parameters that are deprecated

        :param msg: deprecation message
        :param warning_class: class of warning exception to be raised
        :param func: function to be wrapped around
        c@stj����||�S(N(twarningstwarn(targstkwargs(tfunctmsgt
warning_class(sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pytconfig_handler�s(R(RCR�R�R�R�((R�R�R�sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt_deprecated_config_handler�s!N(RIt
__module__t__doc__RRR1RLRORFtpropertyRJRZtclassmethodRbRhRjRmRvtstaticmethodRoRpR�R�R�R�R	R�(((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyR=~s,	&
,		R7cB@s]eZdZidd6dd6dd6dd6ZeZedd	�Zed
��Z	d�Z
RS(
umetadatauurlu	home_pageudescriptionusummaryuclassifiersu
classifieru	platformsuplatformcC@s)tt|�j|||�||_dS(N(tsuperR7RFR9(RCR)R;RR9((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyRF�scC@s�|j}|j}|j}|j}i|d6|d6|d6|j|dt�d6|d6|j||�d6|d�d6|d	6|d
6|d6|jd6|d
6S(u.Metadata item name to parser function mapping.u	platformsukeywordsuprovidesu[The requires parameter is deprecated, please use install_requires for runtime dependencies.urequiresu	obsoletesuclassifiersulicenseu
license_filesudescriptionulong_descriptionuversionuproject_urls(RbRvRhRmR�tDeprecationWarningR�t_parse_version(RCt
parse_listt
parse_filet
parse_dicttexclude_files_parser((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyRJ�s(				


cC@s�|j|�}||kra|j�}tt|�t�r]d}t|jt����n|S|j||j	�}t
|�r�|�}nt|t�s�t|d�r�dj
tt|��}q�d|}n|S(uSParses `version` option value.

        :param value:
        :rtype: str

        uCVersion loaded from {value} does not comply with PEP 440: {version}u__iter__u.u%s(RvRAR[R	RRR%R&R�R9tcallableRthasattrRrtmaptstr(RCR5tversionttmpl((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyR��s
N(RIR�R1RLROtstrict_modeRRRFR�RJR�(((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyR7�s
R6cB@seeZdZed��Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	�ZRS(
uoptionscC@s�|j}t|jdd�}|j}|j}i|d6|d6|d6|d6|d6|d6|d	6|d
6|d6|d6|d
6|d6|d6|d6|jd6|jd6|d6td6S(u.Metadata item name to parser function mapping.R`u;uzip_safeuuse_2to3uinclude_package_dataupackage_diruuse_2to3_fixersuuse_2to3_exclude_fixersuconvert_2to3_doctestsuscriptsueager_resourcesudependency_linksunamespace_packagesuinstall_requiresusetup_requiresu
tests_requireupackagesuentry_pointsu
py_modulesupython_requires(RbRRjRht_parse_packagesRvR
(RCR�tparse_list_semicolont
parse_boolR�((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyRJs.			

cC@s�ddg}|j�}||kr1|j|�S||dk}|r]tr]td��n|j|jjdi��}|r�ddlm}nddlm	}||�S(	uTParses `packages` option value.

        :param value:
        :rtype: list
        ufind:ufind_namespace:iu8find_namespace: directive is unsupported on Python < 3.3u
packages.findi(tfind_namespace_packages(t
find_packages(
RARbRRtparse_section_packages__findRBRMt
setuptoolsR�R�(RCR5tfind_directivest
trimmed_valuetfindnstfind_kwargsR�((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyR�2s

cC@s�|j||j�}dddg}tg|j�D]*\}}||kr4|r4||f^q4�}|jd�}|dk	r�|d|d<n|S(u�Parses `packages.find` configuration file section.

        To be used in conjunction with _parse_packages().

        :param dict section_options:
        uwhereuincludeuexcludeiN(R�RbR/R>RMRR(RCREtsection_datat
valid_keystktvR�twhere((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyR�Ns@cC@s#|j||j�}||d<dS(u`Parses `entry_points` configuration file section.

        :param dict section_options:
        uentry_pointsN(R�Rb(RCRER�((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pytparse_section_entry_pointscscC@sB|j||j�}|jd�}|r>||d<|d=n|S(Nu*u(R�RbRM(RCRER�troot((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt_parse_package_dataks

cC@s|j|�|d<dS(u`Parses `package_data` configuration file section.

        :param dict section_options:
        upackage_dataN(R�(RCRE((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pytparse_section_package_datauscC@s|j|�|d<dS(uhParses `exclude_package_data` configuration file section.

        :param dict section_options:
        uexclude_package_dataN(R�(RCRE((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt"parse_section_exclude_package_data|scC@s/t|jdd�}|j||�|d<dS(ubParses `extras_require` configuration file section.

        :param dict section_options:
        R`u;uextras_requireN(RRbR�(RCRER�((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pytparse_section_extras_require�scC@sH|j||j�}g|j�D]\}}||f^q"|d<dS(u^Parses `data_files` configuration file section.

        :param dict section_options:
        u
data_filesN(R�RbR>(RCRER�R�R�((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pytparse_section_data_files�s(
RIR�R1R�RJR�R�R�R�R�R�R�R�(((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyR6s				
				(#t
__future__RRRxRR~R�R'tcollectionsRRRt	importlibRtdistutils.errorsRRt#setuptools.extern.packaging.versionRR	t&setuptools.extern.packaging.specifiersR
tsetuptools.extern.sixRRttypet
__metaclass__ROR$R.RRR=R7R6(((sB/opt/alt/python27/lib/python2.7/site-packages/setuptools/config.pyt<module>s,.		�>V

Youez - 2016 - github.com/yon3zu
LinuXploit