Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 ÝPfqGã @s(ddlmZddlZddlZddlZddlZddlZddlZddlZddlm Z y ddl Z Wne k rtdZ YnXddl m Z ddlmZddlmZmZddlmZmZmZddlmZdd lmZmZdd lmZdd lmZdd l m!Z!dd l"m#Z#m$Z$ej%e&ƒZ'Gdd„deƒZ(dd„Z)dS)é)Úabsolute_importN)Úpath)ÚRequirementSet)ÚRequirementCommand)Úvirtualenv_no_globalÚdistutils_scheme)ÚInstallationErrorÚ CommandErrorÚPreviousBuildDirError)Ú cmdoptions)Ú ensure_dirÚget_installed_version)ÚBuildDirectory)ÚRemovedInPip10Warning)Úcheck_path_owner)Ú WheelCacheÚ WheelBuildercs4eZdZdZdZdZdZ‡fdd„Zdd„Z‡Z S) ÚInstallCommandaI Install packages from: - PyPI (and other indexes) using requirement specifiers. - VCS project urls. - Local project directories. - Local or remote source archives. pip also supports installing from "requirements files", which provide an easy way to specify a whole environment to be installed. Úinstalla% %prog [options] [package-index-options] ... %prog [options] -r [package-index-options] ... %prog [options] [-e] ... %prog [options] [-e] ... %prog [options] ...zInstall packages.c s0tt|ƒj||Ž|j}|jtjƒƒ|jtjƒƒ|jtjƒƒ|jtj ƒƒ|jddddddd�|jddd d d ddd d�|jtj ƒƒ|jd ddddd�|jdddddgdd�|jddddd�|jdddddd�|jtj ƒƒ|jtj ƒƒ|jtj ƒƒ|jtjƒƒ|jd d!dd"d�|jd#d$dd%d�|jd&d'ddd(d�|jd)d*d+dd,d�|jd-d.ddd/d�|jd0dd1d2d3d4�|jd5d6d1d7d8�|jtjƒƒ|jtjƒƒ|jtjƒƒ|jtjƒƒ|jtjƒƒ|jtjƒƒ|jtjƒƒtjtj|jƒ}|jjd9|ƒ|jjd9|ƒdS):Nz-tz--targetÚ target_dirÚdirz¥Install packages into . By default this will not replace existing files/folders in . Use --upgrade to replace existing packages in with new versions.)ÚdestÚmetavarÚdefaultÚhelpz-dz --downloadz--download-dirz--download-directoryÚ download_dirz`Download packages into instead of installing them, regardless of what's already installed.z-Uz --upgradeÚupgradeÚ store_truez‚Upgrade all specified packages to the newest available version. The handling of dependencies depends on the upgrade-strategy used.)rÚactionrz--upgrade-strategyÚupgrade_strategyZeagerzonly-if-neededa3Determines how dependency upgrading should be handled. "eager" - dependencies are upgraded regardless of whether the currently installed version satisfies the requirements of the upgraded package(s). "only-if-needed" - are upgraded only when they do not satisfy the requirements of the upgraded package(s).)rrÚchoicesrz--force-reinstallÚforce_reinstallzKWhen upgrading, reinstall all packages even if they are already up-to-date.z-Iz--ignore-installedÚignore_installedz5Ignore the installed packages (reinstalling instead).z--userÚ use_user_sitez¸Install to the Python user install directory for your platform. Typically ~/.local/, or %APPDATA%\Python on Windows. (See the Python documentation for site.USER_BASE for full details.)z--eggÚas_eggzâInstall packages as eggs, not 'flat', like pip normally does. This option is not about installing *from* eggs. (WARNING: Because this option overrides pip's normal install logic, requirements files may not behave as expected.)z--rootÚ root_pathz=Install everything relative to this alternate root directory.z--strip-file-prefixÚstrip_file_prefixÚprefixz5Strip given prefix from script paths in wheel RECORD.z--prefixÚ prefix_pathzIInstallation prefix where lib, bin and other top-level folders are placedz --compileÚcompileTzCompile py files to pyc)rrrrz --no-compileZ store_falsezDo not compile py files to pyc)rrrr)ÚsuperrÚ__init__Úcmd_optsZ add_optionr Z constraintsZeditableZ requirementsÚ build_dirÚsrcÚignore_requires_pythonZno_depsÚinstall_optionsÚglobal_optionsZ use_wheelZ no_use_wheelZ no_binaryZ only_binaryZpreÚno_cleanÚrequire_hashesZmake_option_groupZ index_groupÚparserZinsert_option_group)ÚselfÚargsÚkwr,Z index_opts)Ú __class__©ú/usr/lib/python3.6/install.pyr+8s¾zInstallCommand.__init__c&Cstj|ƒtj|ƒdd„}tjƒdkrJ|ƒ rJtjdtjt j dƒƒ|j r\t j dtƒ|jrnt j dtƒ|jr€t j dtƒ|jr’t j dtƒ|jrªt j d tƒd |_|jrÀtjj|jƒ|_tjj|jƒ|_|jpØg}|j�r|jrðtd ƒ‚tƒrþtd ƒ‚|jd ƒ|jdƒd}|j�rtd |_tj ƒ}tjj|jƒ|_tjj!|jƒ�rftjj"|jƒ �rftdƒ‚|jd|ƒ|j#�p~g}|j$|ƒ��T}|j%||ƒ}|j&�p¦|j } t'|j(|j)ƒ} |j(�rât*|j(ƒ �râtjd|j(ƒd|_(t+|j| d���ä} t,| |j|j|j-|j.|j |j|j/|j0|j1|j|||j2|j3| |j4d�} |j5| |||||j6| ƒ| j7�s\dS�z`�y:|j�s~t8 �s~|j( �rŠ| j9|ƒnt:| |ggd�} | j;d d�|j�sr| j<|||j=|j|j>d�t?|j||j=|j|j3d�}t@| jAtBjCdƒd�}g}xX|D]P}|j6}y"tD|j6|ƒ}|�r*|d|7}WntEk �rBYnX|j|ƒ�qWdjF|ƒ}|�rštjGd|ƒn(djFdd„| jHDƒƒ}|�rštjGd|ƒWntIk �rºd |_&‚YnXWd|j&�sÐ| jJƒXWdQRXWdQRX|j�rtK|jƒg}tLd |d!�d"}tLd |d!�d#}tjj!|ƒ�r4|j|ƒtjj!|ƒ�rV||k�rV|j|ƒx²|D]ª}x¢tjM|ƒD]”}tjjF|j|ƒ}tjj!|ƒ�rè|j-�s¦tjd$|ƒ�qltjjN|ƒ�rÄtjd%|ƒ�qltjj"|ƒ�rÞtOjP|ƒn tjQ|ƒtOjRtjjF||ƒ|ƒ�qlW�q\WtOjP|ƒ| S)&NcSs ttdƒpttdƒotjtjkS)NZ real_prefixÚ base_prefix)ÚhasattrÚsysr;r'r9r9r9r:Úis_venvÎs z#InstallCommand.run..is_venvrzpWARNING: Running pip install with root privileges is generally not a good idea. Try `%s install --user` instead.zÉ--egg has been deprecated and will be removed in the future. This flag is mutually exclusive with large parts of pip, and actually using it invalidates pip's ability to manage the installation process.z�--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.z‰pip install --download has been deprecated and will be removed in the future. Pip now has a download command that should be used instead.TzVCan not combine '--user' and '--prefix' as they imply different installation locationszZCan not perform a '--user' install. User site-packages are not visible in this virtualenv.z--userz --prefix=z=Target path exists but is not a directory, will not continue.z--home=zÝThe directory '%s' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.)Údelete)r-Úsrc_dirrrrr$r"Úignore_dependenciesr/r!r#rÚsessionZ pycompileÚisolatedÚ wheel_cacher3)Z build_optionsr1)Z autobuilding)Úrootr'r&)ÚuserÚhomerEr'rCÚname)Úkeyú-ú zSuccessfully installed %scSsg|] }|j‘qSr9)rH)Ú.0Úreqr9r9r:ú ‹sz&InstallCommand.run..zSuccessfully downloaded %sÚ)rGÚpurelibÚplatlibzKTarget directory %s already exists. Specify --upgrade to force replacement.z„Target directory %s already exists and is a link. Pip will not automatically replace links, please remove if replacement is desired.)Sr Zresolve_wheel_no_use_binaryZcheck_install_build_globalÚosÚgetuidÚloggerZwarningrÚbasenamer=Úargvr$ÚwarningsÚwarnrZallow_externalZallow_all_externalZallow_unverifiedrr"r-Úabspathr@r0r#r(r rrÚappendrÚtempfileZmkdtempÚexistsÚisdirr1Z_build_sessionZ_build_package_finderr2rÚ cache_dirZformat_controlrrrrrrAr/r!r)Z isolated_moder3Zpopulate_requirement_setrHZhas_requirementsÚwheelZ prepare_filesrZbuildrr%r&Úget_lib_location_guessesÚsortedZsuccessfully_installedÚoperatorÚ attrgetterr Ú ExceptionÚjoinÚinfoZsuccessfully_downloadedr Z cleanup_filesr rÚlistdirÚislinkÚshutilZrmtreeÚremoveZmove)r5Zoptionsr6r>r0Ztemp_target_dirr1rBÚfinderZ build_deleterDr-Zrequirement_setÚwbZpossible_lib_locationsZreqsÚitemsrMÚitemZinstalled_versionZ installedZ downloadedZ lib_dir_listZ purelib_dirZ platlib_dirZlib_dirZtarget_item_dirr9r9r:ÚrunÊsP                            zInstallCommand.run) Ú__name__Ú __module__Ú __qualname__Ú__doc__rHZusageZsummaryr+roÚ __classcell__r9r9)r8r:r!s  rcOstd|ž|Ž}|d|dgS)NrOrPrQ)rO)r)r6ÚkwargsÚschemer9r9r:r`Êsr`)*Z __future__rZloggingrbrRr[rirWr=rr_Ú ImportErrorZpip.reqrZpip.basecommandrZ pip.locationsrrZpip.exceptionsrr r Zpipr Z pip.utilsr r Zpip.utils.buildrZpip.utils.deprecationrZpip.utils.filesystemrZ pip.wheelrrZ getLoggerrprTrr`r9r9r9r:Ús8           ,