Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 ÝPf–.ã@sxdZddlmZddlZddlZddlZddlZddlZddlZddl m Z ddl m Z ddlZddlmZddlmZddlmZdd lmZdd lmZd gZejd ejƒZejd ƒZejejejej ej!ej"ej#ej$ej%ej&ej'ej(ej)ej*ej+ej,ej-ej.ej/ej0ej1gZ2ej3ej4ej5gZ6dd„e6DƒZ7d dd „Z8dd„Z9d!dd„Z:dd„Z;dd„Zdd„Z?dS)"z Requirements file parsing é)Úabsolute_importN)Úparse)Ú filterfalse)Úget_file_content)ÚInstallRequirement)ÚRequirementsFileParseError)ÚRemovedInPip10Warning)Ú cmdoptionsÚparse_requirementsz^(http|https|file):z (^|\s)+#.*$cCsg|] }|ƒj‘qS©)Údest)Ú.0Úor r ú/usr/lib/python3.6/req_file.pyú =srFc csp|dkrtdƒ‚t|||d�\}}t||ƒ} x>| D]6\} } t| || ||||||d� } x| D] } | VqZWq2WdS)a÷Parse a requirements file and yield InstallRequirement instances. :param filename: Path or url of requirements file. :param finder: Instance of pip.index.PackageFinder. :param comes_from: Origin description of requirements. :param options: cli options. :param session: Instance of pip.download.PipSession. :param constraint: If true, parsing a constraint file rather than requirements file. :param wheel_cache: Instance of pip.wheel.WheelCache NzCparse_requirements() missing 1 required keyword argument: 'session')Ú comes_fromÚsession)Ú constraint)Ú TypeErrorrÚ preprocessÚ process_line)ÚfilenameÚfinderrÚoptionsrrÚ wheel_cacheÚ_ÚcontentÚ lines_enumÚ line_numberÚlineZreq_iterÚreqr r rr @s    cCs.t|jƒdd�}t|ƒ}t|ƒ}t||ƒ}|S)z˜Split, filter, and join lines, and return a line iterator :param content: the content of the requirements file :param options: cli options é)Ústart)Ú enumerateÚ splitlinesÚ join_linesÚignore_commentsÚ skip_regex)rrrr r rras  rc  cs tƒ} | jƒ} d| _|r |j| _t|ƒ\} } tjdkr@| jdƒ} | jt j | ƒ| ƒ\} }d|r`dnd||f}| rÞ|rz|j nd }|rŽt j || ƒi}x.tD]&}|| jkr˜| j|r˜| j|||<q˜Wtj| |||||d �V�n(| j�r&|rð|j nd }|�r|jnd}tj| jd |||||d �V�nà| j�s6| j�rÈ| j�rN| jd }d }n| jd }d }tj|ƒ�rvtj||ƒ}n"tj|ƒ�s˜tjjtjj|ƒ|ƒ}t|||||||d�} x| D] }|V�q´W�n>| j �rÜ| j |_ �n*|�r| j!�röt"j#dt$ƒ| j%�r t"j#dt$ƒ| j&�rt"j#dt$ƒ| j�r0| jg|_'| j(d k�rPd |_(t)j*j+|jƒ| j,d k�rbg|_'| j-�rx|j'j.| j-ƒ| j/�rÊ| j/d }tjjtjj0|ƒƒ}tjj||ƒ}tjj1|ƒ�r¾|}|j/j2|ƒ| j3�rØd |_4| j5�ræd |_5| j6�r|j7j.dd„| j6DƒƒdS)a#Process a single requirements line; This can result in creating/yielding requirements, or updating the finder. For lines that contain requirements, the only options that have an effect are from SUPPORTED_OPTIONS_REQ, and they are scoped to the requirement. Other options from SUPPORTED_OPTIONS may be present, but are ignored. For lines that do not contain requirements, the only options that have an effect are from SUPPORTED_OPTIONS. Options from SUPPORTED_OPTIONS_REQ may be present, but are ignored. These lines may contain multiple options (although our docs imply only one is supported), and all our parsed and affect the finder. :param constraint: If True, parsing a constraints file. :param options: OptionParser options that we may update NéééÚutf8z%s %s (line %s)z-cz-rF)rÚisolatedrrr)rrÚ default_vcsr,rT)rrz�--allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.z“--allow-all-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.z‘--allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.css|]}d|dfVqdS)Ú*Nr )r Úhostr r rú úszprocess_line..)r(r)r*)8Ú build_parserZget_default_valuesÚ index_urlZformat_controlÚbreak_args_optionsÚsysÚ version_infoÚencodeÚ parse_argsÚshlexÚsplitZ isolated_moder Zcheck_install_build_globalÚSUPPORTED_OPTIONS_REQ_DESTÚ__dict__rZ from_lineZ editablesr-Z from_editableÚ requirementsÚ constraintsÚ SCHEME_REÚsearchÚ urllib_parseZurljoinÚosÚpathÚjoinÚdirnamer Úrequire_hashesÚallow_externalÚwarningsÚwarnrÚallow_all_externalZallow_unverifiedZ index_urlsÚ use_wheelÚpipÚindexZfmt_ctl_no_use_wheelÚno_indexZextra_index_urlsÚextendÚ find_linksÚabspathÚexistsÚappendÚpreZallow_all_prereleasesÚprocess_dependency_linksZ trusted_hostsZsecure_origins)rrrrrrrrrÚparserZdefaultsZargs_strZ options_strZoptsrZline_comes_fromr,Z req_optionsr r-Zreq_pathZnested_constraintr ÚvalueZreq_dirZrelative_to_reqs_filer r rrns¤                   rcCsh|jdƒ}g}|dd…}x8|D]0}|jdƒs8|jdƒr.parser_exit)ÚoptparseZ OptionParserÚSUPPORTED_OPTIONSÚSUPPORTED_OPTIONS_REQZ add_optionÚexit)rUZoption_factoriesZoption_factoryZoptionr`r r rr1s  r1ccs¢d}g}x€|D]x\}}|jdƒ s,tj|ƒrntj|ƒr>d|}|rb|j|ƒ|dj|ƒfVg}q†||fVq|sv|}|j|jdƒƒqW|rž|dj|ƒfVdS)z’Joins a line ending in '' with the previous line (except when following comments). The joined line takes on the index of the first line. Nú\rWÚ)ÚendswithÚ COMMENT_REÚmatchrRrCÚstrip)rZprimary_line_numberZnew_linerrr r rr%"s    r%ccs8x2|D]*\}}tjd|ƒ}|jƒ}|r||fVqWdS)z1 Strips comments and filter empty lines. rfN)rhÚsubrj)rrrr r rr&?s  r&cs2|r |jnd}|r.tj|ƒ‰t‡fdd„|ƒ}|S)zs Skip lines that match '--skip-requirements-regex' pattern Note: the regex pattern is only built once Ncsˆj|dƒS)Nr!)r?)Úe)Úpatternr rÚTszskip_regex..)Zskip_requirements_regexÚreÚcompiler)rrr'r )rmrr'Js  r')NNNNFN)NNNNNF)@Ú__doc__Z __future__rrAror8r4rarGZpip._vendor.six.moves.urllibrr@Zpip._vendor.six.movesrrKZ pip.downloadrZpip.req.req_installrZpip.exceptionsrZpip.utils.deprecationrr Ú__all__rpÚIr>rhr=Zeditabler<rMr2rOZextra_index_urlrFrIZno_allow_externalZ allow_unsafeZno_allow_unsaferJZ no_use_wheelZ always_unzipZ no_binaryZ only_binaryrSrTZ trusted_hostrErbZinstall_optionsZglobal_optionsÚhashrcr:r rrr3r1r%r&r'r r r rÚsn